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