]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/gridsel.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / generic / gridsel.h
index 6567e38bfa980554c0d0ead92522aef836d2c566..906fb1199640e474003c0d4f26d8c6e932f9c483 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "wx/defs.h"
 
-#if defined(wxUSE_NEW_GRID) && (wxUSE_NEW_GRID)
+#if wxUSE_GRID
 
 #ifndef __WXGRIDSEL_H__
 #define __WXGRIDSEL_H__
@@ -81,7 +81,12 @@ private:
 
     wxGrid                              *m_grid;
     wxGrid::wxGridSelectionModes        m_selectionMode;
+
+    friend class WXDLLEXPORT wxGrid;
+
+    DECLARE_NO_COPY_CLASS(wxGridSelection)
 };
 
 #endif  // #ifdef __WXGRIDSEL_H__
-#endif  // #ifndef wxUSE_NEW_GRID
+#endif  // #ifndef wxUSE_GRID
+