X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40a0d6ca1f997c12ebc396b3f8716f6f0c5de55b..e48f0e09bfec3e53db61a80d6829166e2d73ce47:/wxPython/src/_cmndlgs.i diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index f7ea72c2cb..c0050c56cc 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -98,6 +98,11 @@ instance.", ""); }; +wxColour wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL, + const wxColour& colInit = wxNullColour, + const wxString& caption = wxPyEmptyString); + + //-------------------------------------------------------------------------------- @@ -284,23 +289,22 @@ which will be used when the dialog is first displayed. After the dialog is shown, this is the index selected by the user.", ""); - DocStr(GetFilenames, - "Returns a list of filenames chosen in the dialog. This function + %extend { + DocStr(GetFilenames, + "Returns a list of filenames chosen in the dialog. This function should only be used with the dialogs which have wx.MULTIPLE style, use GetFilename for the others.", ""); - - DocStr(GetPaths, - "Fills the array paths with the full paths of the files chosen. This -function should only be used with the dialogs which have wx.MULTIPLE -style, use GetPath for the others.", ""); - - %extend { PyObject* GetFilenames() { wxArrayString arr; self->GetFilenames(arr); return wxArrayString2PyList_helper(arr); } + DocStr(GetPaths, + "Fills the array paths with the full paths of the files chosen. This +function should only be used with the dialogs which have wx.MULTIPLE +style, use GetPath for the others.", ""); + PyObject* GetPaths() { wxArrayString arr; self->GetPaths(arr); @@ -590,6 +594,11 @@ wx.FontDialog.", ""); }; +wxFont wxGetFontFromUser(wxWindow *parent = NULL, + const wxFont& fontInit = wxNullFont, + const wxString& caption = wxPyEmptyString); + + //---------------------------------------------------------------------------