X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a230426807715c54b6fdcf410e3678ee0dfada6..9df6b3b0413df70cd319059b0e23a84186d6056d:/src/common/valgen.cpp diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index 37cefb5e74..1266e49a90 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -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;