Add style parameter to wxMultipleChoiceDialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-06-11 21:21:49 +00:00
parent d5081b7888
commit 16ec06b235

View File

@@ -33,8 +33,9 @@ class wxScrolledMessageDialog(wx.wxDialog):
class wxMultipleChoiceDialog(wx.wxDialog):
def __init__(self, parent, msg, title, lst, pos = wx.wxDefaultPosition, size = (200,200)):
wx.wxDialog.__init__(self, parent, -1, title, pos, size)
def __init__(self, parent, msg, title, lst, pos = wx.wxDefaultPosition,
size = (200,200), style = wx.wxDEFAULT_DIALOG_STYLE):
wx.wxDialog.__init__(self, parent, -1, title, pos, size, style)
x, y = pos
if x == -1 and y == -1:
self.CenterOnScreen(wx.wxBOTH)