fixing typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-12-19 15:31:57 +00:00
parent 4e07c80645
commit e6c2d88bd0

View File

@@ -248,7 +248,7 @@ CGColorRef wxMacCreateCGColorFromHITheme( ThemeBrush brush )
{ {
const int maxcachedbrush = 58+5; // negative indices are for metabrushes, cache down to -5) const int maxcachedbrush = 58+5; // negative indices are for metabrushes, cache down to -5)
int brushindex = brush+5; int brushindex = brush+5;
if ( brushindex < 0 || brush > brushindex ) if ( brushindex < 0 || brushindex > maxcachedbrush )
{ {
CGColorRef color ; CGColorRef color ;
HIThemeBrushCreateCGColor( brush, &color ); HIThemeBrushCreateCGColor( brush, &color );