changing condition to make sure we are not failing in case the min system is given as 10.3.9 ... solves #9693
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -549,7 +549,7 @@ wxRendererMac::DrawPushButton(wxWindow *win,
|
||||
int flags)
|
||||
{
|
||||
int kind;
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_3
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
||||
if (win->GetWindowVariant() == wxWINDOW_VARIANT_SMALL || (win->GetParent() && win->GetParent()->GetWindowVariant() == wxWINDOW_VARIANT_SMALL))
|
||||
kind = kThemeBevelButtonSmall;
|
||||
// There is no kThemeBevelButtonMini, but in this case, use Small
|
||||
|
Reference in New Issue
Block a user