]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/radiocmn.cpp
added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush...
[wxWidgets.git] / src / common / radiocmn.cpp
index c1d1f5930eaad76a07310e220b0bda3666930e35..66254736c6b246ab766cc5a81b19b13a9c9faf65 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "radioboxbase.h"
 #endif
 
@@ -98,7 +98,7 @@ int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const
 
         default:
             wxFAIL_MSG( _T("unexpected wxDirection value") );
-            return -1;
+            return wxNOT_FOUND;
     }
 
     // ensure that the item is in range [0..count)