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
This commit is contained in:
Robin Dunn
2004-03-26 22:15:23 +00:00
parent 3be10a9b0a
commit e029dde795
9 changed files with 27 additions and 1 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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"

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,