wxWindow::GetClientSize() discrepancy
Vadim Zeitlin
vadim at wxwindows.org
Sun Mar 4 13:46:19 PST 2007
On Fri, 23 Feb 2007 02:30:52 +0100 Stephan Rose <kermos at somrek.net> wrote:
SR> It is being called from inside a function that is triggered by the OnSize
SR> event.
SR>
SR> MSW:
SR>
SR> GetClientSize() returns the new client size of the window.
SR>
SR> GTK:
SR>
SR> GetClientSize() returns the old client size of the window.
SR>
SR> That of course, broke my code which was expecting to get the new client size.
Does it happen for a wxTLW or a normal (child) window? Do you have a small
patch to the minimal sample demonstrating the problem which I could try?
Thanks,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list