projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename Doxyfile.* to Doxyfile_* to avoid inappropriate extensions
[wxWidgets.git]
/
samples
/
splitter
/
splitter.cpp
diff --git
a/samples/splitter/splitter.cpp
b/samples/splitter/splitter.cpp
index 50a48cdbd0e4a3ac5dcd68df3089dc068eded4f2..af93ae1ac825ff13a31ff4d6bb570f9e1e71d8ee 100644
(file)
--- a/
samples/splitter/splitter.cpp
+++ b/
samples/splitter/splitter.cpp
@@
-148,6
+148,9
@@
IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
// create and show the main frame
MyFrame* frame = new MyFrame;