git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1932
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*value = (long) (((wxVariantDataReal*)GetData())->GetValue());
else if (type == "long")
*value = ((wxVariantDataLong*)GetData())->GetValue();
*value = (long) (((wxVariantDataReal*)GetData())->GetValue());
else if (type == "long")
*value = ((wxVariantDataLong*)GetData())->GetValue();
else if (type == "bool")
*value = (long) (((wxVariantDataBool*)GetData())->GetValue());
else if (type == "bool")
*value = (long) (((wxVariantDataBool*)GetData())->GetValue());
else if (type == "string")
*value = atol((const char*) ((wxVariantDataString*)GetData())->GetValue());
else
else if (type == "string")
*value = atol((const char*) ((wxVariantDataString*)GetData())->GetValue());
else
*value = ((int) (((wxVariantDataReal*)GetData())->GetValue()) != 0);
else if (type == "long")
*value = (((wxVariantDataLong*)GetData())->GetValue() != 0);
*value = ((int) (((wxVariantDataReal*)GetData())->GetValue()) != 0);
else if (type == "long")
*value = (((wxVariantDataLong*)GetData())->GetValue() != 0);
else if (type == "bool")
*value = ((wxVariantDataBool*)GetData())->GetValue();
else if (type == "bool")
*value = ((wxVariantDataBool*)GetData())->GetValue();
else if (type == "string")
{
wxString val(((wxVariantDataString*)GetData())->GetValue());
else if (type == "string")
{
wxString val(((wxVariantDataString*)GetData())->GetValue());
*value = ((wxVariantDataReal*)GetData())->GetValue();
else if (type == "long")
*value = (double) (((wxVariantDataLong*)GetData())->GetValue());
*value = ((wxVariantDataReal*)GetData())->GetValue();
else if (type == "long")
*value = (double) (((wxVariantDataLong*)GetData())->GetValue());
else if (type == "bool")
*value = (double) (((wxVariantDataBool*)GetData())->GetValue());
else if (type == "bool")
*value = (double) (((wxVariantDataBool*)GetData())->GetValue());
else if (type == "string")
*value = (double) atof((const char*) ((wxVariantDataString*)GetData())->GetValue());
else
else if (type == "string")
*value = (double) atof((const char*) ((wxVariantDataString*)GetData())->GetValue());
else
*value = ((wxVariantDataChar*)GetData())->GetValue();
else if (type == "long")
*value = (char) (((wxVariantDataLong*)GetData())->GetValue());
*value = ((wxVariantDataChar*)GetData())->GetValue();
else if (type == "long")
*value = (char) (((wxVariantDataLong*)GetData())->GetValue());
else if (type == "bool")
*value = (char) (((wxVariantDataBool*)GetData())->GetValue());
else if (type == "bool")
*value = (char) (((wxVariantDataBool*)GetData())->GetValue());