X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e3c83a73630c16f161c96ca3f8206b611676b59..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/xrc/xh_grid.h?ds=sidebyside diff --git a/include/wx/xrc/xh_grid.h b/include/wx/xrc/xh_grid.h index 762ae2de1c..3d62705749 100644 --- a/include/wx/xrc/xh_grid.h +++ b/include/wx/xrc/xh_grid.h @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_grid.h -// Purpose: XML resource handler for the grid control +// Name: wx/xrc/xh_grid.h +// Purpose: XML resource handler for wxGrid // Author: Agron Selimaj // Created: 2005/08/11 -// RCS-ID: $Id$ // Copyright: (c) 2005 Agron Selimaj, Freepour Controls Inc. // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -11,24 +10,21 @@ #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 +#if wxUSE_XRC && wxUSE_GRID class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxGridXmlHandler) + DECLARE_DYNAMIC_CLASS(wxGridXmlHandler) + public: - wxGridXmlHandler(); + wxGridXmlHandler(); + virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif // wxUSE_XRC - +#endif // wxUSE_XRC && wxUSE_GRID #endif // _WX_XH_GRD_H_