Hi all,
I've been experimenting but cannot seem to find a way to force an AUI floating pane to only resize horizontally.
I think the code below should work. But it makes no difference, the pane just resizes both horizontally and vertically.
Any ideas are more than welcome.
Tony.
wxAuiPaneInfo& info = pwxAuiManager->GetPane("pane name");
wxWindow* pWindow = info.window;
wxSize szBestSize = pWindow->GetBestSize();
info.MaxSize(-1, szBestSize.GetHeight()).MinSize(szBestSize);
pwxAuiManager->Update();