#define _WX_SAMPLES_PROPGRID_SAMPLEPROPS_H_
-WX_PG_DECLARE_WXOBJECT_VARIANT_DATA(wxPGVariantDataFontData, wxFontData, wxEMPTY_PARAMETER_VALUE)
+DECLARE_VARIANT_OBJECT(wxFontData)
class wxFontDataProperty : public wxFontProperty
// I stands for internal
void SetValueI( const wxSize& value )
{
- m_value = wxSizeToVariant(value);
+ m_value = WXVARIANT(value);
}
};
// I stands for internal
void SetValueI( const wxPoint& value )
{
- m_value = wxPointToVariant(value);
+ m_value = WXVARIANT(value);
}
};
// -----------------------------------------------------------------------
-WX_PG_DECLARE_VARIANT_DATA(wxPGVariantDataArrayDouble, wxArrayDouble, wxEMPTY_PARAMETER_VALUE)
+WX_PG_DECLARE_VARIANT_DATA(wxArrayDouble)
class wxArrayDoubleProperty : public wxPGProperty
{