X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5868095fefab5251c629bc53e4b2064d1d627bc..54f9ee450905e98296e6afd1376b3d1e06a1e00f:/wxPython/src/_cmndlgs.i diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index 37ad2414aa..8cf834ec39 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -106,6 +106,8 @@ class wxDirDialog : public wxDialog { public: %pythonAppend wxDirDialog "self._setOORInfo(self)" + RefDoc(wxDirDialog, ""); // turn it off for the ctors + DocCtorStr( wxDirDialog(wxWindow* parent, const wxString& message = wxPyDirSelectorPromptStr, @@ -185,6 +187,8 @@ class wxFileDialog : public wxDialog { public: %pythonAppend wxFileDialog "self._setOORInfo(self)" + RefDoc(wxFileDialog, ""); // turn it off for the ctors + DocCtorStr( wxFileDialog(wxWindow* parent, const wxString& message = wxPyFileSelectorPromptStr, @@ -503,12 +507,10 @@ DocStr(wxFontDialog, class wxFontDialog : public wxDialog { public: %pythonAppend wxFontDialog "self._setOORInfo(self)" - %nokwargs wxFontDialog; DocStr(wxFontDialog, - "Constructor. Pass a parent window, and optionally the font data object to be\n" + "Constructor. Pass a parent window and the FontData object to be\n" "used to initialize the dialog controls."); - wxFontDialog(wxWindow* parent); wxFontDialog(wxWindow* parent, const wxFontData& data); @@ -555,6 +557,8 @@ class wxMessageDialog : public wxDialog { public: %pythonAppend wxMessageDialog "self._setOORInfo(self)" + RefDoc(wxMessageDialog, ""); // turn it off for the ctors + wxMessageDialog(wxWindow* parent, const wxString& message, const wxString& caption = wxPyMessageBoxCaptionStr, @@ -602,6 +606,8 @@ class wxProgressDialog : public wxFrame { public: %pythonAppend wxProgressDialog "self._setOORInfo(self)" + RefDoc(wxProgressDialog, ""); // turn it off for the ctors + DocCtorStr( wxProgressDialog(const wxString& title, const wxString& message, @@ -612,7 +618,7 @@ public: "windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only."); DocDeclStr( - bool , Update(int value, const wxString& newmsg = wxPyEmptyString), + virtual bool , Update(int value, const wxString& newmsg = wxPyEmptyString), "Updates the dialog, setting the progress bar to the new value and, if given\n" "changes the message above it. Returns true unless the Cancel button has been\n" "pressed.\n\n" @@ -808,6 +814,8 @@ public: %pythonAppend wxFindReplaceDialog "self._setOORInfo(self)" %pythonAppend wxFindReplaceDialog() "" + RefDoc(wxFindReplaceDialog, ""); // turn it off for the ctors + DocCtorStr( wxFindReplaceDialog(wxWindow *parent, wxFindReplaceData *data,