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:
Vadim Zeitlin
2006-10-03 14:53:40 +00:00
parent d9b0ee1eca
commit dd47af27e1
61 changed files with 305 additions and 195 deletions

View File

@@ -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_