removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8b3eb85d5e
commit
3f97d339d6
@ -2159,12 +2159,10 @@ void wxUniversalRepaintProc(Widget w, XtPointer WXUNUSED(c_data), XEvent *event,
|
||||
{
|
||||
case Expose:
|
||||
{
|
||||
Display *display = (Display *) win -> GetXDisplay();
|
||||
|
||||
win->AddUpdateRect(event->xexpose.x, event->xexpose.y,
|
||||
event->xexpose.width, event->xexpose.height);
|
||||
|
||||
if (event -> xexpose.count == 0)
|
||||
if ( event->xexpose.count == 0 )
|
||||
{
|
||||
win->DoPaint();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user