From: Gilles Depeyrot Date: Tue, 9 Oct 2001 11:55:54 +0000 (+0000) Subject: recompiled header support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56cfd0d766b3240ef34157eb1669ffd9e2a86b9b?ds=inline recompiled header support removed doubled definitions (already in wx headers) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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