]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/toolbar_osx.cpp
Fix PCH-less build after changes r64139.
[wxWidgets.git] / src / osx / toolbar_osx.cpp
index 310eb916b52eb66959712c1a4e0ecdb9b7f04773..bc613ada68bd5b40324613f953551c8a2d42386e 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
 
-// no common implementation
+bool wxToolBar::Destroy()
+{
+#if wxOSX_USE_NATIVE_TOOLBAR
+    MacUninstallNativeToolbar();
+#endif
+    return wxToolBarBase::Destroy();
+}
 
 #endif // wxUSE_TOOLBAR