]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
added missing WXDLLEXPORT
[wxWidgets.git] / src / common / filefn.cpp
index c990c980ed7f1ed907f1f85acef72e1ccb5c2d3c..997c0ca6ae4c13345751d1333789bbc6abc4827b 100644 (file)
@@ -1408,6 +1408,8 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
     #ifdef HAVE_WGETCWD
                #if     wxUSE_UNICODE_MSLU
                        if ( wxGetOsVersion() != wxWIN95 )
+        #else
+            char *cbuf = NULL; // never really used because needsANSI will always be FALSE
                #endif
                        {
                                ok = _wgetcwd(buf, sz) != NULL;