X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94aff5ff86189e39b7a95fc62e886374c060a2cf..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/palmos/button.cpp diff --git a/src/palmos/button.cpp b/src/palmos/button.cpp index 7b9be28910..93fd0d6690 100644 --- a/src/palmos/button.cpp +++ b/src/palmos/button.cpp @@ -200,8 +200,10 @@ wxWindow *wxButton::SetDefault() { FormType* form = (FormType* )GetParentForm(); if(form==NULL) - return; + return NULL; +#ifdef __WXPALMOS6__ FrmSetDefaultButtonID(form,GetId()); +#endif // __WXPALMOS6__ return wxButtonBase::SetDefault(); }