Added 'bool editable' argument to wxPropertyGrid::MakeColumnEditable()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-09-01 13:54:41 +00:00
parent aa498ec94e
commit e9fb1910b9
4 changed files with 53 additions and 7 deletions

View File

@@ -1029,13 +1029,10 @@ public:
/**
Makes given column editable by user.
@see BeginLabelEdit(), EndLabelEdit()
@param editable
Using @false here will disable column from being editable.
*/
void MakeColumnEditable( unsigned int column )
{
wxASSERT( column != 1 );
m_pState->m_editableColumns.push_back(column);
}
void MakeColumnEditable( unsigned int column, bool editable = true );
/**
Creates label editor wxTextCtrl for given column, for property