FixMath fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-01-28 05:40:55 +00:00
parent e8cf9a5f01
commit 3d63970769

View File

@ -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"