Skip base command line parsing, which fails when passing a book file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,9 +53,6 @@ IMPLEMENT_APP(MyApp)
|
|||||||
|
|
||||||
bool MyApp::OnInit()
|
bool MyApp::OnInit()
|
||||||
{
|
{
|
||||||
if ( !wxApp::OnInit() )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
#ifdef __WXMOTIF__
|
#ifdef __WXMOTIF__
|
||||||
delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used
|
delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user