X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97152f7856a81388163e883e340fa260f2719698..02bcd285fac7124a41292d905609220005f51087:/src/common/statbar.cpp?ds=sidebyside diff --git a/src/common/statbar.cpp b/src/common/statbar.cpp index 0544a98b67..e3a2a15066 100644 --- a/src/common/statbar.cpp +++ b/src/common/statbar.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "statbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -36,7 +32,7 @@ #if wxUSE_STATUSBAR #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxListString); +WX_DEFINE_LIST(wxListString) // ============================================================================ // wxStatusBarBase implementation @@ -65,7 +61,7 @@ wxStatusBarBase::~wxStatusBarBase() // notify the frame that it doesn't have a status bar any longer to avoid // dangling pointers - wxFrameBase *frame = wxDynamicCast(GetParent(), wxFrameBase); + wxFrame *frame = wxDynamicCast(GetParent(), wxFrame); if ( frame && frame->GetStatusBar() == this ) { frame->SetStatusBar(NULL);