]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/button.cpp
decouple item index from string value (patch 1905702)
[wxWidgets.git] / src / palmos / button.cpp
index 94dae6c81ca9cecae3a5ff2005b070830973dd0b..93fd0d6690e478d9b57c724a195e1b7682e8b16b 100644 (file)
@@ -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();
 }