git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3234
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void SetDefault();
virtual void Command(wxCommandEvent& event);
+ static wxSize GetDefaultSize();
+
// Implementation
virtual void ChangeFont(bool keepOriginalSize = TRUE);
virtual void ChangeBackgroundColour();
XtVaSetValues ((Widget) parent->GetMainWidget(), XmNdefaultButton, (Widget) GetMainWidget(), NULL);
}
+/* static */
+wxSize wxButton::GetDefaultSize()
+{
+ // TODO: check font size as in wxMSW ? MB
+ //
+ return wxSize(80,26);
+}
+
void wxButton::Command (wxCommandEvent & event)
{
ProcessCommand (event);