]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/gridsel.h
added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
[wxWidgets.git] / include / wx / generic / gridsel.h
index c44819a419100464ee7d7f1fd2d3c7b9d22c6434..906fb1199640e474003c0d4f26d8c6e932f9c483 100644 (file)
 
 #include "wx/defs.h"
 
-#if defined(wxUSE_NEW_GRID) && (wxUSE_NEW_GRID)
+#if wxUSE_GRID
 
 #ifndef __WXGRIDSEL_H__
 #define __WXGRIDSEL_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "gridsel.h"
 #endif
 
@@ -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
+