From: Vadim Zeitlin Date: Mon, 1 Jun 2009 20:54:03 +0000 (+0000) Subject: correct Borland #pragma hdrstop position X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b4715d08bf50050ae00df367d0c95666ca22d088 correct Borland #pragma hdrstop position git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/config/conftest.cpp b/samples/config/conftest.cpp index 5f8fb436a6..c829260882 100644 --- a/samples/config/conftest.cpp +++ b/samples/config/conftest.cpp @@ -18,6 +18,10 @@ // ---------------------------------------------------------------------------- #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #ifndef WX_PRECOMP #include "wx/wx.h" #endif //precompiled headers diff --git a/src/common/animatecmn.cpp b/src/common/animatecmn.cpp index 4ba1483bac..2bee893970 100644 --- a/src/common/animatecmn.cpp +++ b/src/common/animatecmn.cpp @@ -17,6 +17,10 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_ANIMATIONCTRL #include "wx/animate.h" diff --git a/src/common/base64.cpp b/src/common/base64.cpp index 54b0cc752f..8ac4ebcadf 100644 --- a/src/common/base64.cpp +++ b/src/common/base64.cpp @@ -9,6 +9,10 @@ #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_BASE64 #include "wx/base64.h" diff --git a/src/common/fldlgcmn.cpp b/src/common/fldlgcmn.cpp index e57a244cb3..487d426bc9 100644 --- a/src/common/fldlgcmn.cpp +++ b/src/common/fldlgcmn.cpp @@ -9,13 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_FILEDLG #include "wx/filedlg.h" diff --git a/src/common/listctrlcmn.cpp b/src/common/listctrlcmn.cpp index 6eaed4cbe0..2fc20b7871 100644 --- a/src/common/listctrlcmn.cpp +++ b/src/common/listctrlcmn.cpp @@ -19,6 +19,10 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_LISTCTRL #include "wx/listctrl.h" diff --git a/src/common/selectdispatcher.cpp b/src/common/selectdispatcher.cpp index 1365319347..1d3a1d600a 100644 --- a/src/common/selectdispatcher.cpp +++ b/src/common/selectdispatcher.cpp @@ -19,6 +19,10 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_SELECT_DISPATCHER #include "wx/private/selectdispatcher.h" diff --git a/src/common/socketiohandler.cpp b/src/common/socketiohandler.cpp index 080532be0f..3b1504a329 100644 --- a/src/common/socketiohandler.cpp +++ b/src/common/socketiohandler.cpp @@ -20,6 +20,10 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_SOCKETS && wxUSE_SELECT_DISPATCHER #include "wx/apptrait.h" diff --git a/src/generic/collpaneg.cpp b/src/generic/collpaneg.cpp index f4e34aae5b..176a597b85 100644 --- a/src/generic/collpaneg.cpp +++ b/src/generic/collpaneg.cpp @@ -16,6 +16,11 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #include "wx/defs.h" #if wxUSE_COLLPANE && wxUSE_BUTTON && wxUSE_STATLINE diff --git a/src/generic/statbmpg.cpp b/src/generic/statbmpg.cpp index da1ad895cf..9927e10606 100644 --- a/src/generic/statbmpg.cpp +++ b/src/generic/statbmpg.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: src/generic/statbmp.cpp +// Name: src/generic/statbmpg.cpp // Purpose: wxGenericStaticBitmap // Author: Marcin Wojdyr, Stefan Csomor // Created: 2008-06-16 diff --git a/src/html/htmlfilter.cpp b/src/html/htmlfilter.cpp index 57508b1069..218ba79030 100644 --- a/src/html/htmlfilter.cpp +++ b/src/html/htmlfilter.cpp @@ -13,12 +13,12 @@ #include "wx/wxprec.h" -#if wxUSE_HTML - -#ifdef __BORDLANDC__ -#pragma hdrstop +#ifdef __BORLANDC__ + #pragma hdrstop #endif +#if wxUSE_HTML + #ifndef WXPRECOMP #endif diff --git a/src/html/search.cpp b/src/html/search.cpp index 85a59a2b2e..5d30b48227 100644 --- a/src/html/search.cpp +++ b/src/html/search.cpp @@ -15,13 +15,13 @@ #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #include "wx/defs.h" #if wxUSE_HTML -#ifdef __BORDLANDC__ -#pragma hdrstop -#endif - #ifndef WXPRECOMP #endif diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index c60609ce1e..93ee67ba19 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -11,12 +11,12 @@ #include "wx/wxprec.h" -#include "wx/dc.h" - #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/dc.h" + #if wxUSE_GRAPHICS_CONTEXT #ifndef WX_PRECOMP