X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1437298456a5b4904075f20733282e7771816aa..328bfc22243e3d4672ddf626db4f78e4269c7275:/src/generic/tbarsmpl.cpp?ds=sidebyside diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index 99248be4c5..42557f2885 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -85,6 +85,12 @@ public: IMPLEMENT_DYNAMIC_CLASS(wxToolBarSimple, wxToolBarBase) +#if !wxUSE_TOOLBAR_NATIVE || defined(__WXUNIVERSAL__) + #include "wx/toolbar.h" + + IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarSimple) +#endif + BEGIN_EVENT_TABLE(wxToolBarSimple, wxToolBarBase) EVT_SIZE(wxToolBarSimple::OnSize) EVT_SCROLL(wxToolBarSimple::OnScroll)