projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrap all handlers in single extern "C" section instead of lots of them
[wxWidgets.git]
/
samples
/
internat
/
internat.cpp
diff --git
a/samples/internat/internat.cpp
b/samples/internat/internat.cpp
index 7f7b8b9cb248293d55145d6e065bd1dcf678bac8..7a91d37e087fe99e438a1476e4daf23cde14160b 100644
(file)
--- a/
samples/internat/internat.cpp
+++ b/
samples/internat/internat.cpp
@@
-166,6
+166,9
@@
IMPLEMENT_APP(MyApp)
// `Main program' equivalent, creating windows and returning main app frame
bool MyApp::OnInit()
{
// `Main program' equivalent, creating windows and returning main app frame
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
long lng = -1;
if ( argc == 2 )
long lng = -1;
if ( argc == 2 )