If you change the testapp code to have:
- Code: Select all
m_mgr.AddPane(m_browser, wxAuiPaneInfo().
Name(wxT("Browser")).
Show().PinButton(true));
instead of in MyFrame::MyFrame():
- Code: Select all
m_mgr.AddPane(m_browser, wxAuiPaneInfo().
Name(wxT("Browser")).
CenterPane().Show());
Then start the application and unpin the webcontrol pane from the main window. If you now try to browse a new window appears with the web page in it and the floating pane is not correctly redrawn. The new window is of the correct size but it looks like the control has become disconnected from the floating pane.
This doesn't happen in a Windows build.
Cheers
Nigel