]> git.saurik.com Git - wxWidgets.git/commit
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 16 Oct 2008 17:19:50 +0000 (17:19 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 16 Oct 2008 17:19:50 +0000 (17:19 +0000)
commit1425eca550ca78f6d0824e50376d763aff17242d
tree82765e8a8759728dd05bc8875da32f26116278ee
parentf7ca1dd4164eff38df31c21b975e9707f97bd266
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 files changed:
include/wx/propgrid/advprops.h
include/wx/propgrid/property.h
include/wx/propgrid/propgriddefs.h
include/wx/propgrid/props.h
interface/wx/propgrid/property.h
samples/propgrid/propgrid.cpp
samples/propgrid/sampleprops.cpp
samples/propgrid/sampleprops.h
src/propgrid/advprops.cpp
src/propgrid/editors.cpp
src/propgrid/property.cpp
src/propgrid/props.cpp