X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..937d5b6075db060b98daa0f0fadbaa528bc85554:/include/wx/xrc/xh_toolb.h diff --git a/include/wx/xrc/xh_toolb.h b/include/wx/xrc/xh_toolb.h index 4afaef27a8..6ba95f7124 100644 --- a/include/wx/xrc/xh_toolb.h +++ b/include/wx/xrc/xh_toolb.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/xrc/xh_toolb.h -// Purpose: XML resource handler for wxBoxSizer +// Purpose: XML resource handler for wxToolBar // Author: Vaclav Slavik // Created: 2000/08/11 // RCS-ID: $Id$ @@ -13,13 +13,14 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_TOOLBAR +#if wxUSE_XRC && wxUSE_TOOLBAR -class WXDLLEXPORT wxToolBar; +class WXDLLIMPEXP_FWD_CORE wxToolBar; class WXDLLIMPEXP_XRC wxToolBarXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler) + DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler) + public: wxToolBarXmlHandler(); virtual wxObject *DoCreateResource(); @@ -28,8 +29,9 @@ public: private: bool m_isInside; wxToolBar *m_toolbar; + wxSize m_toolSize; }; -#endif +#endif // wxUSE_XRC && wxUSE_TOOLBAR -#endif // _WX_XH_TOOLBAR_H_ +#endif // _WX_XH_TOOLB_H_