]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/animateg.cpp
avoiding nesting dcs on the same window concurrently
[wxWidgets.git] / src / generic / animateg.cpp
index 7c156123b4d1699302b0da25d2b4f8fc33e4a8bc..1bda5864672ae4de05eeac00772664cdf65140d1 100644 (file)
@@ -15,7 +15,7 @@
   #pragma hdrstop
 #endif  //__BORLANDC__
 
-#if wxUSE_ANIMATIONCTRL
+#if wxUSE_ANIMATIONCTRL && (!defined(__WXGTK20__) || defined(__WXUNIVERSAL__))
 
 #include "wx/animate.h"