Remove code to query GDK window origin from DoGetPosition(), it should not be necessa...
authorPaul Cornett <paulcor@bullseye.com>
Tue, 28 Feb 2012 05:29:35 +0000 (05:29 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 28 Feb 2012 05:29:35 +0000 (05:29 +0000)
commitb4261b203316bd58777d132652e0a5615d0416ea
tree4d519be7b36145ec7061230b5e03aa229515264b
parentc70b2c8f1ce4c79fb3e0e55e5c96276e4efe15cb
Remove code to query GDK window origin from DoGetPosition(), it should not be necessary, and was probably wrong anyway.
This allows removing unnecessary assertions on m_widget (see #14052).
Also, avoid setting initial position to (-1,-1)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/window.cpp