From 00816903551c2c4840b4cfeee2dcda52ae3e4657 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/trunk@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 a5c4d171cf..d0eadd7ecc 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3172,7 +3172,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); @@ -3242,7 +3242,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);