Applied patch [ 1308152 ] wxGrid XRC handler patch HEAD

Start of a wxGrid handler by Agron Selimaj
Applied with corrections. Needs further work for retrieving grid properties
and styles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-11-24 17:26:05 +00:00
parent 650372cf91
commit 0e3c83a736
5 changed files with 91 additions and 0 deletions

34
include/wx/xrc/xh_grid.h Normal file
View File

@@ -0,0 +1,34 @@
/////////////////////////////////////////////////////////////////////////////
// Name: xh_grid.h
// Purpose: XML resource handler for the grid control
// Author: Agron Selimaj
// Created: 2005/08/11
// RCS-ID: $Id$
// Copyright: (c) 2005 Agron Selimaj, Freepour Controls Inc.
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_XH_GRD_H_
#define _WX_XH_GRD_H_
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_grid.cpp"
#endif
#include "wx/xrc/xmlres.h"
#if wxUSE_XRC
class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
public:
wxGridXmlHandler();
virtual wxObject *DoCreateResource();
virtual bool CanHandle(wxXmlNode *node);
};
#endif // wxUSE_XRC
#endif // _WX_XH_GRD_H_