X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..9dd0f6c28d7cb03eadde6fbfa3c11f6e1d8a8555:/src/unix/dir.cpp diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index deab1bee7f..0aeffa42b8 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dir.h" #endif @@ -136,7 +136,7 @@ bool wxDirData::Read(wxString *filename) return FALSE; #if wxUSE_UNICODE - de_d_name = wxConvLibc.cMB2WC( de->d_name ); + de_d_name = wxConvFileName->cMB2WC( de->d_name ); #else de_d_name = de->d_name; #endif