GetLabel should return the original label that with mnemonics, the original label stored in wxControlBase m_labelOrig, get it by wxControlBase::GetLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
32b4a42cd1
commit
b413eeedea
@ -66,7 +66,7 @@ public:
|
||||
virtual void SetLabel(const wxString& label) wxOVERRIDE;
|
||||
|
||||
// return the current label
|
||||
virtual wxString GetLabel() const wxOVERRIDE { return m_label; }
|
||||
virtual wxString GetLabel() const wxOVERRIDE { return wxControlBase::GetLabel(); }
|
||||
|
||||
// wxUniversal-specific methods
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user