#include </home/zeitlin/src/wx/github/interface/wx/grid.h>
This class may be used to render in a cell a number as a textual equivalent.
The corresponding text strings are specified as comma-separated items in the string passed to this renderer ctor or SetParameters() method. For example, if this string is "John,Fred,Bob"
the cell will be rendered as "John", "Fred" or "Bob" if its contents is 0, 1 or 2 respectively.
Public Member Functions | |
wxGridCellEnumRenderer (const wxString &choices=wxEmptyString) | |
Enum renderer ctor. | |
virtual void | SetParameters (const wxString ¶ms) |
Sets the comma separated string content of the enum. |
wxGridCellEnumRenderer::wxGridCellEnumRenderer | ( | const wxString & | choices = wxEmptyString | ) |
Enum renderer ctor.
choices | Comma separated string parameters "item1[,item2[...,itemN]]". |
virtual void wxGridCellEnumRenderer::SetParameters | ( | const wxString & | params | ) | [virtual] |
Sets the comma separated string content of the enum.
params | Comma separated string parameters "item1[,item2[...,itemN]]". |