]> git.saurik.com Git - wxWidgets.git/commitdiff
Added test to prove a supposed misfeature.
authorRobert Roebling <robert@roebling.de>
Tue, 10 Nov 1998 19:43:04 +0000 (19:43 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 10 Nov 1998 19:43:04 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/image/image.cpp

index fac7bf1a8768a79e88b977d1ef91afc8d5f171ea..fbf35ab0e265b84443c37b72e9e16f8e31e8a7c7 100644 (file)
@@ -145,6 +145,10 @@ MyFrame::MyFrame(void) :
   
   SetMenuBar( menu_bar );
   
+  CreateStatusBar(2);
+  int widths[] = { -1, 100 };
+  SetStatusWidths( 2, widths );
+  
   m_canvas = new MyCanvas( this, -1, wxPoint(2,62), wxSize(300-4,120-4) );
   m_canvas->SetScrollbars( 10, 10, 50, 50 );
 }