FixMath fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,6 +42,20 @@
|
|||||||
#include "wx/mac/corefoundation/cfstring.h"
|
#include "wx/mac/corefoundation/cfstring.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <FixMath.h>
|
||||||
|
#ifndef FixedToInt
|
||||||
|
// as macro in FixMath.h for 10.3
|
||||||
|
inline Fixed IntToFixed( int inInt )
|
||||||
|
{
|
||||||
|
return (((SInt32) inInt) << 16);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline int FixedToInt( Fixed inFixed )
|
||||||
|
{
|
||||||
|
return (((SInt32) inFixed) >> 16);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
Reference in New Issue
Block a user