Small tip when using wxWidgets

Always put your controls in a sizer inside a panel. So, the actual tree would be frame > sizer > panel > sizer > ... controls

The reason is that the panel component will enable tab traversal. Also, the panel can so be used to group the widgets into logical groups, to facilitate traversing them with the tab key. Oh, did I mention wxGlade (from cvs) rules?

Comments