X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/723d1b1da1d9bc3b1a15a66a2c5ab6337bfcbf7f..bca7bfc878242483c1130c460c488c27002607a9:/include/wx/generic/gridsel.h?ds=inline diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index b521834cc7..4645f2c142 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,8 @@ private: wxGrid *m_grid; wxGrid::wxGridSelectionModes m_selectionMode; + + friend class wxGrid; }; #endif // #ifdef __WXGRIDSEL_H__