fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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_XRC wxToolBarXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler)
|
||||
DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler)
|
||||
|
||||
public:
|
||||
wxToolBarXmlHandler();
|
||||
virtual wxObject *DoCreateResource();
|
||||
@@ -30,6 +31,6 @@ private:
|
||||
wxToolBar *m_toolbar;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // wxUSE_XRC && wxUSE_TOOLBAR
|
||||
|
||||
#endif // _WX_XH_TOOLBAR_H_
|
||||
#endif // _WX_XH_TOOLB_H_
|
||||
|
Reference in New Issue
Block a user