]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/dir.cpp
document On{Open,Save}Document()
[wxWidgets.git] / src / unix / dir.cpp
index 6907ca9b4a546da23eb26b68b31ccf3671457cf7..7743d9b064d822e9e2a4c3878b709712b249cde1 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dir.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -136,7 +132,7 @@ bool wxDirData::Read(wxString *filename)
             return false;
 
 #if wxUSE_UNICODE
-        de_d_name = wxConvFileName->cMB2WC( de->d_name );
+        de_d_name = wxString(de->d_name, *wxConvFileName);
 #else
         de_d_name = de->d_name;
 #endif