#ifndef WX_PRECOMP
#include "wx/control.h"
#include "wx/frame.h"
-#endif
-
-#if wxUSE_IMAGE
- #include "wx/image.h"
#include "wx/settings.h"
-#endif // wxUSE_IMAGE
+ #include "wx/image.h"
+#endif
// ----------------------------------------------------------------------------
// wxWidgets macros
m_defaultHeight = 15;
}
+void wxToolBarBase::FixupStyle()
+{
+ if ( !HasFlag(wxTB_TOP | wxTB_LEFT | wxTB_RIGHT | wxTB_BOTTOM) )
+ {
+ // this is the default
+ m_windowStyle |= wxTB_TOP;
+ }
+}
+
wxToolBarToolBase *wxToolBarBase::DoAddTool(int id,
const wxString& label,
const wxBitmap& bitmap,