math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "wx/palette.h"
|
||||
#include "wx/list.h" // we use wxList in inline functions
|
||||
#include "wx/dynarray.h"
|
||||
#include "wx/math.h"
|
||||
|
||||
class WXDLLEXPORT wxDC;
|
||||
class WXDLLEXPORT wxDCBase;
|
||||
|
@@ -18,15 +18,11 @@
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#ifndef wxUSE_GEOMETRY
|
||||
#define wxUSE_GEOMETRY 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_GEOMETRY
|
||||
|
||||
#include "wx/utils.h"
|
||||
#include "wx/gdicmn.h"
|
||||
#include <math.h>
|
||||
#include "wx/math.h"
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
|
||||
|
@@ -18,6 +18,12 @@
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.1415926535897932384626433832795
|
||||
#endif
|
||||
|
||||
// unknown __VISAGECC__, __SYMANTECCC__
|
||||
|
||||
#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
|
||||
|
Reference in New Issue
Block a user