X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c0ea335c7b1aa4ebd8b3a79dfb4be9fb20eefdb..0e0d88570a0605c9254d4f188dfb9d9ee9268e5a:/src/msw/tbar95.cpp diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index aa23d55899..5982c8b8b7 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -33,6 +33,7 @@ #include "wx/intl.h" #include "wx/dynarray.h" #include "wx/settings.h" + #include "wx/bitmap.h" #endif #if wxUSE_BUTTONBAR && wxUSE_TOOLBAR && defined(__WIN95__) @@ -398,8 +399,8 @@ bool wxToolBar95::CreateTools() delete [] buttons; - // TBBUTTONINFO struct declaration is missing from mingw32 headers -#if !defined(__GNUWIN32__) && !defined(__WATCOMC__) + // TBBUTTONINFO struct declaration is new (comctl32.dll 4.70+) +#if !defined(__GNUWIN32__) && !defined(__WATCOMC__) && !defined(__BORLANDC__) // adjust the controls size to fit nicely in the toolbar size_t nControls = controlIds.GetCount(); for ( size_t nCtrl = 0; nCtrl < nControls; nCtrl++ )