diff --git a/samples/opengl/penguin/lw.cpp b/samples/opengl/penguin/lw.cpp index c2875d5887..aaa1d889c2 100644 --- a/samples/opengl/penguin/lw.cpp +++ b/samples/opengl/penguin/lw.cpp @@ -20,19 +20,22 @@ #include #endif -#include "wx/defs.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif #include "lw.h" #include #include #include -#if !defined(__WXMAC__) -// these must be defined in the precompiled headers under CodeWarrior -#define wxInt32 int -#define wxUint32 unsigned int -#endif - #ifndef FALSE #define FALSE 0 #endif