X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..bffe56c5d19df9926686722fc09ad096afb47633:/wxPython/src/msw/cmndlgs.py diff --git a/wxPython/src/msw/cmndlgs.py b/wxPython/src/msw/cmndlgs.py index b5ef576255..f1c5c95ea7 100644 --- a/wxPython/src/msw/cmndlgs.py +++ b/wxPython/src/msw/cmndlgs.py @@ -5,6 +5,8 @@ from misc import * from gdi import * +from fonts import * + from windows import * from clip_dnd import * @@ -193,6 +195,27 @@ class wxFileDialog(wxFileDialogPtr): +class wxMultiChoiceDialogPtr(wxDialogPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def SetSelections(self, *_args, **_kwargs): + val = apply(cmndlgsc.wxMultiChoiceDialog_SetSelections,(self,) + _args, _kwargs) + return val + def GetSelections(self, *_args, **_kwargs): + val = apply(cmndlgsc.wxMultiChoiceDialog_GetSelections,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxMultiChoiceDialog(wxMultiChoiceDialogPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(cmndlgsc.new_wxMultiChoiceDialog,_args,_kwargs) + self.thisown = 1 + self._setOORInfo(self) + + + + class wxSingleChoiceDialogPtr(wxDialogPtr): def __init__(self,this): self.this = this @@ -462,7 +485,7 @@ class wxFindReplaceDialog(wxFindReplaceDialogPtr): def wxPreFindReplaceDialog(*_args,**_kwargs): val = wxFindReplaceDialogPtr(apply(cmndlgsc.new_wxPreFindReplaceDialog,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -474,6 +497,7 @@ def wxPreFindReplaceDialog(*_args,**_kwargs): #-------------- VARIABLE WRAPPERS ------------------ +wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE wxFR_DOWN = cmndlgsc.wxFR_DOWN wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE