Use forward declarations in wx/xrc/xh_propgrid.h

Only include the headers where they're really needed.
This commit is contained in:
Vadim Zeitlin 2023-10-31 01:06:29 +01:00
parent d8d1fe2920
commit 97762f854d
2 changed files with 10 additions and 5 deletions

View file

@ -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;