#include <wx/log.h>
// define this to 1 to use wxToolBarSimple instead of the native one
-#define USE_GENERIC_TBAR 1
+#define USE_GENERIC_TBAR 0
#if USE_GENERIC_TBAR
#if !wxUSE_TOOLBAR_SIMPLE
- #error "wxToolBarSimple is not compiled in, set wxUSE_TOOLBAR_SIMPLE "\
- "to 1 in setup.h and recompile the library."
+ #error wxToolBarSimple is not compiled in, set wxUSE_TOOLBAR_SIMPLE \
+ to 1 in setup.h and recompile the library.
#else
#include <wx/tbarsmpl.h>
#endif
GetToolBar()->SetRows(m_horzToolbar ? m_rows : 10 / m_rows);
- //RecreateToolbar();
+ //RecreateToolbar(); -- this is unneeded
}
void MyFrame::OnToggleToolbarOrient(wxCommandEvent& WXUNUSED(event))