]> git.saurik.com Git - wxWidgets.git/commitdiff
don't include wx/wxprec.h from headers, it's bad style (patch from Tim Stahlhut)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Aug 2007 20:33:48 +0000 (20:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Aug 2007 20:33:48 +0000 (20:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/life/dialogs.h
demos/life/game.h
demos/life/life.h
demos/life/reader.h
samples/widgets/itemcontainer.h

index 060eb67472bba75f8eba84840add96751f63defd..5a44246c90ae307aa6626e7929bf5117740f24bb 100644 (file)
 #ifndef _LIFE_DIALOGS_H_
 #define _LIFE_DIALOGS_H_
 
-// for compilers that support precompilation, includes "wx/wx.h"
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers
-#ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
-
 #include "life.h"
 #include "game.h"
 
index 0a4860f10035452c28242b94249d7a9bcf5974ba..2b5b548f0e1c0b8cefc967a7014ca92dbbd8b886 100644 (file)
 #ifndef _LIFE_GAME_H_
 #define _LIFE_GAME_H_
 
-// for compilers that support precompilation, includes "wx/wx.h"
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers
-#ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
-
 // --------------------------------------------------------------------------
 // LifePattern
 // --------------------------------------------------------------------------
index ea0007d77a38dd9fe512eae1275a626f0fef208b..dd36aebe3931394231094825131997783bb2311f 100644 (file)
 #ifndef _LIFE_APP_H_
 #define _LIFE_APP_H_
 
-// for compilers that support precompilation, includes "wx/wx.h"
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers
-#ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
-
 #include "wx/minifram.h"
 
 #include "game.h"
index fc1f3971254fe13eb7dd974bb21ca166f0582fba..add8ce72edbbf44df34415210f7a6e0c88561b33 100644 (file)
 #ifndef _LIFE_READER_H_
 #define _LIFE_READER_H_
 
-// for compilers that support precompilation, includes "wx/wx.h"
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers
-#ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
-
 #include "game.h"
 
 // --------------------------------------------------------------------------
index baa1982bb8f02af1a8d81a1bda5d97dda42f8516..8f25d70a176ab4d3927ea5ade46f4d52146a1890 100644 (file)
@@ -10,9 +10,6 @@
 #ifndef _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_
 #define _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_
 
-// for compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
 #include "widgets.h"
 
 // define a common base class for sorted and normal string arrays