]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
fix the definition of many static functions marked as 'const' or functions which...
[wxWidgets.git] / src / common / valgen.cpp
index e38f6789bdc55571411313d03ecd4eb8ea36d756..1266e49a905cc5c69181586525aeb1d5948707e5 100644 (file)
@@ -146,7 +146,7 @@ bool wxGenericValidator::TransferToWindow(void)
             return true;
         }
     } else
-#if defined(__WXMAC__) || defined(__WXGTK20__)
+#if (defined(__WXMAC__) || defined(__WXGTK20__)) && !defined(__WXUNIVERSAL__)
     if (m_validatorWindow->IsKindOf(CLASSINFO(wxBitmapToggleButton)) )
     {
         wxBitmapToggleButton * pControl = (wxBitmapToggleButton *) m_validatorWindow;
@@ -370,7 +370,8 @@ bool wxGenericValidator::TransferToWindow(void)
         }
     } else
 #endif
-        ;   // to match the last 'else' above
+    {   // to match the last 'else' above
+    }
 
   // unrecognized control, or bad pointer
   return false;