#if defined(__WXMOTIF__)
int width, height;
frame->GetSize(& width, & height);
- frame->SetSize(wxDefaultPosition.x, wxDefaultPosition.y, width, height);
+ frame->SetSize(wxDefaultCoord, wxDefaultCoord, width, height);
#endif
frame->Show();
m_notebook->AddPage(page, str, false, m_notebook->GetIconIndex() );
}
- m_sizerTop->Remove(notebook);
+ m_sizerTop->Detach(notebook);
delete notebook;