Move wxMulDivInt32 to common math.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,14 +20,6 @@
|
||||
#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;
|
||||
|
||||
|
Reference in New Issue
Block a user