From: Václav Slavík Date: Sat, 11 Mar 2000 10:05:23 +0000 (+0000) Subject: now compiles with wxBase X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/de52822400ca5f2eeb059f7238ab69f3745a70ae now compiles with wxBase git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 0933ed8297..97ee2dcf7a 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -79,7 +79,11 @@ class HelpGenApp: public wxApp public: HelpGenApp() {}; +#if wxUSE_GUI bool OnInit(); +#else + int OnRun(); +#endif }; IMPLEMENT_APP(HelpGenApp); @@ -472,7 +476,11 @@ int main(int argc, char **argv) { */ +#if wxUSE_GUI bool HelpGenApp::OnInit() +#else +int HelpGenApp::OnRun() +#endif { enum { @@ -1930,6 +1938,9 @@ static const char *GetCurrentTime(const char *timeFormat) /* $Log$ + Revision 1.10 2000/03/11 10:05:23 VS + now compiles with wxBase + Revision 1.9 2000/01/16 13:25:21 VS compilation fixes (gcc)