]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/encconv.cpp
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / common / encconv.cpp
index fdfa64eb6a0a8e018cf8b79523e4567469a87c39..e666b9f245ba2e33bcf05bafa4c229a7581e59a1 100644 (file)
@@ -444,7 +444,7 @@ wxFontEncodingArray wxEncodingConverter::GetPlatformEquivalents(wxFontEncoding e
 {
     if (platform == wxPLATFORM_CURRENT)
     {
-#if defined(__WXMSW__)
+#if defined(__WINDOWS__)
         platform = wxPLATFORM_WINDOWS;
 #elif defined(__WXGTK__) || defined(__WXMOTIF__)
         platform = wxPLATFORM_UNIX;