From 6cd13bc22d1435de0921c5a2144fab3c8d4aab58 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 20 Mar 2014 19:45:53 +0000 Subject: [PATCH] Mark some deprecated wxGrid methods as deprecated in the documentation. Point people to the new names of the deprecated methods. Closes #16103. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/grid.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 77be6d5279..1e601cb6ee 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -2466,6 +2466,8 @@ public: Vertical alignment should be one of @c wxALIGN_TOP, @c wxALIGN_CENTRE or @c wxALIGN_BOTTOM. + + @deprecated Please use SetCellAlignment(row, col, horiz, vert) instead. */ void SetCellAlignment(int align, int row, int col); @@ -2485,10 +2487,14 @@ public: void SetCellTextColour(int row, int col, const wxColour& colour); /** Sets the text colour for the given cell. + + @deprecated Please use SetCellTextColour(row, col, colour) */ void SetCellTextColour(const wxColour& val, int row, int col); /** Sets the text colour for all cells by default. + + @deprecated Please use SetDefaultCellTextColour(colour) instead. */ void SetCellTextColour(const wxColour& colour);