]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_listbk.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_listbk.h
index c9207ed45817b269a9a0f96837701e4302a44b0c..7aa2e0b2f3f4fbbb894e94084a228e41d217c11d 100644 (file)
 
 #include "wx/xrc/xmlres.h"
 
-#if wxUSE_LISTBOOK
+#if wxUSE_XRC && wxUSE_LISTBOOK
 
-class WXDLLEXPORT wxListbook;
+class WXDLLIMPEXP_FWD_CORE wxListbook;
 
 class WXDLLIMPEXP_XRC wxListbookXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler)
+
 public:
     wxListbookXmlHandler();
     virtual wxObject *DoCreateResource();
@@ -28,6 +29,6 @@ private:
     wxListbook *m_listbook;
 };
 
-#endif
+#endif // wxUSE_XRC && wxUSE_LISTBOOK
 
 #endif // _WX_XH_LISTBK_H_