Added another log.h; removed redundant trace args

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-08-30 21:06:05 +00:00
parent 4d1cbdbe17
commit 89cd4125bd
3 changed files with 4 additions and 5 deletions

View File

@ -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"

View File

@ -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);

View File

@ -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;
}