X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..407f0db0504c39e022c063d64c03e2ff2117d5b3:/src/mac/button.cpp diff --git a/src/mac/button.cpp b/src/mac/button.cpp index 52bd329993..cc3685a17d 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -28,10 +28,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) static const int kMacOSXHorizontalBorder = 2 ; static const int kMacOSXVerticalBorder = 4 ; -wxButtonBase::wxButtonBase() -{ -} - bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, const wxSize& size, long style, @@ -91,7 +87,7 @@ wxSize wxButton::DoGetBestSize() const { wxSize sz = GetDefaultSize() ; - int wBtn = m_label.Length() * 8 + 12 + 2 * kMacOSXHorizontalBorder ; + int wBtn = m_label.Length() * 10 + 12 + 2 * kMacOSXHorizontalBorder ; if (wBtn > sz.x) sz.x = wBtn;