]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dirdlg.cpp
added automatic growing of in-place wxTextCtrls for generic wxListCtrl and wxTreeCtrl
[wxWidgets.git] / src / msw / dirdlg.cpp
index 460491c1f3b01bef59c52aa71cdbd0ba4dfe8756..fed0b69a8b5b5efe155baf0b5112de24895385ba 100644 (file)
@@ -27,8 +27,7 @@
     #pragma hdrstop
 #endif
 
-#if defined(__WIN95__) && \
-    (!defined(__GNUWIN32__) || defined(wxUSE_NORLANDER_HEADERS))
+#if defined(__WIN95__) && !defined(__GNUWIN32_OLD__)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
@@ -118,7 +117,7 @@ int wxDirDialog::ShowModal()
 
     if ( !ok )
     {
-        wxLogLastError("SHGetPathFromIDList");
+        wxLogLastError(wxT("SHGetPathFromIDList"));
 
         return wxID_CANCEL;
     }
@@ -175,7 +174,7 @@ static void ItemListFree(LPITEMIDLIST pidl)
         }
         else
         {
-            wxLogLastError("SHGetMalloc");
+            wxLogLastError(wxT("SHGetMalloc"));
         }
     }
 }