FixMath fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e8cf9a5f01
commit
3d63970769
@ -42,6 +42,20 @@
|
||||
#include "wx/mac/corefoundation/cfstring.h"
|
||||
#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
|
||||
|
||||
#include "wx/window.h"
|
||||
|
Loading…
Reference in New Issue
Block a user