Forward declare more classes, in particular use tagRECT which can be forward
declared, instead of RECT typedef in public headers.
Also include more header in #ifndef WX_PRECOMP case.
See #11595.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63272
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_OWNER_DRAWN
#include "wx/ownerdrw.h"
#include "wx/bitmap.h"
+
+ struct tagRECT;
#endif
// ----------------------------------------------------------------------------
private:
// helper function for draw std menu check mark
- void DrawStdCheckMark(WXHDC hdc, const RECT* rc, wxODStatus stat);
+ void DrawStdCheckMark(WXHDC hdc, const tagRECT* rc, wxODStatus stat);
#endif // wxUSE_OWNER_DRAWN
#include "wx/font.h"
#include "wx/colour.h"
+class WXDLLIMPEXP_FWD_CORE wxDC;
+
// ----------------------------------------------------------------------------
// wxOwnerDrawn - a mix-in base class, derive from it to implement owner-drawn
// behaviour
#include "wx/stockitem.h"
#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/dcmemory.h"
#include "wx/font.h"
#include "wx/bitmap.h"
#include "wx/settings.h"