]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/radiocmn.cpp
do not inherit background colour in InheritAttributes() as it totally breaks themed...
[wxWidgets.git] / src / common / radiocmn.cpp
index 1c95257632c8c91cf47d15c5d107ef0ece89296a..c936cc3593c14152020e551c337d662ed311e898 100644 (file)
@@ -134,6 +134,8 @@ int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const
     return item;
 }
 
     return item;
 }
 
+#if WXWIN_COMPATIBILITY_2_4
+
 // these functions are deprecated and don't do anything
 int wxRadioBoxBase::GetNumberOfRowsOrCols() const
 {
 // these functions are deprecated and don't do anything
 int wxRadioBoxBase::GetNumberOfRowsOrCols() const
 {
@@ -144,5 +146,7 @@ void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n))
 {
 }
 
 {
 }
 
+#endif // WXWIN_COMPATIBILITY_2_4
+
 #endif // wxUSE_RADIOBOX
 
 #endif // wxUSE_RADIOBOX