Use client size determined by size-allocate when possible
authorPaul Cornett <paulcor@bullseye.com>
Thu, 20 Dec 2012 18:46:58 +0000 (18:46 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 20 Dec 2012 18:46:58 +0000 (18:46 +0000)
commitb0d053c1eac3100e02468c73798111028819ad0a
treee4aadcdbbf30b58347101bf87c85ea6dff5f0d8e
parent833e100f7ff356db8469721ae104b6b2177c0dae
Use client size determined by size-allocate when possible

Our client size calculation can be wrong for reasons beyond our control,
notably on Ubuntu 12.04 with overlay scrollbars where the GtkScrolledWindow
"scrollbar-spacing" is wrong. By using the true size from size-allocate
when it becomes available, we can recover from an earlier incorrect client
size calculation. See #14871

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/window.h
src/gtk/frame.cpp
src/gtk/mdi.cpp
src/gtk/minifram.cpp
src/gtk/toplevel.cpp
src/gtk/window.cpp