]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/display/display.cpp
only check for lib directory for architectures which have multiple ABIs (Solaris...
[wxWidgets.git] / samples / display / display.cpp
index 22a94cf0b689c96fcbb060ae82f22ce76e90cd7c..2a0b0bc08274a8d1d5a7e4dc27433c33b7a3bd12 100644 (file)
@@ -220,8 +220,10 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size,
     SetMenuBar(menuBar);
 #endif // wxUSE_MENUS
 
+#if wxUSE_STATUSBAR
     // create status bar
     CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 
     // create child controls
 
@@ -336,7 +338,9 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
 
 void MyFrame::OnFromPoint(wxCommandEvent& WXUNUSED(event))
 {
+#if wxUSE_STATUSBAR
     SetStatusText(_T("Press the mouse anywhere..."));
+#endif // wxUSE_STATUSBAR
 
     CaptureMouse();
 }