From 8dd8666360a37784a7aba5990a31e3f5326ed815 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 21 Jun 2006 14:22:05 +0000 Subject: [PATCH] Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor cleaning). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wx.h | 1 + src/cocoa/gdiobj.cpp | 7 +++++-- src/gtk/gdiobj.cpp | 8 +++++--- src/gtk1/gdiobj.cpp | 8 +++++--- src/mgl/gdiobj.cpp | 5 ++--- src/msw/gdiobj.cpp | 3 ++- src/x11/gdiobj.cpp | 4 ++-- 7 files changed, 22 insertions(+), 14 deletions(-) diff --git a/include/wx/wx.h b/include/wx/wx.h index 44756a0846..089ce8ccad 100644 --- a/include/wx/wx.h +++ b/include/wx/wx.h @@ -37,6 +37,7 @@ #include "wx/toplevel.h" #include "wx/frame.h" #include "wx/gdicmn.h" +#include "wx/gdiobj.h" #include "wx/region.h" #include "wx/bitmap.h" #include "wx/colour.h" diff --git a/src/cocoa/gdiobj.cpp b/src/cocoa/gdiobj.cpp index f293a95db0..4d0b2a9b60 100644 --- a/src/cocoa/gdiobj.cpp +++ b/src/cocoa/gdiobj.cpp @@ -1,14 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gdiobj.cpp +// Name: src/cocoa/gdiobj.cpp // Purpose: wxGDIObject class // Author: AUTHOR // Modified by: // Created: ??/??/98 // RCS-ID: $Id$ // Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/gtk/gdiobj.cpp b/src/gtk/gdiobj.cpp index 7627a2739f..c01f42930f 100644 --- a/src/gtk/gdiobj.cpp +++ b/src/gtk/gdiobj.cpp @@ -1,13 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gdiobj.cpp +// Name: src/gtk/gdiobj.cpp // Purpose: wxGDIObject class // Author: Julian Smart // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) - diff --git a/src/gtk1/gdiobj.cpp b/src/gtk1/gdiobj.cpp index 7627a2739f..72ca341ea8 100644 --- a/src/gtk1/gdiobj.cpp +++ b/src/gtk1/gdiobj.cpp @@ -1,13 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gdiobj.cpp +// Name: src/gtk1/gdiobj.cpp // Purpose: wxGDIObject class // Author: Julian Smart // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) - diff --git a/src/mgl/gdiobj.cpp b/src/mgl/gdiobj.cpp index e23c754e93..97bf181d83 100644 --- a/src/mgl/gdiobj.cpp +++ b/src/mgl/gdiobj.cpp @@ -16,13 +16,12 @@ #pragma hdrstop #endif +#include "wx/gdiobj.h" + #ifndef WX_PRECOMP #include #include "wx/list.h" #include "wx/utils.h" #endif -#include "wx/gdiobj.h" - - IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/msw/gdiobj.cpp b/src/msw/gdiobj.cpp index 447c88327b..46ef0dc8a2 100644 --- a/src/msw/gdiobj.cpp +++ b/src/msw/gdiobj.cpp @@ -16,6 +16,8 @@ #pragma hdrstop #endif +#include "wx/gdiobj.h" + #ifndef WX_PRECOMP #include #include "wx/list.h" @@ -23,7 +25,6 @@ #include "wx/app.h" #endif -#include "wx/gdiobj.h" #include "wx/msw/private.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/x11/gdiobj.cpp b/src/x11/gdiobj.cpp index 00289e33d8..b6dede210f 100644 --- a/src/x11/gdiobj.cpp +++ b/src/x11/gdiobj.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gdiobj.cpp +// Name: src/x11/gdiobj.cpp // Purpose: wxGDIObject class // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/gdiobj.h" -- 2.45.2