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
This commit is contained in:
Paul Cornett
2014-03-15 19:34:31 +00:00
parent d737ca76bd
commit eb789bbf06

View File

@@ -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<wxWindow*>(this));
if (win && win->m_widget && !gtk_window_get_modal(GTK_WINDOW(win->m_widget)))
isBusyOrGlobalCursor = true;
}