Search found 6 matches

by xtc
Tue Nov 13, 2018 12:13 am
Forum: General Development
Topic: Looking for wxAUI guide for developer
Replies: 1
Views: 348

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, ...
by xtc
Sun Nov 11, 2018 3:57 am
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 7
Views: 232

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...
by xtc
Sat Nov 10, 2018 9:43 pm
Forum: C++ Development
Topic: best practice on frame creation and deletion
Replies: 3
Views: 152

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...
by xtc
Sat Nov 10, 2018 8:07 pm
Forum: C++ Development
Topic: best practice on frame creation and deletion
Replies: 3
Views: 152

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 ...
by xtc
Thu Nov 01, 2018 10:38 pm
Forum: Platform Related Issues
Topic: A question about Window icon vs application icon
Replies: 3
Views: 1600

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...
by xtc
Thu Nov 01, 2018 5:25 am
Forum: Platform Related Issues
Topic: A question about Window icon vs application icon
Replies: 3
Views: 1600

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...