Hi! Try it by using wxGlade and after playing around with it it will be quite obvious :)
Seriously: A panel is nothing more then a blank space where you can put you controls on or draw on it. If you have a wxFrame and show it, there will be a dark gray area, meaning it is blank. Adding a wxPanel to that frame will make the client area show a light gray area. This is your panel coloured with the default system colour.
If you want to add two panles to a sizer/frame, set a box sizer for the frame and add both panels to it.
upcaseupCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |