Don't override the Label property in the base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,11 +72,6 @@ __init__ as a plain old wx.Control is not very useful.", "");
|
|||||||
"Get the control alignment (left/right/centre, top/bottom/centre)", "");
|
"Get the control alignment (left/right/centre, top/bottom/centre)", "");
|
||||||
|
|
||||||
|
|
||||||
// DocDeclStr(
|
|
||||||
// static wxString , GetLabelText(const wxString& label),
|
|
||||||
// "Get the string without mnemonic characters ('&')", "");
|
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
wxString , GetLabelText() const,
|
wxString , GetLabelText() const,
|
||||||
"Get just the text of the label, without mnemonic characters ('&')", "");
|
"Get just the text of the label, without mnemonic characters ('&')", "");
|
||||||
@@ -90,14 +85,6 @@ __init__ as a plain old wx.Control is not very useful.", "");
|
|||||||
:see: `wx.CommandEvent`
|
:see: `wx.CommandEvent`
|
||||||
", "");
|
", "");
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
wxString , GetLabel(),
|
|
||||||
"Return a control's text.", "");
|
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
void , SetLabel(const wxString& label),
|
|
||||||
"Sets the item's text.", "");
|
|
||||||
|
|
||||||
|
|
||||||
// DocDeclStr(
|
// DocDeclStr(
|
||||||
// bool , GetAdjustMinSizeFlag(),
|
// bool , GetAdjustMinSizeFlag(),
|
||||||
@@ -117,7 +104,6 @@ __init__ as a plain old wx.Control is not very useful.", "");
|
|||||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||||
|
|
||||||
%property(Alignment, GetAlignment, doc="See `GetAlignment`");
|
%property(Alignment, GetAlignment, doc="See `GetAlignment`");
|
||||||
%property(Label, GetLabel, doc="See `GetLabel`");
|
|
||||||
%property(LabelText, GetLabelText, doc="See `GetLabelText`");
|
%property(LabelText, GetLabelText, doc="See `GetLabelText`");
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user