]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/gridg.h
pragma fix for gcc
[wxWidgets.git] / include / wx / generic / gridg.h
index dd880fa622218b8df877421148b0e55ff5d8ae0e..1fa85c62bd014e9eeac3ae4783562a7a6da641d9 100644 (file)
@@ -19,6 +19,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_GRID
+
 #include "wx/panel.h"
 #include "wx/string.h"
 #include "wx/scrolbar.h"
@@ -420,5 +423,7 @@ typedef void (wxEvtHandler::*wxGridEventFunction)(wxGridEvent&);
 #define EVT_GRID_LABEL_LCLICK(fn)     DECLARE_EVENT_TABLE_ENTRY(wxEVT_GRID_LABEL_LCLICK,     -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxGridEventFunction) &fn, NULL),
 #define EVT_GRID_LABEL_RCLICK(fn)     DECLARE_EVENT_TABLE_ENTRY(wxEVT_GRID_LABEL_RCLICK,     -1, -1, (wxObjectEventFunction) (wxEventFunction) (wxGridEventFunction) &fn, NULL),
 
+#endif // wxUSE_GRID
+
 #endif // __GRIDH_G__