]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Validator.py
A bit of cleanup
[wxWidgets.git] / wxPython / demo / Validator.py
index 688712c01567ba1d0187bd7e19bbf8ba8dcb99dd..31dd044967e0243b81aaf10bd6d126db150fe8d1 100644 (file)
@@ -193,7 +193,7 @@ class TestValidateDialog(wx.Dialog):
         b.SetDefault()
         buttons.AddButton(b)
         buttons.AddButton(wx.Button(self, wx.ID_CANCEL, "Cancel"))
-        buttons.Finalise()
+        buttons.Realize()
 
         border = wx.BoxSizer(wx.VERTICAL)
         border.Add(fgs, 1, wx.GROW|wx.ALL, 25)