Use forward declarations in wx/xrc/xh_propgrid.h
Only include the headers where they're really needed.
This commit is contained in:
parent
d8d1fe2920
commit
97762f854d
2 changed files with 10 additions and 5 deletions
|
|
@ -23,11 +23,13 @@
|
|||
|
||||
#include "wx/xrc/xmlres.h"
|
||||
|
||||
#include "wx/propgrid/propgrid.h"
|
||||
#include "wx/propgrid/manager.h"
|
||||
|
||||
#if wxUSE_XRC && wxUSE_PROPGRID
|
||||
|
||||
class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGrid;
|
||||
class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGridManager;
|
||||
class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGridPageState;
|
||||
class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGridPopulator;
|
||||
|
||||
class wxPropertyGridXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
friend class wxPropertyGridXrcPopulator;
|
||||
|
|
|
|||
|
|
@ -30,9 +30,12 @@
|
|||
|
||||
#if wxUSE_XRC && wxUSE_PROPGRID
|
||||
|
||||
#include <wx/propgrid/propgrid.h>
|
||||
#include "wx/xrc/xh_propgrid.h"
|
||||
|
||||
#include <wx/propgrid/xh_propgrid.h>
|
||||
#include "wx/propgrid/manager.h"
|
||||
#include "wx/propgrid/propgrid.h"
|
||||
|
||||
#include "wx/xml/xml.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/intl.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue