]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbarmsw.cpp
another segfault fix
[wxWidgets.git] / src / msw / tbarmsw.cpp
index 5de16db0f8c58cf4db37ac1ea9fa05508aa8cab3..e51c302c1c0e86e44f4ec6dcb24114749c48435a 100644 (file)
@@ -119,7 +119,7 @@ public:
 // ----------------------------------------------------------------------------
 
 #if !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
 
 BEGIN_EVENT_TABLE(wxToolBar, wxToolBarBase)
        EVT_PAINT(wxToolBar::OnPaint)