]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/statbar.cpp
Warning fix.
[wxWidgets.git] / src / common / statbar.cpp
index 0544a98b67530e815a1049dfb1ccbed8dfdfb6b4..5d37684b7dec17d7b19c939ec6fb2583241e538b 100644 (file)
@@ -65,7 +65,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);