wxPGProperty::AddChild() can now be used to add normal child properties (previously...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 14 Oct 2008 17:15:59 +0000 (17:15 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 14 Oct 2008 17:15:59 +0000 (17:15 +0000)
commit2fd4a52415273bce03708dcdd7af4a4e2523f540
tree2dfd5717ce7217c41cdacb9997ce3e333a0f0992
parentc8c86bd0ba6afbdea60fb6c6986cb72e2d750a8d
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().

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