git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4515
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/log.h"
#include "wx/intl.h"
#include "wx/dynarray.h"
+ #include "wx/settings.h"
#endif
#if wxUSE_BUTTONBAR && wxUSE_TOOLBAR && defined(__WIN95__)
delete [] buttons;
+ // TBBUTTONINFO struct declaration is missing from mingw32 headers
+#ifndef __GNUWIN32__
// adjust the controls size to fit nicely in the toolbar
size_t nControls = controlIds.GetCount();
for ( size_t nCtrl = 0; nCtrl < nControls; nCtrl++ )
control->Move(r.left, r.top + diff / 2);
}
+#endif // __GNUWIN32__
(void)::SendMessage(GetHwnd(), TB_AUTOSIZE, (WPARAM)0, (LPARAM) 0);