X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..65d990fb214d0298d17eda7bae6b0dbaa830f62e:/include/wx/xrc/xh_grid.h

diff --git a/include/wx/xrc/xh_grid.h b/include/wx/xrc/xh_grid.h
index ca4d4e14c7..f4e07e14dd 100644
--- a/include/wx/xrc/xh_grid.h
+++ b/include/wx/xrc/xh_grid.h
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx/xrc/xh_grid.h
-// Purpose:     XML resource handler for the grid control
+// Purpose:     XML resource handler for wxGrid
 // Author:      Agron Selimaj
 // Created:     2005/08/11
 // RCS-ID:      $Id$
@@ -17,14 +17,13 @@
 
 class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
 {
+    DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
+
 public:
     wxGridXmlHandler();
 
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
-
-private:
-    DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
 };
 
 #endif // wxUSE_XRC && wxUSE_GRID