]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation of generic message dialog.
authorDavid Elliott <dfe@tgwbd.org>
Sat, 12 Mar 2005 19:35:44 +0000 (19:35 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 12 Mar 2005 19:35:44 +0000 (19:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msgdlg.h
src/generic/msgdlgg.cpp

index 397642e1897b47b6c497605a503025c50f296b3c..b16aa2569d57bfe25df9848cc6fd59a6a2528bc0 100644 (file)
@@ -39,7 +39,9 @@ private:
     long m_dialogStyle;
 };
 
-#if defined(__WXUNIVERSAL__) || defined(__WXGPE__)
+#if defined(__WX_COMPILING_MSGDLGG_CPP__)
+#include "wx/generic/msgdlgg.h"
+#elif defined(__WXUNIVERSAL__) || defined(__WXGPE__)
 #include "wx/generic/msgdlgg.h"
 #elif defined(__WXPALMOS__)
 #include "wx/palmos/msgdlg.h"
index 1c498768e16abd7d92ce8aff04df5821561129ea..537154714b6ecc6b0ba43bc98d838981d78b9dd9 100644 (file)
@@ -38,7 +38,8 @@
 #include <stdio.h>
 #include <string.h>
 
-#include "wx/generic/msgdlgg.h"
+#define __WX_COMPILING_MSGDLGG_CPP__ 1
+#include "wx/msgdlg.h"
 #include "wx/artprov.h"
 #include "wx/settings.h"