]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/strconv.h
avoiding crash for pure modifier events
[wxWidgets.git] / include / wx / strconv.h
index e9d68a51a3f30e96e943a50f460b9060513f67ce..148eeb01e00ae9c091a0899df9053d6fbabe0faa 100644 (file)
@@ -631,7 +631,7 @@ extern WXDLLIMPEXP_DATA_BASE(wxMBConv *) wxConvUI;
     #define wxFNCONV(name) wxConvFileName->cWX2MB(name)
     #define wxFNSTRINGCAST wxMBSTRINGCAST
 #else
-#if defined( __WXOSX__ ) && wxMBFILES
+#if defined( __WXOSX_OR_COCOA__ ) && wxMBFILES
     #define wxFNCONV(name) wxConvFileName->cWC2MB( wxConvLocal.cWX2WC(name) )
 #else
     #define wxFNCONV(name) name