Add documentation for several grid cell renderer/editor classes.

Document the previously undocumented renderers and editors.

Closes #11965.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-22 11:20:50 +00:00
parent 4582ed9478
commit db890987c6
3 changed files with 203 additions and 31 deletions

View File

@@ -148,7 +148,7 @@ private:
#include "wx/datetime.h"
// the default renderer for the cells containing Time and dates..
// the default renderer for the cells containing times and dates
class WXDLLIMPEXP_ADV wxGridCellDateTimeRenderer : public wxGridCellStringRenderer
{
public:
@@ -170,7 +170,7 @@ public:
virtual wxGridCellRenderer *Clone() const;
// parameters string format is "width[,precision]"
// output strptime()-like format string
virtual void SetParameters(const wxString& params);
protected:
@@ -184,7 +184,7 @@ protected:
#endif // wxUSE_DATETIME
// the default renderer for the cells containing Time and dates..
// renders a number using the corresponding text string
class WXDLLIMPEXP_ADV wxGridCellEnumRenderer : public wxGridCellStringRenderer
{
public:
@@ -205,7 +205,8 @@ public:
virtual wxGridCellRenderer *Clone() const;
// parameters string format is "item1[,item2[...,itemN]]"
// parameters string format is "item1[,item2[...,itemN]]" where itemN will
// be used if the cell value is N-1
virtual void SetParameters(const wxString& params);
protected: