wxVariant& childValue ) const
{
wxSize& size = wxSizeRefFromVariant(thisValue);
- int val = wxPGVariantToInt(childValue);
+ int val = childValue.GetLong();
switch ( childIndex )
{
case 0: size.x = val; break;
wxVariant& childValue ) const
{
wxPoint& point = wxPointRefFromVariant(thisValue);
- int val = wxPGVariantToInt(childValue);
+ int val = childValue.GetLong();
switch ( childIndex )
{
case 0: point.x = val; break;