]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/button.cpp
fixed wxGTK assert when closing wxMessageDialog
[wxWidgets.git] / src / palmos / button.cpp
index 7b9be2891062be481dc057be59a703ca7089ca78..94dae6c81ca9cecae3a5ff2005b070830973dd0b 100644 (file)
@@ -200,7 +200,7 @@ wxWindow *wxButton::SetDefault()
 {
     FormType* form = (FormType* )GetParentForm();
     if(form==NULL)
-        return;
+        return NULL;
     FrmSetDefaultButtonID(form,GetId());
 
     return wxButtonBase::SetDefault();