From eb789bbf061e44a92c6a29621035d95d25f901f6 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 15 Mar 2014 19:34:31 +0000 Subject: [PATCH] build fixes for wxUniversal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 044c7ca587..043dec0ff2 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1540,10 +1540,10 @@ static wxVoidPtrBoolMap gs_needCursorResetMap; static const wxCursor* gs_overrideCursor; -static void SendSetCursorEvent(wxWindow* win, int x, int y) +static void SendSetCursorEvent(wxWindowGTK* win, int x, int y) { wxSetCursorEvent event(x, y); - wxWindow* w = win; + wxWindowGTK* w = win; do { if (w->GTKProcessEvent(event)) { @@ -3742,7 +3742,7 @@ void wxWindowGTK::GTKUpdateCursor(bool isBusyOrGlobalCursor, bool isRealize) isBusyOrGlobalCursor = true; else if (wxIsBusy()) { - wxWindow* win = wxGetTopLevelParent(this); + wxWindow* win = wxGetTopLevelParent(static_cast(this)); if (win && win->m_widget && !gtk_window_get_modal(GTK_WINDOW(win->m_widget))) isBusyOrGlobalCursor = true; }