#pragma hdrstop
#endif
-#if wxUSE_TOOLBAR_SIMPLE
+#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_SIMPLE
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/dcmemory.h"
#endif
-#include "wx/tbarsmpl.h"
+#include "wx/toolbar.h"
// ----------------------------------------------------------------------------
// private classes
IMPLEMENT_DYNAMIC_CLASS(wxToolBarSimple, wxToolBarBase)
#if !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__)
- #include "wx/toolbar.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarSimple)
#endif