2005-04-02 22:22:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-04 18:08:09 +00:00
|
|
|
// Name: wx/xrc/xh_mdi.h
|
2006-10-03 14:53:40 +00:00
|
|
|
// Purpose: XML resource handler for wxMDI
|
2005-04-02 22:22:55 +00:00
|
|
|
// Author: David M. Falkinder & Vaclav Slavik
|
|
|
|
// Created: 14/02/2005
|
|
|
|
// Copyright: (c) 2005 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_MDI_H_
|
|
|
|
#define _WX_XH_MDI_H_
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
2006-10-03 14:53:40 +00:00
|
|
|
#if wxUSE_XRC && wxUSE_MDI
|
2005-04-02 22:22:55 +00:00
|
|
|
|
2007-07-09 10:09:52 +00:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
2005-04-02 22:22:55 +00:00
|
|
|
|
|
|
|
class WXDLLIMPEXP_XRC wxMdiXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxMdiXmlHandler);
|
2006-10-03 14:53:40 +00:00
|
|
|
|
2005-04-02 22:22:55 +00:00
|
|
|
public:
|
|
|
|
wxMdiXmlHandler();
|
2015-09-07 00:20:42 +00:00
|
|
|
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
|
|
|
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
2005-04-02 22:22:55 +00:00
|
|
|
|
|
|
|
private:
|
2005-04-03 09:24:04 +00:00
|
|
|
wxWindow *CreateFrame();
|
2005-04-02 22:22:55 +00:00
|
|
|
};
|
|
|
|
|
2006-10-03 14:53:40 +00:00
|
|
|
#endif // wxUSE_XRC && wxUSE_MDI
|
2005-04-02 22:22:55 +00:00
|
|
|
|
|
|
|
#endif // _WX_XH_MDI_H_
|