diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 9b03daccee..a187599235 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -38,7 +38,7 @@ #include "wx/image.h" #include "wx/settings.h" -#include "wx/tbarbase.h" +#include "wx/toolbar.h" // ---------------------------------------------------------------------------- // wxWindows macros diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index f6dbd31a55..985c33e727 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -37,7 +37,7 @@ #include "wx/dcmemory.h" #endif -#include "wx/tbarsmpl.h" +#include "wx/toolbar.h" // ---------------------------------------------------------------------------- // private classes @@ -87,8 +87,6 @@ public: IMPLEMENT_DYNAMIC_CLASS(wxToolBarSimple, wxToolBarBase) #if !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__) - #include "wx/toolbar.h" - IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarSimple) #endif