]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/gridsel.h
Applied patch from Bo, WIP
[wxWidgets.git] / include / wx / generic / gridsel.h
index 0fa66dc46a3c804427f3947494824bf3e6256e2d..fff21a3684d5d8f6638745e9379c4fb2fcbf4380 100644 (file)
@@ -9,8 +9,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __WXGRIDSEL_H__
-#define __WXGRIDSEL_H__
+#ifndef _WX_GENERIC_GRIDSEL_H_
+#define _WX_GENERIC_GRIDSEL_H_
 
 #include "wx/defs.h"
 
@@ -18,7 +18,8 @@
 
 #include "wx/grid.h"
 
-class WXDLLIMPEXP_ADV wxGridSelection{
+class WXDLLIMPEXP_ADV wxGridSelection
+{
 public:
     wxGridSelection( wxGrid * grid, wxGrid::wxGridSelectionModes sel =
                      wxGrid::wxGridSelectCells );
@@ -78,11 +79,10 @@ private:
     wxGrid                              *m_grid;
     wxGrid::wxGridSelectionModes        m_selectionMode;
 
-    friend class WXDLLIMPEXP_ADV wxGrid;
+    friend class WXDLLIMPEXP_FWD_ADV wxGrid;
 
     DECLARE_NO_COPY_CLASS(wxGridSelection)
 };
 
-#endif  // #ifndef wxUSE_GRID
-#endif  // #ifdef __WXGRIDSEL_H__
-
+#endif  // wxUSE_GRID
+#endif  // _WX_GENERIC_GRIDSEL_H_