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.
|
unpressed focused state, and greyed-out state may be supplied.
|
||||||
");
|
");
|
||||||
|
|
||||||
RefDoc(wxButton, "
|
RefDoc(wxBitmapButton, "
|
||||||
Styles
|
Styles
|
||||||
wx.BU_AUTODRAW: If this is specified, the button will be drawn
|
wx.BU_AUTODRAW: If this is specified, the button will be drawn
|
||||||
automatically using the label bitmap only, providing a
|
automatically using the label bitmap only, providing a
|
||||||
@@ -129,6 +129,8 @@ public:
|
|||||||
%pythonAppend wxBitmapButton() ""
|
%pythonAppend wxBitmapButton() ""
|
||||||
|
|
||||||
DocStr(wxBitmapButton, "Create and show a button with a bitmap for the label.")
|
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,
|
wxBitmapButton(wxWindow* parent, wxWindowID id, const wxBitmap& bitmap,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
|
@@ -73,6 +73,8 @@ public:
|
|||||||
%pythonAppend wxCheckBox "self._setOORInfo(self)"
|
%pythonAppend wxCheckBox "self._setOORInfo(self)"
|
||||||
%pythonAppend wxCheckBox() ""
|
%pythonAppend wxCheckBox() ""
|
||||||
|
|
||||||
|
RefDoc(wxCheckBox, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
|
wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
@@ -37,6 +37,8 @@ public:
|
|||||||
%pythonAppend wxChoice "self._setOORInfo(self)"
|
%pythonAppend wxChoice "self._setOORInfo(self)"
|
||||||
%pythonAppend wxChoice() ""
|
%pythonAppend wxChoice() ""
|
||||||
|
|
||||||
|
RefDoc(wxChoice, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorAStr(
|
DocCtorAStr(
|
||||||
wxChoice(wxWindow *parent, wxWindowID id,
|
wxChoice(wxWindow *parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
@@ -106,6 +106,8 @@ class wxDirDialog : public wxDialog {
|
|||||||
public:
|
public:
|
||||||
%pythonAppend wxDirDialog "self._setOORInfo(self)"
|
%pythonAppend wxDirDialog "self._setOORInfo(self)"
|
||||||
|
|
||||||
|
RefDoc(wxDirDialog, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxDirDialog(wxWindow* parent,
|
wxDirDialog(wxWindow* parent,
|
||||||
const wxString& message = wxPyDirSelectorPromptStr,
|
const wxString& message = wxPyDirSelectorPromptStr,
|
||||||
@@ -185,6 +187,8 @@ class wxFileDialog : public wxDialog {
|
|||||||
public:
|
public:
|
||||||
%pythonAppend wxFileDialog "self._setOORInfo(self)"
|
%pythonAppend wxFileDialog "self._setOORInfo(self)"
|
||||||
|
|
||||||
|
RefDoc(wxFileDialog, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxFileDialog(wxWindow* parent,
|
wxFileDialog(wxWindow* parent,
|
||||||
const wxString& message = wxPyFileSelectorPromptStr,
|
const wxString& message = wxPyFileSelectorPromptStr,
|
||||||
@@ -553,6 +557,8 @@ class wxMessageDialog : public wxDialog {
|
|||||||
public:
|
public:
|
||||||
%pythonAppend wxMessageDialog "self._setOORInfo(self)"
|
%pythonAppend wxMessageDialog "self._setOORInfo(self)"
|
||||||
|
|
||||||
|
RefDoc(wxMessageDialog, ""); // turn it off for the ctors
|
||||||
|
|
||||||
wxMessageDialog(wxWindow* parent,
|
wxMessageDialog(wxWindow* parent,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
const wxString& caption = wxPyMessageBoxCaptionStr,
|
const wxString& caption = wxPyMessageBoxCaptionStr,
|
||||||
@@ -600,6 +606,8 @@ class wxProgressDialog : public wxFrame {
|
|||||||
public:
|
public:
|
||||||
%pythonAppend wxProgressDialog "self._setOORInfo(self)"
|
%pythonAppend wxProgressDialog "self._setOORInfo(self)"
|
||||||
|
|
||||||
|
RefDoc(wxProgressDialog, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxProgressDialog(const wxString& title,
|
wxProgressDialog(const wxString& title,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
@@ -806,6 +814,8 @@ public:
|
|||||||
%pythonAppend wxFindReplaceDialog "self._setOORInfo(self)"
|
%pythonAppend wxFindReplaceDialog "self._setOORInfo(self)"
|
||||||
%pythonAppend wxFindReplaceDialog() ""
|
%pythonAppend wxFindReplaceDialog() ""
|
||||||
|
|
||||||
|
RefDoc(wxFindReplaceDialog, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxFindReplaceDialog(wxWindow *parent,
|
wxFindReplaceDialog(wxWindow *parent,
|
||||||
wxFindReplaceData *data,
|
wxFindReplaceData *data,
|
||||||
|
@@ -58,6 +58,8 @@ public:
|
|||||||
%pythonAppend wxComboBox "self._setOORInfo(self)"
|
%pythonAppend wxComboBox "self._setOORInfo(self)"
|
||||||
%pythonAppend wxComboBox() ""
|
%pythonAppend wxComboBox() ""
|
||||||
|
|
||||||
|
RefDoc(wxComboBox, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorAStr(
|
DocCtorAStr(
|
||||||
wxComboBox(wxWindow* parent, wxWindowID id,
|
wxComboBox(wxWindow* parent, wxWindowID id,
|
||||||
const wxString& value = wxPyEmptyString,
|
const wxString& value = wxPyEmptyString,
|
||||||
|
@@ -66,6 +66,8 @@ class wxCursor : public wxGDIObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
RefDoc(wxCursor, ""); // turn it off for the ctors
|
||||||
|
|
||||||
%extend {
|
%extend {
|
||||||
DocStr(wxCursor,
|
DocStr(wxCursor,
|
||||||
"Construct a Cursor from a file. Specify the type of file using\n"
|
"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 "self._setOORInfo(self)"
|
||||||
%pythonAppend wxSplitterWindow() ""
|
%pythonAppend wxSplitterWindow() ""
|
||||||
|
|
||||||
|
RefDoc(wxSplitterWindow, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxSplitterWindow(wxWindow* parent, wxWindowID id,
|
wxSplitterWindow(wxWindow* parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
@@ -167,6 +167,8 @@ public:
|
|||||||
%pythonAppend wxWindow "self._setOORInfo(self)"
|
%pythonAppend wxWindow "self._setOORInfo(self)"
|
||||||
%pythonAppend wxWindow() ""
|
%pythonAppend wxWindow() ""
|
||||||
|
|
||||||
|
RefDoc(wxWindow, ""); // turn it off for the ctors
|
||||||
|
|
||||||
DocCtorStr(
|
DocCtorStr(
|
||||||
wxWindow(wxWindow* parent, const wxWindowID id,
|
wxWindow(wxWindow* parent, const wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
@@ -200,6 +200,8 @@ public:
|
|||||||
%pythonAppend wxCalendarCtrl() ""
|
%pythonAppend wxCalendarCtrl() ""
|
||||||
|
|
||||||
DocStr(wxCalendarCtrl, "Create and show a calendar control.");
|
DocStr(wxCalendarCtrl, "Create and show a calendar control.");
|
||||||
|
RefDoc(wxCalendarCtrl, ""); // turn it off for the ctors
|
||||||
|
|
||||||
wxCalendarCtrl(wxWindow *parent,
|
wxCalendarCtrl(wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxDateTime& date = wxDefaultDateTime,
|
const wxDateTime& date = wxDefaultDateTime,
|
||||||
|
Reference in New Issue
Block a user