From dec0ad4bb97c4809247de3d0750db26da85094cb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 4 Jul 2008 14:23:38 +0000 Subject: [PATCH] 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 --- src/mac/carbon/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/renderer.cpp b/src/mac/carbon/renderer.cpp index 9125a21e99..39caec282e 100644 --- a/src/mac/carbon/renderer.cpp +++ b/src/mac/carbon/renderer.cpp @@ -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