]> git.saurik.com Git - wxWidgets.git/commitdiff
now compiles with wxBase
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 11 Mar 2000 10:05:23 +0000 (10:05 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 11 Mar 2000 10:05:23 +0000 (10:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/HelpGen/src/HelpGen.cpp

index 0933ed82972fa9a07e6397b7ba203ae93b63b57d..97ee2dcf7a0558c0dbe35f9ea0acfee92b128174 100644 (file)
@@ -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)