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