X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..71414756b2cb4d64ee167e61f3fa4854c4f2a85b:/include/wx/generic/gridsel.h diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index 6567e38bfa..906fb11996 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -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 +