fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-08-18 22:50:04 +00:00
parent c482b99ec9
commit 9e5b30eb3e
2 changed files with 3 additions and 3 deletions

View File

@@ -112,6 +112,7 @@ wxAppBase::~wxAppBase()
} }
#if wxUSE_GUI #if wxUSE_GUI
bool wxAppBase::OnInitGui() bool wxAppBase::OnInitGui()
{ {
#ifdef __WXUNIVERSAL__ #ifdef __WXUNIVERSAL__
@@ -124,7 +125,6 @@ bool wxAppBase::OnInitGui()
return TRUE; return TRUE;
} }
#endif // wxUSE_GUI
int wxAppBase::OnRun() int wxAppBase::OnRun()
{ {
@@ -139,6 +139,8 @@ int wxAppBase::OnRun()
return MainLoop(); return MainLoop();
} }
#endif // wxUSE_GUI
int wxAppBase::OnExit() int wxAppBase::OnExit()
{ {
#if wxUSE_CONFIG #if wxUSE_CONFIG

View File

@@ -40,8 +40,6 @@
#include "wx/hash.h" #include "wx/hash.h"
#endif #endif
#include "wx/msgdlg.h"
#if defined(__WIN32__) && defined(wxNEED_WX_CTYPE_H) #if defined(__WIN32__) && defined(wxNEED_WX_CTYPE_H)
#include <windef.h> #include <windef.h>
#include <winbase.h> #include <winbase.h>