Пробовал принудительно изменять размеры страницам, не помогает.
Code: Select all
void TestAUIFrame::OnResize(wxSizeEvent& event)
{
*TextLog << "Resize Main\n";
//Freeze();
for(uint32_t i = 0; i < AuiNotebook1->GetPageCount(); i++ )
{
wxWindow * obj = AuiNotebook1->GetPage(i);
obj->SetSize(100, obj->GetSize().GetHeight());
}
//Thaw();
//Update();
}
Resize Main
resize: ID_PANEL1 (100) - P1 width: 100 (498)
resize: ID_PANEL2 (101) - P2 width: 100 (498)
resize: ID_PANEL3 (102) - P3 width: 100 (498)
resize: ID_PANEL1 (100) - P1 width: 0 (498)
resize: ID_PANEL2 (101) - P2 width: 0 (498)
resize: ID_PANEL3 (102) - P3 width: 484 (498)