From 1a2e0268f049f7f3f2786fd6dfccf6aff7e9b588 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 24 Jul 2014 10:58:47 +0000 Subject: [PATCH] Include the required headers from wx/custombgwin.h. Make this header self-contained, i.e. safe to include as the first wxWidgets header being included from the user code. Closes #16391. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/custombgwin.h | 4 ++++ include/wx/generic/custombgwin.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/wx/custombgwin.h b/include/wx/custombgwin.h index 73890a4654..329589c7f2 100644 --- a/include/wx/custombgwin.h +++ b/include/wx/custombgwin.h @@ -10,6 +10,10 @@ #ifndef _WX_CUSTOMBGWIN_H_ #define _WX_CUSTOMBGWIN_H_ +#include "wx/defs.h" + +class WXDLLIMPEXP_FWD_CORE wxBitmap; + // ---------------------------------------------------------------------------- // wxCustomBackgroundWindow: Adds support for custom backgrounds to any // wxWindow-derived class. diff --git a/include/wx/generic/custombgwin.h b/include/wx/generic/custombgwin.h index 8004195498..d274313069 100644 --- a/include/wx/generic/custombgwin.h +++ b/include/wx/generic/custombgwin.h @@ -11,6 +11,9 @@ #define _WX_GENERIC_CUSTOMBGWIN_H_ #include "wx/bitmap.h" +#include "wx/dc.h" +#include "wx/event.h" +#include "wx/window.h" // A helper to avoid template bloat: this class contains all type-independent // code of wxCustomBackgroundWindow<> below.