]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/gridsel.h
Updated Scintilla to 1.52 (on the trunk this time too)
[wxWidgets.git] / include / wx / generic / gridsel.h
index 4645f2c142b237038ea3bce7baf2be3688f5ebec..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__
@@ -82,8 +82,11 @@ private:
     wxGrid                              *m_grid;
     wxGrid::wxGridSelectionModes        m_selectionMode;
 
-    friend class wxGrid;
+    friend class WXDLLEXPORT wxGrid;
+
+    DECLARE_NO_COPY_CLASS(wxGridSelection)
 };
 
 #endif  // #ifdef __WXGRIDSEL_H__
-#endif  // #ifndef wxUSE_NEW_GRID
+#endif  // #ifndef wxUSE_GRID
+