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:
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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"
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user