]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/animate/anitest.cpp
mark slider as being transparent, otherwise it has ugly solid grey background when...
[wxWidgets.git] / contrib / samples / animate / anitest.cpp
index acf5eae9ee84a168f4411752b53e80a68db096ea..b3f7d2d2e6baf76d56d4f8d9b96a63854f6391dc 100644 (file)
@@ -93,7 +93,9 @@ bool MyApp::OnInit()
     // Associate the menu bar with the frame
     frame->SetMenuBar(menu_bar);
 
     // Associate the menu bar with the frame
     frame->SetMenuBar(menu_bar);
 
+#if wxUSE_STATUSBAR
     frame->CreateStatusBar();
     frame->CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 
     frame->Show(TRUE);
 
 
     frame->Show(TRUE);
 
@@ -139,7 +141,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
 
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 {
 
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 {
-    (void)wxMessageBox(_T("wxWindows 2 Animation Demo\n")
+    (void)wxMessageBox(_T("wxWidgets 2 Animation Demo\n")
                        _T("Author: Julian Smart (c) 2001\n"),
                        _T("About Animation Demo"));
 }
                        _T("Author: Julian Smart (c) 2001\n"),
                        _T("About Animation Demo"));
 }