Don't declare wxPropertySheetDialogXmlHandler if !wxUSE_BOOKCTRL

This class is only implemented when wxUSE_BOOKCTRL==1 as its code uses
it, so it shouldn't be declared when wxUSE_BOOKCTRL==0 neither.

This fixes wxiOS build problem after the latest changes.
This commit is contained in:
Vadim Zeitlin 2022-02-25 17:18:10 +00:00
parent b70856089b
commit 1d3149292c

View File

@ -12,7 +12,7 @@
#include "wx/xrc/xmlres.h" #include "wx/xrc/xmlres.h"
#if wxUSE_XRC #if wxUSE_XRC && wxUSE_BOOKCTRL
class WXDLLIMPEXP_FWD_CORE wxPropertySheetDialog; class WXDLLIMPEXP_FWD_CORE wxPropertySheetDialog;
@ -32,6 +32,6 @@ private:
wxVector<size_t> m_bookImagesIdx; wxVector<size_t> m_bookImagesIdx;
}; };
#endif // wxUSE_XRC #endif // wxUSE_XRC && wxUSE_BOOKCTRL
#endif // _WX_XH_PROPDLG_H_ #endif // _WX_XH_PROPDLG_H_