From e5182b1bc58b8bada2d23591eb581927f2c89681 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 12 Dec 2008 15:06:15 +0000 Subject: [PATCH] really fix STL compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 8d2bf5c278..a3f5cb24c7 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -197,8 +197,11 @@ public: virtual bool IsSortOrderAscending() const { return false; } private: - wxGrid * const m_grid; - const int m_col; + // these really should be const but are not because the column needs to be + // assignable to be used in a wxVector (in STL build, in non-STL build we + // avoid the need for this) + wxGrid *m_grid; + int m_col; }; // header control retreiving column information from the grid -- 2.45.2