wxUiEditor
wxUiEditor copied to clipboard
Bug: derived_params not used during code generation
Hi,
I'm trying to use the derived_class
, and derived_params
properties to generate a base class for my main frame window that inherits from something other than wxFrame
(such as wxDocParentFrame
). Specifiying derived_class
works, the new base class name is used. Unfortunately, the generated base class won't compile.
The derived_params
property seems to be broken. Nothing I enter here gets added to the generated code anywhere. For instance, I set the property to wxDocManager* manager,
so that the Create() signature will be compatible with the base class, but this doesn't result in any new parameters being inserted anywhere in the ctor/Create() or anywhere else. It seems this setting is completely ignored during code generation. In fact, adding text here and then trying to generate code tells me that "All classes are up to date".
derived_params
not being used is kind of a show-stopper, because it means I have to hand-edit the base class every time it's regenerated to fix up the Create parameters.