X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/434c6c9fa0cb8c327014238b5a56a2f08157a80e..e015e7f3acef09b57bcd34e8f6780a19afdfd97b:/src/common/tbarbase.cpp diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index b7dfb3c5ba..a867599140 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -2,7 +2,7 @@ // Name: common/tbarbase.cpp // Purpose: wxToolBarBase implementation // Author: Julian Smart -// Modified by: VZ at 11.12.99 (wxScrollableToolBar splitted off) +// Modified by: VZ at 11.12.99 (wxScrollableToolBar split off) // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart @@ -451,7 +451,7 @@ wxToolBarBase::~wxToolBarBase() // notify the frame that it doesn't have a tool bar any longer to avoid // dangling pointers - wxFrameBase *frame = wxDynamicCast(GetParent(), wxFrameBase); + wxFrame *frame = wxDynamicCast(GetParent(), wxFrame); if ( frame && frame->GetToolBar() == this ) { frame->SetToolBar(NULL);