]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/radiobox.h
implemented, tested and documented wxTextCtrl::SetMaxLength()
[wxWidgets.git] / include / wx / radiobox.h
index 4f50a83b658110ef873c4f0ded9c01d7d5af4fae..33924706a48bd2b1a081d5c94923c04adfcdf3da 100644 (file)
@@ -87,7 +87,7 @@ 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_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); }