X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/723d1b1da1d9bc3b1a15a66a2c5ab6337bfcbf7f..903972f99993e6f31a31b66d1866f6fc982a1c43:/include/wx/generic/gridsel.h?ds=sidebyside diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index b521834cc7..cae07fe7ef 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -16,7 +16,7 @@ #ifndef __WXGRIDSEL_H__ #define __WXGRIDSEL_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gridsel.h" #endif @@ -29,6 +29,7 @@ public: bool IsSelection(); bool IsInSelection ( int row, int col ); void SetSelectionMode(wxGrid::wxGridSelectionModes selmode); + wxGrid::wxGridSelectionModes GetSelectionMode() { return m_selectionMode; } void SelectRow( int row, bool ControlDown = FALSE, bool ShiftDown = FALSE, bool AltDown = FALSE, bool MetaDown = FALSE ); @@ -80,6 +81,10 @@ private: wxGrid *m_grid; wxGrid::wxGridSelectionModes m_selectionMode; + + friend class WXDLLEXPORT wxGrid; + + DECLARE_NO_COPY_CLASS(wxGridSelection) }; #endif // #ifdef __WXGRIDSEL_H__