diff --git a/include/wx/xrc/xh_collpane.h b/include/wx/xrc/xh_collpane.h index 3b2319fa1d..b08b36821f 100644 --- a/include/wx/xrc/xh_collpane.h +++ b/include/wx/xrc/xh_collpane.h @@ -15,7 +15,7 @@ #if wxUSE_XRC && wxUSE_COLLPANE -class WXDLLEXPORT wxCollapsiblePane; +#include "wx/collpane.h" class WXDLLIMPEXP_XRC wxCollapsiblePaneXmlHandler : public wxXmlResourceHandler { diff --git a/src/xrc/xh_collpane.cpp b/src/xrc/xh_collpane.cpp index c335919622..c8b489b3bc 100644 --- a/src/xrc/xh_collpane.cpp +++ b/src/xrc/xh_collpane.cpp @@ -18,7 +18,7 @@ #if wxUSE_XRC && wxUSE_COLLPANE #include "wx/xrc/xh_collpane.h" -#include "wx/collpane.h" +#include "wx/log.h" IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler, wxXmlResourceHandler)