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?
Custom Control Events in wxCrafter 2.7
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Jan 29, 2018 5:40 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Custom Control Events in wxCrafter 2.7
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Custom Control Events in wxCrafter 2.7
Thanks for reporting this!
This is indeed a bug
I committed a fix and this should be available in the coming CodeLite weekly build
This is indeed a bug
I committed a fix and this should be available in the coming CodeLite weekly build
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Jan 29, 2018 5:40 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Custom Control Events in wxCrafter 2.7
Excellent! Thanks for the quick response.