Code: Select all
mpPG->SetPropertyAttribute(pProp, wxPG_ATTR_MIN, ConvertToVariant(0.001)); mpPG->SetPropertyAttribute(pProp, wxPG_ATTR_MAX, ConvertToVariant(1000.0));
Here, any value in the 0.001 to 1000.0 should be valid. But, the property grid displays an error message saying the "Value must be between 1 and 1." even the value is set to something valid such as 50.
As I mentioned earlier, this used to work right in earlier version of wxWidgets.
Any idea about the cause/fix?