Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
that the newly implement wxButton::DoGetBestSize() is not used. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
635f01472e
commit
908686c52e
@ -54,6 +54,9 @@ protected:
|
|||||||
// Implementation
|
// Implementation
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
public:
|
public:
|
||||||
|
// The wxButton::DoGetBestSize is not correct for bitmap buttons
|
||||||
|
wxSize DoGetBestSize() const
|
||||||
|
{ return wxButtonBase::DoGetBestSize(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __WX_COCOA_BMPBUTTN_H__
|
#endif // __WX_COCOA_BMPBUTTN_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user