]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/math.h
fix mouse capture lost assert when dialog shown in tab change event handler
[wxWidgets.git] / include / wx / math.h
index b7096cbfdb04152e94e458defb5dd717758f6ce4..121a59062b47ea00067c35552f634e62ddf777b3 100644 (file)
@@ -57,9 +57,9 @@
 #if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
     #include <float.h>
     #define wxFinite(x) _finite(x)
-#elif defined(__GNUG__)||defined(__GNUWIN32__)||defined(__DJGPP__)|| \
+#elif defined(__GNUG__)||defined(__GNUWIN32__)||defined(__DJGPP__)|| \
       defined(__SGI_CC__)||defined(__SUNCC__)||defined(__XLC__)|| \
-      defined(__HPUX__)||defined(__MWERKS__)
+      defined(__HPUX__)||defined(__MWERKS__) ) && ( !defined(wxOSX_USE_IPHONE) || wxOSX_USE_IPHONE == 0 )
 #ifdef __SOLARIS__
 #include <ieeefp.h>
 #endif