fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user