X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cdb6fdb13211372fbb5cca180f011488cbac93e..40e5ebbf98728d627e4d3c9e3a57f28f5bb8fcb9:/src/x11/window.cpp diff --git a/src/x11/window.cpp b/src/x11/window.cpp index a2ea6261c2..2e2df49db8 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -160,6 +160,8 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id, if (pos2.y == wxDefaultCoord) pos2.y = 0; + AdjustForParentClientOrigin(pos2.x, pos2.y); + #if wxUSE_TWO_WINDOWS bool need_two_windows = ((( wxSUNKEN_BORDER | wxRAISED_BORDER | wxSIMPLE_BORDER | wxHSCROLL | wxVSCROLL ) & m_windowStyle) != 0);