wxPGVariantData Class Reference

wxVariantData with additional functionality. More...

#include <propgrid.h>

List of all members.

Public Member Functions

virtual wxVariant GetDefaultValue () const =0
virtual void * GetValuePtr ()=0

Detailed Description

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.


Member Function Documentation

virtual wxVariant wxPGVariantData::GetDefaultValue (  )  const [pure virtual]
virtual void* wxPGVariantData::GetValuePtr (  )  [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 09:34:07 2013