compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
|
|
||||||
#include "wx/univ/colschem.h"
|
#include "wx/univ/colschem.h"
|
||||||
|
#include "wx/univ/theme.h"
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
@@ -86,7 +87,7 @@ wxColour wxSystemSettings::GetColour(wxSystemColour index)
|
|||||||
wxColourScheme::CONTROL /* wxSYS_COLOUR_LISTBOX */,
|
wxColourScheme::CONTROL /* wxSYS_COLOUR_LISTBOX */,
|
||||||
};
|
};
|
||||||
|
|
||||||
wxCHECK_MSG( index < WXSIZEOF(s_mapSysToThemeCol), wxNullColour,
|
wxCHECK_MSG( index < (int)WXSIZEOF(s_mapSysToThemeCol), wxNullColour,
|
||||||
_T("invalid wxSystemColour") );
|
_T("invalid wxSystemColour") );
|
||||||
|
|
||||||
wxColourScheme::StdColour col = s_mapSysToThemeCol[index];
|
wxColourScheme::StdColour col = s_mapSysToThemeCol[index];
|
||||||
|
Reference in New Issue
Block a user