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:
@@ -1540,10 +1540,10 @@ static wxVoidPtrBoolMap gs_needCursorResetMap;
|
|||||||
|
|
||||||
static const wxCursor* gs_overrideCursor;
|
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);
|
wxSetCursorEvent event(x, y);
|
||||||
wxWindow* w = win;
|
wxWindowGTK* w = win;
|
||||||
do {
|
do {
|
||||||
if (w->GTKProcessEvent(event))
|
if (w->GTKProcessEvent(event))
|
||||||
{
|
{
|
||||||
@@ -3742,7 +3742,7 @@ void wxWindowGTK::GTKUpdateCursor(bool isBusyOrGlobalCursor, bool isRealize)
|
|||||||
isBusyOrGlobalCursor = true;
|
isBusyOrGlobalCursor = true;
|
||||||
else if (wxIsBusy())
|
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)))
|
if (win && win->m_widget && !gtk_window_get_modal(GTK_WINDOW(win->m_widget)))
|
||||||
isBusyOrGlobalCursor = true;
|
isBusyOrGlobalCursor = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user