X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20ceebaa878e9fb54e678c6498aeaeeaae9f0590..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/generic/gridsel.h diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index 0fa66dc46a..fff21a3684 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -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_