Removed macros to create enum and flag props with custom, static choice sets. Now use wxPGProperty::SetChoices() instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-19 17:39:09 +00:00
parent d53f610c1c
commit d577449426
4 changed files with 12 additions and 92 deletions

View File

@@ -402,11 +402,11 @@ Here's extended example using values as well:
pg->Append( new wxEnumProperty(wxT("Secondary Diet"),
wxPG_LABEL,
chs) );
@endcode
You can later change choices of property by using wxPGProperty::InsertChoice(),
wxPGProperty::DeleteChoice(), and wxPGProperty::SetChoices().
You can later change choices of property by using wxPGProperty::AddChoice(),
wxPGProperty::InsertChoice(), wxPGProperty::DeleteChoice(), and
wxPGProperty::SetChoices().
<b>wxEditEnumProperty</b> is works exactly like wxEnumProperty, except
is uses non-readonly combobox as default editor, and value is stored as