X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..bcb7cc7693846151a179c6f199105c19df2c77a2:/include/wx/radiobox.h diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index aa7950a3e1..33924706a4 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -87,11 +87,11 @@ public: int GetNextItem(int item, wxDirection dir, long style) const; // for compatibility only, don't use these methods in new code! -#ifdef WXWIN_COMPATIBILITY_2 +#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); } -#endif // WXWIN_COMPATIBILITY_2 +#endif // WXWIN_COMPATIBILITY_2_2 }; #if defined(__WXUNIVERSAL__)