Search found 8 matches
- Sun Jul 24, 2022 6:25 pm
- Forum: General Development
- Topic: wxEvent related question
- Replies: 3
- Views: 11713
Re: wxEvent related question
I have read the linked document and a few others. :D But, I have not been able to find the answer. Perhaps, I should frame my question a little differently. Specifically, I was trying the understand the relevance or significance of the second parameter to the "wxDEFINE_EVENT" macro. By loo...
- Thu Jul 21, 2022 11:18 pm
- Forum: General Development
- Topic: wxEvent related question
- Replies: 3
- Views: 11713
wxEvent related question
Hi, I have a question related to the wxWidgets' event systems which I have not been able to find answer to. The question is related to the wxDEFINE_EVENT macro. For example: wxDEFINE_EVENT(MY_EVENT, wxCommandEvent); My understanding is that the above macro would define an event type "MY_EVENT&q...
- Tue Nov 13, 2018 12:13 am
- Forum: General Development
- Topic: Looking for wxAUI guide for developer
- Replies: 1
- Views: 1761
Looking for wxAUI guide for developer
I am trying to understand the AUI concept and have been looking for a high level description of the various design principles and concepts involved. So far, I have been able to locate some information at this website: http://www.kirix.com/labs/wxaui/documentation/class-reference.html. Specifically, ...
- Sun Nov 11, 2018 3:57 am
- Forum: C++ Development
- Topic: default constructors in wxWidgets
- Replies: 9
- Views: 2553
Re: default constructors in wxWidgets
I will take a stab at this. The 2 steps object creation seems to be necessary in the situations where it is not convenient to make all data available via the constructor. In cases like these, it is possible to partially create the object using the default constructors as these constructor do not ini...
- Sat Nov 10, 2018 9:43 pm
- Forum: C++ Development
- Topic: best practice on frame creation and deletion
- Replies: 3
- Views: 655
Re: best practice on frame creation and deletion
You have provided great information on the subject. Thank you. Just a few follow ups: 1. if there is a requirement to collect and persist any config data, would it make sense to do it in the OnExit() function? If so, it would make sense to call ExitMainLoop() when the TLW's close icon is clicked, ri...
- Sat Nov 10, 2018 8:07 pm
- Forum: C++ Development
- Topic: best practice on frame creation and deletion
- Replies: 3
- Views: 655
best practice on frame creation and deletion
I have a general question regarding a best practice on frame creation and deletion. As I understand it, the top level frame such as wxFrame should be created in the OnInit() function of wxAPP using a statement like: myFrame *frame_p = new myFrame(...); // where myFrame has been derived from wxFrame ...
- Thu Nov 01, 2018 10:38 pm
- Forum: Platform Related Issues
- Topic: A question about Window icon vs application icon
- Replies: 3
- Views: 6953
Re: A question about Window icon vs application icon
Thank you guys for yr informative response. I have a followup question regarding how icons for an application/program and its associated top-level window should be handled. In general, I think there the top level window should always use the same icon associated with the application. As such, I thin...
- Thu Nov 01, 2018 5:25 am
- Forum: Platform Related Issues
- Topic: A question about Window icon vs application icon
- Replies: 3
- Views: 6953
A question about Window icon vs application icon
I have just started playing with wxWidget recently so I am asking a newbie question. My question is specific to MSW. As I have observed, when creating a top level window (eg: wxFrame), the window icon is initialized to that of the default application icon even when the icon associated with the appli...