]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/button.cpp
Fix up NSSlider code to not use class posing and instantiate the proper type (now...
[wxWidgets.git] / src / palmos / button.cpp
index fc794449adf4724cef6b81d823b475bad9a007eb..7b9be2891062be481dc057be59a703ca7089ca78 100644 (file)
@@ -196,12 +196,14 @@ wxSize wxButtonBase::GetDefaultSize()
     return wxSize(36,12);
 }
 
-void wxButton::SetDefault()
+wxWindow *wxButton::SetDefault()
 {
     FormType* form = (FormType* )GetParentForm();
     if(form==NULL)
         return;
     FrmSetDefaultButtonID(form,GetId());
+
+    return wxButtonBase::SetDefault();
 }
 
 void wxButton::SetTmpDefault()