Example #1
0
std::string FileDialogImpl::getFilename() const
{
    return wideToString(std::wstring(m_fileDialogStruct->lpstrFile));
}
Example #2
0
const char *wideToString(const wchar_t *s)
{
    wstring buf = s;
    return wideToString(buf);
}
Example #3
0
const char *wideToString(const wchar_t *s, string &to)
{
    wstring buf = s;
    return wideToString(buf, to);
}
Example #4
0
const char *wideToString(wstring &s)
{
    return wideToString(s, w2st_buf);
}