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
This commit is contained in:
Dimitri Schoolwerth 2003-11-18 17:52:25 +00:00
parent 68f572da6e
commit 5ea02ed5df
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,