]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/geometry.h
Applied patch [ 1382552 ] Fixes GDI-ressource leak in wxStaticBitmap
[wxWidgets.git] / include / wx / geometry.h
index 4c1e5ad871c70a879c7292e3de9485c47a33f97b..2aa92a80f9c1d0b4a669e6457834b5781b814cd1 100644 (file)
 #include "wx/gdicmn.h"
 #include "wx/math.h"
 
-#if defined(__WXMSW__) && !defined(__WXWINCE__)
-    #define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
-#elif defined( __WXMAC__ )
-    #define wxMulDivInt32( a , b , c ) ( (wxInt32) ( ( (wxInt64)(a) * (wxInt64)(b) ) / (wxInt64)(c) ) )
-#else
-    #define wxMulDivInt32( a , b , c ) ((wxInt32)((a)*(((wxDouble)b)/((wxDouble)c))))
-#endif
-
 class WXDLLIMPEXP_BASE wxDataInputStream;
 class WXDLLIMPEXP_BASE wxDataOutputStream;