X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f9da07463f1134a2f8f51ee581fabcf968fa5c5..d1dc2b32e00303839aec0077aefcbc60bd712f00:/wxPython/wx/lib/dialogs.py diff --git a/wxPython/wx/lib/dialogs.py b/wxPython/wx/lib/dialogs.py index fa5c461435..395d36dde8 100644 --- a/wxPython/wx/lib/dialogs.py +++ b/wxPython/wx/lib/dialogs.py @@ -77,7 +77,7 @@ class MultipleChoiceDialog(wx.Dialog): btnsizer = wx.StdDialogButtonSizer() btnsizer.AddButton(ok) btnsizer.AddButton(cancel) - btnsizer.Finalise() + btnsizer.Realize() dlgsizer.Add(btnsizer, 0, wx.ALL | wx.ALIGN_RIGHT, 4)