X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee0a94cfc2f71e8b770eedda5197a1f4bd62b5cb..3e7ea45c59410715c4e4f70e89690b71cb1dfa79:/src/palmos/button.cpp diff --git a/src/palmos/button.cpp b/src/palmos/button.cpp index fc794449ad..93fd0d6690 100644 --- a/src/palmos/button.cpp +++ b/src/palmos/button.cpp @@ -196,12 +196,16 @@ wxSize wxButtonBase::GetDefaultSize() return wxSize(36,12); } -void wxButton::SetDefault() +wxWindow *wxButton::SetDefault() { FormType* form = (FormType* )GetParentForm(); if(form==NULL) - return; + return NULL; +#ifdef __WXPALMOS6__ FrmSetDefaultButtonID(form,GetId()); +#endif // __WXPALMOS6__ + + return wxButtonBase::SetDefault(); } void wxButton::SetTmpDefault()