SetLabel(label);
if (bitmap.Ok())
- SetImageLabel(bitmap); // SetBestSize called by SetImageLabel()
+ SetImageLabel(bitmap); // SetInitialSize called by SetImageLabel()
else
- SetBestSize(size);
+ SetInitialSize(size);
CreateInputHandler(wxINP_HANDLER_BUTTON);
m_marginBmpX = x + 2;
m_marginBmpY = y + 2;
- SetBestSize(wxDefaultSize);
+ SetInitialSize(wxDefaultSize);
}
void wxButton::SetDefault()