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
This commit is contained in:
Vadim Zeitlin 2014-07-24 10:58:47 +00:00
parent 52747b8628
commit 1a2e0268f0
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,10 @@
#ifndef _WX_CUSTOMBGWIN_H_ #ifndef _WX_CUSTOMBGWIN_H_
#define _WX_CUSTOMBGWIN_H_ #define _WX_CUSTOMBGWIN_H_
#include "wx/defs.h"
class WXDLLIMPEXP_FWD_CORE wxBitmap;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxCustomBackgroundWindow: Adds support for custom backgrounds to any // wxCustomBackgroundWindow: Adds support for custom backgrounds to any
// wxWindow-derived class. // wxWindow-derived class.

View File

@ -11,6 +11,9 @@
#define _WX_GENERIC_CUSTOMBGWIN_H_ #define _WX_GENERIC_CUSTOMBGWIN_H_
#include "wx/bitmap.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 // A helper to avoid template bloat: this class contains all type-independent
// code of wxCustomBackgroundWindow<> below. // code of wxCustomBackgroundWindow<> below.