Document wxDataViewChoiceByIndexRenderer.
At least briefly document this class too and not only its parent wxDataViewChoiceRenderer one. Closes #14265. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1690,12 +1690,15 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxDataViewChoiceRenderer
|
A wxDataViewCtrl renderer using wxChoice control and values of strings in
|
||||||
|
it.
|
||||||
|
|
||||||
This class is used by wxDataViewCtrl to render choice controls.
|
This class is used by wxDataViewCtrl to render choice controls.
|
||||||
It stores a string so that SetValue() and GetValue() operate
|
It stores a string so that SetValue() and GetValue() operate
|
||||||
on a variant holding a string.
|
on a variant holding a string.
|
||||||
|
|
||||||
|
@see wxDataViewChoiceByIndexRenderer
|
||||||
|
|
||||||
@library{wxadv}
|
@library{wxadv}
|
||||||
@category{dvc}
|
@category{dvc}
|
||||||
*/
|
*/
|
||||||
@@ -1714,7 +1717,7 @@ public:
|
|||||||
Returns the choice referred to by index.
|
Returns the choice referred to by index.
|
||||||
*/
|
*/
|
||||||
wxString GetChoice(size_t index) const;
|
wxString GetChoice(size_t index) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns all choices.
|
Returns all choices.
|
||||||
*/
|
*/
|
||||||
@@ -1722,6 +1725,28 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
A wxDataViewCtrl renderer using wxChoice control and indexes into it.
|
||||||
|
|
||||||
|
Unlike its base wxDataViewChoiceRenderer class, this one stores the choice
|
||||||
|
index, i.e. an @c int, in the variant used by its SetValue() and
|
||||||
|
GetValue().
|
||||||
|
|
||||||
|
@library{wxadv}
|
||||||
|
@category{dvc}
|
||||||
|
*/
|
||||||
|
class wxDataViewChoiceByIndexRenderer : public wxDataViewChoiceRenderer
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
The ctor.
|
||||||
|
*/
|
||||||
|
wxDataViewChoiceByIndexRenderer( const wxArrayString &choices,
|
||||||
|
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
||||||
|
int alignment = wxDVR_DEFAULT_ALIGNMENT );
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxDataViewDateRenderer
|
@class wxDataViewDateRenderer
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user