]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_grid.h
renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
[wxWidgets.git] / include / wx / xrc / xh_grid.h
index 762ae2de1c957236425ae5908fb6270580307fcc..ca4d4e14c791c09acb27342a88f93efdd21755a5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_grid.h
+// Name:        wx/xrc/xh_grid.h
 // Purpose:     XML resource handler for the grid control
 // Author:      Agron Selimaj
 // Created:     2005/08/11
 #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)
 public:
-       wxGridXmlHandler();
+    wxGridXmlHandler();
+
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
-};
 
-#endif // wxUSE_XRC
+private:
+    DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
+};
 
+#endif // wxUSE_XRC && wxUSE_GRID
 
 #endif // _WX_XH_GRD_H_