Hi,
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:
http://lothar.dnsalias.net/wordpress/?page_id=14
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);
frame->SetAutoLayout(TRUE);
notebook->SetAutoLayout(TRUE);
sizerMain->Add(notebook, 1, wxEXPAND | wxALL, 0);
frame->SetSizer(sizerMain);
frame->getAUIManager().AddPane(notebook, wxCENTER, wxT("Workplace"));
frame->getAUIManager().Update();
}
}
Thanks, Lothar
Kirix Support Forums
Usage with wxNotebook based forms
1 post
• Page 1 of 1
1 post
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback