]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_toolb.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / xrc / xh_toolb.h
CommitLineData
8576d6a4 1/////////////////////////////////////////////////////////////////////////////
e8a793f0 2// Name: wx/xrc/xh_toolb.h
dd47af27 3// Purpose: XML resource handler for wxToolBar
8576d6a4
VS
4// Author: Vaclav Slavik
5// Created: 2000/08/11
8576d6a4
VS
6// Copyright: (c) 2000 Vaclav Slavik
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_XH_TOOLB_H_
11#define _WX_XH_TOOLB_H_
12
999d9a9f 13#include "wx/xrc/xmlres.h"
8576d6a4 14
dd47af27 15#if wxUSE_XRC && wxUSE_TOOLBAR
8576d6a4 16
b5dbe15d 17class WXDLLIMPEXP_FWD_CORE wxToolBar;
8576d6a4 18
30dc3455 19class WXDLLIMPEXP_XRC wxToolBarXmlHandler : public wxXmlResourceHandler
8576d6a4 20{
dd47af27
VZ
21 DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler)
22
eb8671f2
VS
23public:
24 wxToolBarXmlHandler();
25 virtual wxObject *DoCreateResource();
26 virtual bool CanHandle(wxXmlNode *node);
ea89ec17 27
eb8671f2
VS
28private:
29 bool m_isInside;
30 wxToolBar *m_toolbar;
d0f06302 31 wxSize m_toolSize;
8576d6a4
VS
32};
33
dd47af27 34#endif // wxUSE_XRC && wxUSE_TOOLBAR
8576d6a4 35
dd47af27 36#endif // _WX_XH_TOOLB_H_