Fix compilation of generic message dialog.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2005-03-12 19:35:44 +00:00
parent 2e5cb6c2a3
commit a685a06c96
2 changed files with 5 additions and 2 deletions

View 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"

View 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"