From: Robin Dunn Date: Fri, 26 Mar 2004 22:15:23 +0000 (+0000) Subject: Turn off the RefDoc for constructors of the classes that have a X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e029dde795b4ed6aba140b5b476d1788a19a2ef2?hp=3be10a9b0a6142e8e7bd798973c07321f4114ba0 Turn off the RefDoc for constructors of the classes that have a RefDoc. This prevents the doc from being duplicated in the metadata. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_button.i b/wxPython/src/_button.i index 3c24b73ae8..320f480990 100644 --- a/wxPython/src/_button.i +++ b/wxPython/src/_button.i @@ -104,7 +104,7 @@ the application needs more control, additional bitmaps for the selected state, unpressed focused state, and greyed-out state may be supplied. "); -RefDoc(wxButton, " +RefDoc(wxBitmapButton, " Styles wx.BU_AUTODRAW: If this is specified, the button will be drawn automatically using the label bitmap only, providing a @@ -129,6 +129,8 @@ public: %pythonAppend wxBitmapButton() "" DocStr(wxBitmapButton, "Create and show a button with a bitmap for the label.") + RefDoc(wxBitmapButton, ""); // turn it off for the ctors + wxBitmapButton(wxWindow* parent, wxWindowID id, const wxBitmap& bitmap, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, diff --git a/wxPython/src/_checkbox.i b/wxPython/src/_checkbox.i index 39fd4105e7..74b6bbc3e4 100644 --- a/wxPython/src/_checkbox.i +++ b/wxPython/src/_checkbox.i @@ -73,6 +73,8 @@ public: %pythonAppend wxCheckBox "self._setOORInfo(self)" %pythonAppend wxCheckBox() "" + RefDoc(wxCheckBox, ""); // turn it off for the ctors + DocCtorStr( wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, diff --git a/wxPython/src/_choice.i b/wxPython/src/_choice.i index 65069848f3..d746c04245 100644 --- a/wxPython/src/_choice.i +++ b/wxPython/src/_choice.i @@ -37,6 +37,8 @@ public: %pythonAppend wxChoice "self._setOORInfo(self)" %pythonAppend wxChoice() "" + RefDoc(wxChoice, ""); // turn it off for the ctors + DocCtorAStr( wxChoice(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index 13cd13edd6..967fb587d1 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, @@ -553,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, @@ -600,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, @@ -806,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, diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index d4b4bfa966..b5522f3ecb 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -58,6 +58,8 @@ public: %pythonAppend wxComboBox "self._setOORInfo(self)" %pythonAppend wxComboBox() "" + RefDoc(wxComboBox, ""); // turn it off for the ctors + DocCtorAStr( wxComboBox(wxWindow* parent, wxWindowID id, const wxString& value = wxPyEmptyString, diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index 6ce76d4cf1..b1e103f2aa 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -66,6 +66,8 @@ class wxCursor : public wxGDIObject { public: + RefDoc(wxCursor, ""); // turn it off for the ctors + %extend { DocStr(wxCursor, "Construct a Cursor from a file. Specify the type of file using\n" diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index ff47fadf50..2603d3398a 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -111,6 +111,8 @@ public: %pythonAppend wxSplitterWindow "self._setOORInfo(self)" %pythonAppend wxSplitterWindow() "" + RefDoc(wxSplitterWindow, ""); // turn it off for the ctors + DocCtorStr( wxSplitterWindow(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 792de7385a..cce8a97a99 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -167,6 +167,8 @@ public: %pythonAppend wxWindow "self._setOORInfo(self)" %pythonAppend wxWindow() "" + RefDoc(wxWindow, ""); // turn it off for the ctors + DocCtorStr( wxWindow(wxWindow* parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, diff --git a/wxPython/src/calendar.i b/wxPython/src/calendar.i index 3a91233610..f81b86d766 100644 --- a/wxPython/src/calendar.i +++ b/wxPython/src/calendar.i @@ -200,6 +200,8 @@ public: %pythonAppend wxCalendarCtrl() "" DocStr(wxCalendarCtrl, "Create and show a calendar control."); + RefDoc(wxCalendarCtrl, ""); // turn it off for the ctors + wxCalendarCtrl(wxWindow *parent, wxWindowID id, const wxDateTime& date = wxDefaultDateTime,