]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.cpp
Fixes for wxUSE_STATUSBAR.
[wxWidgets.git] / samples / image / image.cpp
index dd69ad6a455da93f8522b50825fc7d827d84f052..9c3108725fbaa1e8b91c37263eb7cbd1b5f8ef95 100644 (file)
@@ -880,9 +880,11 @@ MyFrame::MyFrame()
 
   SetMenuBar( menu_bar );
 
+#if wxUSE_STATUSBAR
   CreateStatusBar(2);
   int widths[] = { -1, 100 };
   SetStatusWidths( 2, widths );
+#endif // wxUSE_STATUSBAR
 
   m_canvas = new MyCanvas( this, wxID_ANY, wxPoint(0,0), wxSize(10,10) );