1. fixed wxEraseEvent in wxGTK

2. compilation fixes for Unix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-27 12:18:37 +00:00
parent 90909d6032
commit c21be757d6
6 changed files with 371 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
#include "wx/defs.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/app.h"
#include "wx/layout.h"
@@ -694,7 +694,8 @@ static int gtk_window_expose_callback( GtkWidget *widget, GdkEventExpose *gdk_ev
if (gdk_event->count == 0)
{
wxEraseEvent eevent( win->GetId() );
wxClientDC dc(win);
wxEraseEvent eevent( win->GetId(), &dc );
eevent.SetEventObject( win );
win->GetEventHandler()->ProcessEvent(eevent);