set the initial size of bitmap buttons correctly again after it was broken by r61081 (closes #10927)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,19 +38,9 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr)
|
||||
{
|
||||
if ( !wxBitmapButtonBase::Create(parent, id, "",
|
||||
pos, size,
|
||||
style | wxBU_NOTEXT,
|
||||
validator, name) )
|
||||
return false;
|
||||
|
||||
SetBitmapLabel(bitmap);
|
||||
|
||||
return true;
|
||||
}
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxBitmapButton)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user