]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/msgdlgg.h
Quick hack to rid the code of wxDIALOG_MODAL
[wxWidgets.git] / include / wx / generic / msgdlgg.h
index df43bc5293ec08d3367c9ab610f02bcb1fe29670..521f5586fa8340c0c6152afdd8159de105ee07d2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __MSGDLGH_G__
 #define __MSGDLGH_G__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "msgdlgg.h"
 #endif
 
@@ -43,7 +43,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-#if !defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__)
+#if (!defined( __WXMSW__ ) && !defined( __WXMAC__) && !defined(__WXPM__)) || defined(__WXUNIVERSAL__)
 #define wxMessageDialog wxGenericMessageDialog
 #endif