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
This commit is contained in:
Paul Cornett
2015-02-11 18:11:07 +00:00
parent 66780715c0
commit e88904ccad

View File

@@ -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<wxWindowGTK*>(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<wxWindowGTK*>(m_parent)->DoGetClientSize(&w, NULL);
*x = w - *x;
DoGetClientSize(&w, NULL);