]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
...fixing up a previous Unicode fix.
[wxWidgets.git] / src / motif / control.cpp
index 91758e606a0ad9635dcab455f4b0deb031b7bb94..090eae88f8b962d1f45257d5417030e08100a685 100644 (file)
@@ -42,7 +42,7 @@ wxControl::~wxControl()
     if (parent)
     {
         if (parent->GetDefaultItem() == (wxButton*) this)
-            parent->SetDefaultItem(NULL);
+            parent->SetDefaultItem((wxButton*) NULL);
     }
 }