Rename resizeContents to setContentsSize and make it cross-platform.
Created attachment 23839 [details] Patch
Comment on attachment 23839 [details] Patch you break wx -- + win->SetVirtualSize(newSize.width(), newSize.height()); should be platformWdiget()->SetVirtualSize...
Fixed in r36931.