]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
build fixes for wxUSE_IPV6==1 under Windows
[wxWidgets.git] / src / common / valgen.cpp
index 37cefb5e74435debbe15ef6b5e633e0427c05140..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;