Improve documentation of wxPropertyGrid::MakeColumnEditable()

Explain that column must be different from 1 in the documentation and in
the (already existing) assert checking it.

Closes https://github.com/wxWidgets/wxWidgets/pull/656
This commit is contained in:
Frédéric Bron
2017-12-27 16:56:50 +01:00
committed by Vadim Zeitlin
parent f423b88ded
commit f4b56f67ec
2 changed files with 11 additions and 1 deletions

View File

@@ -942,6 +942,10 @@ public:
@param editable
Using @false here will disable column from being editable.
Note that @a column must not be equal to 1, as the second column is
always editable and can be made read-only only on cell-by-cell basis
using @code wxPGProperty::ChangeFlag(wxPG_PROP_READONLY, true) @endcode
@see BeginLabelEdit(), EndLabelEdit()
*/
void MakeColumnEditable( unsigned int column, bool editable = true );