X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2fc40b4786f7ae8c255ce1184441bd94d9554a0..e3d358bbe4940c85304e9193010b27ba04c9fb86:/src/palmos/button.cpp diff --git a/src/palmos/button.cpp b/src/palmos/button.cpp index 94dae6c81c..93fd0d6690 100644 --- a/src/palmos/button.cpp +++ b/src/palmos/button.cpp @@ -201,7 +201,9 @@ wxWindow *wxButton::SetDefault() FormType* form = (FormType* )GetParentForm(); if(form==NULL) return NULL; +#ifdef __WXPALMOS6__ FrmSetDefaultButtonID(form,GetId()); +#endif // __WXPALMOS6__ return wxButtonBase::SetDefault(); }