Implement wxButtonBase::GetDefaultSize()

Implement wxButton::DoGetBestSize() to return at least 68 pixel width unless
wxBU_EXACTFIT flag is given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-10-05 01:49:05 +00:00
parent d1adc25737
commit 635f01472e
2 changed files with 29 additions and 4 deletions

View File

@@ -58,6 +58,7 @@ protected:
public:
wxString GetLabel() const;
void SetLabel(const wxString& label);
wxSize DoGetBestSize() const;
};
#endif // __WX_COCOA_BUTTON_H__