Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxtrunk breaks compiling wxSmith; ctor of wxPGProperty has been made protected

<< < (2/5) > >>

sodev:
Using a wxStringProperty with the value <composed> does actually do what is required, it creates a composite property like it is used in current property grids: the parent property contains the child values as semicolon separated string, you can edit the values in the parent property or in the childs, the changes get synchronized and validated. Check the propgrid sample, there it works the same. The wxs file and the generated code stays identical.

This patch adds the required changes following the present style, i also removed some #ifdefs that could be spared by the defined macros (looks like these locations have been missed before), sadly it was not easy to separate both changesets so it's an all-in-one patch.

Tested only with wx-master on wxMSW, don't have the setup for the other variants.

blauzahn:
I will have a look into it tomorrow.

Thank you.

BlueHazzard:
I would really love to have a ticket about this ;) here it will get lost for sure

Miguel Gimenez:
I have created a ticket (847) with the number of fields limitation part of my patch.
I think the OP should create the ticket for the original subject.

oBFusCATed:
Compile problems never get lost... :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version