// just a copy of argv
static char **g_argv = NULL;
+class HelpGenApp: public wxApp
+{
+public:
+ HelpGenApp() {};
+
+ bool OnInit();
+};
+
+IMPLEMENT_APP(HelpGenApp);
+
// -----------------------------------------------------------------------------
// private functions
// -----------------------------------------------------------------------------
exit(1);
}
+/*
int main(int argc, char **argv)
+{
+*/
+
+bool HelpGenApp::OnInit()
{
enum
{
wxLogError("Can't complete diff.");
// failure
- return 1;
+ return false;
}
DocManager docman(paramNames);
docman.DumpDifferences(ctxTop);
}
- return 0;
+ return false;
}
// -----------------------------------------------------------------------------
/*
$Log$
+ Revision 1.8 1999/09/13 14:29:39 JS
+ Made HelpGen into a wxWin app (still uses command-line args); moved includes
+ into src for simplicity; added VC++ 5 project file
+
Revision 1.7 1999/02/21 22:32:32 VZ
1. more C++ parser fixes - now it almost parses wx/string.h
a) #if/#ifdef/#else (very) limited support