]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/msgdlg.h
tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with...
[wxWidgets.git] / include / wx / cocoa / msgdlg.h
index 7b69bf6e5037e5785fac1e8d03388d5d1ddb643d..1a22cb9c2320232c58b0cb0fa91c07f5440f556e 100644 (file)
@@ -25,10 +25,11 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSAlert);
     #endif
 #endif
 
     #endif
 #endif
 
-#if defined(__WX_COMPILING_COCOA_MSGDLG_MM__) || wxUSE_COCOA_NATIVE_MSGDLG
+#include "wx/generic/msgdlgg.h"
+
+#if wxUSE_COCOA_NATIVE_MSGDLG
     #define wxMessageDialog wxCocoaMessageDialog
 #else
     #define wxMessageDialog wxCocoaMessageDialog
 #else
-    #include "wx/generic/msgdlgg.h"
     #define wxMessageDialog wxGenericMessageDialog
 #endif
 
     #define wxMessageDialog wxGenericMessageDialog
 #endif