initialize send_event field of GdkEventExpose we generate (bug 1245864) (Robert, please review this if possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4151,8 +4151,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
|
|
||||||
m_clipPaintRegion = false;
|
m_clipPaintRegion = false;
|
||||||
|
|
||||||
#ifndef __WXUNIVERSAL__
|
#if !defined(__WXUNIVERSAL__) && !defined(__WXGTK20__)
|
||||||
#ifndef __WXGTK20__
|
|
||||||
// The following code will result in all window-less widgets
|
// The following code will result in all window-less widgets
|
||||||
// being redrawn because the wxWidgets class is allowed to
|
// being redrawn because the wxWidgets class is allowed to
|
||||||
// paint over the window-less widgets.
|
// paint over the window-less widgets.
|
||||||
@@ -4173,6 +4172,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
gdk_event.type = GDK_EXPOSE;
|
gdk_event.type = GDK_EXPOSE;
|
||||||
gdk_event.window = pizza->bin_window;
|
gdk_event.window = pizza->bin_window;
|
||||||
gdk_event.count = 0;
|
gdk_event.count = 0;
|
||||||
|
gdk_event.send_event = TRUE;
|
||||||
|
|
||||||
wxRegionIterator upd( m_updateRegion );
|
wxRegionIterator upd( m_updateRegion );
|
||||||
while (upd)
|
while (upd)
|
||||||
@@ -4192,8 +4192,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // native GTK 1
|
||||||
#endif
|
|
||||||
|
|
||||||
m_updateRegion.Clear();
|
m_updateRegion.Clear();
|
||||||
}
|
}
|
||||||
|
@@ -4151,8 +4151,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
|
|
||||||
m_clipPaintRegion = false;
|
m_clipPaintRegion = false;
|
||||||
|
|
||||||
#ifndef __WXUNIVERSAL__
|
#if !defined(__WXUNIVERSAL__) && !defined(__WXGTK20__)
|
||||||
#ifndef __WXGTK20__
|
|
||||||
// The following code will result in all window-less widgets
|
// The following code will result in all window-less widgets
|
||||||
// being redrawn because the wxWidgets class is allowed to
|
// being redrawn because the wxWidgets class is allowed to
|
||||||
// paint over the window-less widgets.
|
// paint over the window-less widgets.
|
||||||
@@ -4173,6 +4172,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
gdk_event.type = GDK_EXPOSE;
|
gdk_event.type = GDK_EXPOSE;
|
||||||
gdk_event.window = pizza->bin_window;
|
gdk_event.window = pizza->bin_window;
|
||||||
gdk_event.count = 0;
|
gdk_event.count = 0;
|
||||||
|
gdk_event.send_event = TRUE;
|
||||||
|
|
||||||
wxRegionIterator upd( m_updateRegion );
|
wxRegionIterator upd( m_updateRegion );
|
||||||
while (upd)
|
while (upd)
|
||||||
@@ -4192,8 +4192,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // native GTK 1
|
||||||
#endif
|
|
||||||
|
|
||||||
m_updateRegion.Clear();
|
m_updateRegion.Clear();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user