Custom Control Events in wxCrafter 2.7
Posted: Mon Jan 29, 2018 6:32 pm
Greetings,
I am using wxCrafter 2.7 on Windows 10.
I have created a custom control based on wxPanel with several controls within it: wxTextCtrl, wxListCtrl, wxStaticText, etc. This control has a custom event, as shown in the CustomControlEvents.JPG attachment.
I have created a dialog box with this custom control in it, as shown in the DialogWithCustomControl.JPG attachment. I have attached a handler to the event emitted by the custom control, called OnFileSelected. So far so good.
The problem is that when I save the wxCrafter project for the dialog, exit wxCrafter, then reenter wxCrafter and load the project for the dialog, the event handler is gone, as shown in the MissingEventHandler.JPG attachment.
Is this a bug, or am I doing something wrong?
I am using wxCrafter 2.7 on Windows 10.
I have created a custom control based on wxPanel with several controls within it: wxTextCtrl, wxListCtrl, wxStaticText, etc. This control has a custom event, as shown in the CustomControlEvents.JPG attachment.
I have created a dialog box with this custom control in it, as shown in the DialogWithCustomControl.JPG attachment. I have attached a handler to the event emitted by the custom control, called OnFileSelected. So far so good.
The problem is that when I save the wxCrafter project for the dialog, exit wxCrafter, then reenter wxCrafter and load the project for the dialog, the event handler is gone, as shown in the MissingEventHandler.JPG attachment.
Is this a bug, or am I doing something wrong?