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;
}
} else
#endif
- ; // to match the last 'else' above
+ { // to match the last 'else' above
+ }
// unrecognized control, or bad pointer
return false;