X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bced985eb03eb774a1e5337ed8b1fa7d662d11a3..d5cc191c9cd48a915ce0dfc6e49511b2fddb6746:/samples/statbar/statbar.cpp diff --git a/samples/statbar/statbar.cpp b/samples/statbar/statbar.cpp index 8afb461b09..7ea8202d8e 100644 --- a/samples/statbar/statbar.cpp +++ b/samples/statbar/statbar.cpp @@ -50,7 +50,7 @@ #include "wx/numdlg.h" #include "wx/fontdlg.h" -#ifndef __WXMSW__ +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -412,7 +412,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) wxT("Toggle status bar format")); wxMenu *helpMenu = new wxMenu; - helpMenu->Append(StatusBar_About, wxT("&About...\tCtrl-A"), + helpMenu->Append(StatusBar_About, wxT("&About\tCtrl-A"), wxT("Show about dialog")); // now append the freshly created menu to the menu bar... @@ -947,11 +947,6 @@ void MyStatusBar::OnSize(wxSizeEvent& event) return; #endif - // TEMPORARY HACK: TODO find a more general solution -#ifdef wxStatusBarGeneric - wxStatusBar::OnSize(event); -#endif - wxRect rect; if (!GetFieldRect(Field_Checkbox, rect)) {