From: Dimitri Schoolwerth Date: Tue, 18 Nov 2003 17:52:25 +0000 (+0000) Subject: Don't leave behind trails from glowing OS X button (By extending invisible button... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ea02ed5dfa37a4208486a3f6824658313f4ee08 Don't leave behind trails from glowing OS X button (By extending invisible button border). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/button.cpp b/src/mac/button.cpp index 253671b6fe..82e4e34c5f 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -25,8 +25,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) #include "wx/mac/uma.h" // Button -static const int kMacOSXHorizontalBorder = 1 ; -static const int kMacOSXVerticalBorder = 1 ; +static const int kMacOSXHorizontalBorder = 2 ; +static const int kMacOSXVerticalBorder = 4 ; bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, diff --git a/src/mac/carbon/button.cpp b/src/mac/carbon/button.cpp index 253671b6fe..82e4e34c5f 100644 --- a/src/mac/carbon/button.cpp +++ b/src/mac/carbon/button.cpp @@ -25,8 +25,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) #include "wx/mac/uma.h" // Button -static const int kMacOSXHorizontalBorder = 1 ; -static const int kMacOSXVerticalBorder = 1 ; +static const int kMacOSXHorizontalBorder = 2 ; +static const int kMacOSXVerticalBorder = 4 ; bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos,