From e88904ccad4b16e621a3e61d843e1ccbd31ae668 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 11 Feb 2015 18:11:07 +0000 Subject: [PATCH] build fix for __WXUNIVERSAL__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index c03f2b8457..ed33ca19af 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3120,7 +3120,7 @@ void wxWindowGTK::DoClientToScreen( int *x, int *y ) const { int w; // undo RTL conversion done by parent - m_parent->DoGetClientSize(&w, NULL); + static_cast(m_parent)->DoGetClientSize(&w, NULL); *x = w - *x; DoGetClientSize(&w, NULL); @@ -3190,7 +3190,7 @@ void wxWindowGTK::DoScreenToClient( int *x, int *y ) const { int w; // undo RTL conversion done by parent - m_parent->DoGetClientSize(&w, NULL); + static_cast(m_parent)->DoGetClientSize(&w, NULL); *x = w - *x; DoGetClientSize(&w, NULL);