]> git.saurik.com Git - wxWidgets.git/commitdiff
Back to previous call with -1 replacement.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 10 Oct 2006 07:19:26 +0000 (07:19 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 10 Oct 2006 07:19:26 +0000 (07:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/animate/anitest.cpp

index b15193b813ce8b4521c72c69b8c545350505c6cc..551a36aa4d875e03c80ef7e90902d8992db4d736 100644 (file)
@@ -75,7 +75,9 @@ bool MyApp::OnInit()
 {
     // Create the main frame window
 
-    MyFrame* frame = new MyFrame((wxFrame *)NULL, wxID_ANY, _T("Animation Demo"));
+    MyFrame* frame = new MyFrame((wxFrame *)NULL, wxID_ANY, _T("Animation Demo"),
+                        wxDefaultPosition, wxSize(500, 400),
+                        wxDEFAULT_FRAME_STYLE);
 
     // Give it an icon
     frame->SetIcon(wxICON(sample));