fixed compilation for wxUSE_UNICODE=1, wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1408,6 +1408,8 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
|
|||||||
#ifdef HAVE_WGETCWD
|
#ifdef HAVE_WGETCWD
|
||||||
#if wxUSE_UNICODE_MSLU
|
#if wxUSE_UNICODE_MSLU
|
||||||
if ( wxGetOsVersion() != wxWIN95 )
|
if ( wxGetOsVersion() != wxWIN95 )
|
||||||
|
#else
|
||||||
|
char *cbuf = NULL; // never really used because needsANSI will always be FALSE
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
ok = _wgetcwd(buf, sz) != NULL;
|
ok = _wgetcwd(buf, sz) != NULL;
|
||||||
|
Reference in New Issue
Block a user