wxVariantData with additional functionality. More...
#include <propgrid.h>
Public Member Functions | |
virtual wxVariant | GetDefaultValue () const =0 |
virtual void * | GetValuePtr ()=0 |
wxVariantData with additional functionality.
It is usually enough to use supplied to macros to automatically generate variant data class. Like so:
// In header WX_PG_DECLARE_VARIANT_DATA(wxPGVariantDataMyClass, // Name of the class MyClass, // Name of the data type wxEMPTY_PARAMETER_VALUE) // Declaration // In source WX_PG_IMPLEMENT_VARIANT_DATA(wxPGVariantDataMyClass, MyClass)
If your class is derived from wxObject, it is recommended that you use wxObject-versions of the macros (WX_PG_DECLARE_WXOBJECT_VARIANT_DATA and WX_PG_IMPLEMENT_WXOBJECT_VARIANT_DATA).
Definition at line 1555 of file propgrid.h.
virtual wxVariant wxPGVariantData::GetDefaultValue | ( | ) | const [pure virtual] |
virtual void* wxPGVariantData::GetValuePtr | ( | ) | [pure virtual] |