diff --git a/src/univ/renderer.cpp b/src/univ/renderer.cpp index 13db530ddb..0021d3f2f8 100644 --- a/src/univ/renderer.cpp +++ b/src/univ/renderer.cpp @@ -38,6 +38,7 @@ #endif // WX_PRECOMP #include "wx/image.h" +#include "wx/log.h" #include "wx/univ/theme.h" #include "wx/univ/renderer.h" diff --git a/src/x11/app.cpp b/src/x11/app.cpp index fdfe4c3a42..90daa58df0 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -568,9 +568,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event) { printf( "GraphicExpose event\n" ); - wxLogTrace( _T("expose"), _T("GraphicsExpose from %s"), win->GetName().c_str(), - event->xgraphicsexpose.x, event->xgraphicsexpose.y, - event->xgraphicsexpose.width, event->xgraphicsexpose.height); + wxLogTrace( _T("expose"), _T("GraphicsExpose from %s"), win->GetName().c_str()); win->GetUpdateRegion().Union( event->xgraphicsexpose.x, event->xgraphicsexpose.y, event->xgraphicsexpose.width, event->xgraphicsexpose.height); diff --git a/src/x11/window.cpp b/src/x11/window.cpp index a55eeb94b6..ad5607f4d2 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -1268,7 +1268,7 @@ bool wxAddWindowToTable(Window w, wxWindow *win) wxWidgetHashTable->Put((long) w, win); wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)", - w, win, win->GetClassInfo()->GetClassName()); + (unsigned int) w, win, win->GetClassInfo()->GetClassName()); return TRUE; } @@ -1300,7 +1300,7 @@ bool wxAddClientWindowToTable(Window w, wxWindow *win) wxClientWidgetHashTable->Put((long) w, win); wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)", - w, win, win->GetClassInfo()->GetClassName()); + (unsigned int) w, win, win->GetClassInfo()->GetClassName()); return TRUE; }