]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wizard/wizard.cpp
added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar...
[wxWidgets.git] / samples / wizard / wizard.cpp
index 8bec65db10361a07a129549c75a298b55fe3fdd8..fdda061014536a4061077eefc9844c2102219186 100644 (file)
@@ -331,7 +331,9 @@ MyFrame::MyFrame(const wxString& title)
     SetMenuBar(menuBar);
 
     // also create status bar which we use in OnWizardCancel
+#if wxUSE_STATUSBAR
     CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 }
 
 void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))