s_verComCtl doesn't change (during program lifetime)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cc1487e539
commit
60decce547
@ -383,7 +383,7 @@ WXDWORD wxToolBar::MSWGetStyle(long style, WXDWORD *exstyle) const
|
||||
if ( style & (wxTB_FLAT | wxTB_HORZ_LAYOUT) )
|
||||
{
|
||||
// static as it doesn't change during the program lifetime
|
||||
static int s_verComCtl = wxApp::GetComCtl32Version();
|
||||
static const int s_verComCtl = wxApp::GetComCtl32Version();
|
||||
|
||||
// comctl32.dll 4.00 doesn't support the flat toolbars and using this
|
||||
// style with 6.00 (part of Windows XP) leads to the toolbar with
|
||||
|
Loading…
Reference in New Issue
Block a user