wxCocoa: Implement wxControl::GetLabel/SetLabel by stowing the label in the

wxNonControlNSControl instance used when the wxControl is a non-native
subclass (e.g. a generic control).
Not needed in trunk since there is now m_labelOrig.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-20 22:11:16 +00:00
parent d4364d403b
commit a8634fc361
2 changed files with 40 additions and 0 deletions

View File

@@ -61,6 +61,9 @@ public:
// Enables the control
virtual void CocoaSetEnabled(bool enable);
wxString GetLabel() const;
void SetLabel(const wxString& label);
protected:
virtual wxSize DoGetBestSize() const;
};