mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-27 16:38:44 +08:00
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
1 parent
28f15a1f70
commit
45e6e6f8ab
88 files changed
+264
No files matched your search
@@ -125,6 +125,9 @@ IMPLEMENT_APP(MyApp)
|
||||
// 'Main program' equivalent: the program execution "starts" here
|
||||
bool MyApp::OnInit()
|
||||
{
|
||||
if ( !wxApp::OnInit() )
|
||||
return false;
|
||||
|
||||
// create the main application window
|
||||
MyFrame *frame = new MyFrame(_T("wxWebKit Sample"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user