wxPropertyGrid and EVT_PG_CHANGED
Terry Farnham
TerryF at PipeWorks.Com
Tue Apr 8 08:20:39 PDT 2008
Thanks for the reply. I did discover this method which Jaakko has
assured me is a valid way of performing the action I need.
GetGrid()->EditorsValueWasModified();
GetGrid()->DoPropertyChanged(control, &variant);
-----Original Message-----
From: wx-users-bounces at lists.wxwidgets.org
[mailto:wx-users-bounces at lists.wxwidgets.org] On Behalf Of Robert
Roebling
Sent: Tuesday, April 08, 2008 3:01 AM
To: wx-users at lists.wxwidgets.org
Subject: Re: wxPropertyGrid and EVT_PG_CHANGED
Terry Farnham wrote:
> I am using version 1.3.2 of wxPropertyGrid. Does anyone know how to
> propgramatically set a value of a wxPGProperty and have it generate
> the EVT_PG_CHANGED event? I also would like the property to indicate
> that it has been modified. I currently use SetPropertyValue(...), but
> it does not generate the event
I have no idea about the internals of wxPropertyGrid, but it is common
in wxWidgets that after changing something programmatically, no events
are sent. After all, you know something was changed since you changed it
yourself.
Robert
_______________________________________________
wx-users mailing list
wx-users at lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wx-users
More information about the wx-users
mailing list