diff --git a/include/wx/xrc/xh_propdlg.h b/include/wx/xrc/xh_propdlg.h index 5d3a16c7d0..cf0e8aa7ef 100644 --- a/include/wx/xrc/xh_propdlg.h +++ b/include/wx/xrc/xh_propdlg.h @@ -12,7 +12,7 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_BOOKCTRL class WXDLLIMPEXP_FWD_CORE wxPropertySheetDialog; @@ -32,6 +32,6 @@ private: wxVector m_bookImagesIdx; }; -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_BOOKCTRL #endif // _WX_XH_PROPDLG_H_