Old API clearly deprecated. Source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-06 12:41:27 +00:00
parent 39caed1f6d
commit b4efc9b931
8 changed files with 146 additions and 67 deletions

View File

@@ -97,9 +97,9 @@ public:
// for compatibility only, don't use these methods in new code!
#if WXWIN_COMPATIBILITY_2_2
int Number() const { return GetCount(); }
wxString GetLabel(int n) const { return GetString(n); }
void SetLabel(int n, const wxString& label) { SetString(n, label); }
wxDEPRECATED( int Number() const );
wxDEPRECATED( wxString GetLabel(int n) const );
wxDEPRECATED( void SetLabel(int n, const wxString& label) );
#endif // WXWIN_COMPATIBILITY_2_2
};