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_mdi.h
// Purpose: XML resource handler for dialogs
// Purpose: XML resource handler for wxMDI
// Author: David M. Falkinder & Vaclav Slavik
// Created: 14/02/2005
// RCS-ID: $Id$
@@ -13,12 +13,14 @@
#include "wx/xrc/xmlres.h"
#if wxUSE_MDI
#if wxUSE_XRC && wxUSE_MDI
class WXDLLIMPEXP_CORE wxWindow;
class WXDLLIMPEXP_XRC wxMdiXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMdiXmlHandler)
public:
wxMdiXmlHandler();
virtual wxObject *DoCreateResource();
@@ -26,10 +28,8 @@ public:
private:
wxWindow *CreateFrame();
DECLARE_DYNAMIC_CLASS(wxMdiXmlHandler)
};
#endif // wxUSE_MDI
#endif // wxUSE_XRC && wxUSE_MDI
#endif // _WX_XH_MDI_H_