From 9e5b30eb3e7545940135671fd21311d7c5596c66 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Aug 2002 22:50:04 +0000 Subject: [PATCH] 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 --- src/common/appcmn.cpp | 4 +++- src/common/wxchar.cpp | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 19ddb1965c..fec6879ea6 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -112,6 +112,7 @@ wxAppBase::~wxAppBase() } #if wxUSE_GUI + bool wxAppBase::OnInitGui() { #ifdef __WXUNIVERSAL__ @@ -124,7 +125,6 @@ bool wxAppBase::OnInitGui() return TRUE; } -#endif // wxUSE_GUI int wxAppBase::OnRun() { @@ -139,6 +139,8 @@ int wxAppBase::OnRun() return MainLoop(); } +#endif // wxUSE_GUI + int wxAppBase::OnExit() { #if wxUSE_CONFIG diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index e625460013..2f030b8ed9 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -40,8 +40,6 @@ #include "wx/hash.h" #endif -#include "wx/msgdlg.h" - #if defined(__WIN32__) && defined(wxNEED_WX_CTYPE_H) #include #include -- 2.45.2