Hi Guys,
Two things. I've done some more work on wxSmith's problems, specifically the colour property. The main problem seems to be that
int type = wxEnumPropertyClass::DoGetValue().GetLong();
in wxsMyColourPropertyClass::OnEvent() usually returns 0. I would have said "always" except that during the last run I saw the value 33 a few times, for unknown reasons. Either way, it always ends up failing to match any of the conditionals and therefore, we get no action. I've been unable to trace why, other than that it falls through to wxPGProperty::DoGetValue(). I can't see how the value is set or why it's not getting the right value.
I also tried building a new property based on the 1.4 docs, but it behaves the same way as soon as I start using wxEnumPropertyClass.
I think we need to try to resurrect it if we can because it adds some features over the default wxSystemColourProperty, such as the "default" entry. One option might be to steal that and modify it.
There seems to be some sort of refresh problem, in general, that stops the text appearing for the other properties but, again, where and why is anyone's guess.
If whomever did the upgrade has a better knowledge of wxSmith's internals, perhaps it should go back to them to find out what didn't upgrade as intended?
The other thing is that I received a call 15 mins ago saying that I've finally got a real job. So, from Monday, I will have much less time to work on C::B. Reality bites, huh? ;-)
I'll still be around, though.
Cheers.