Kirix Support Forums

Usage with wxNotebook based forms

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

Usage with wxNotebook based forms

Postby lollisoft on Tue Feb 14, 2006 6:54 am


I have tried wxAUI in my application that uses sizers for the notebook
to fit my forms into the main frame.

There is a 'ugly' repainting problem (wxMac). If I resize the window, it gets darker and darker. This also happens when a button is pressed.

Are there any hints when using wxNotebooks with sizerbased layouts ?

My frame constructors are proper initializing the manager.

Here you will find a screenshot:

Here is the code that adds the notebook to the manager:

if (frame->isPanelUsage()) {
if (!notebook) {
notebook = new wxNotebook(frame, -1);
sizerMain = new wxBoxSizer(wxVERTICAL);


sizerMain->Add(notebook, 1, wxEXPAND | wxALL, 0);


frame->getAUIManager().AddPane(notebook, wxCENTER, wxT("Workplace"));


Thanks, Lothar

Return to wxAUI Questions, Thoughts & Feedback