From 41b66be9c9e9e2f67b99b9f890d92dafb7d39382 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 4 Nov 2001 23:33:09 +0000 Subject: [PATCH] controls sample is now able to use default command line arguments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/controls/controls.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 066ed1b2cc..8ba440d3f9 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -314,6 +314,10 @@ enum bool MyApp::OnInit() { + // use standard command line handling: + if ( !wxApp::OnInit() ) + return FALSE; + // parse the cmd line int x = 50, y = 50; -- 2.45.2