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:
parent
b70856089b
commit
1d3149292c
@ -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_
|
||||||
|
Loading…
Reference in New Issue
Block a user