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:
@@ -38,6 +38,7 @@
|
|||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
|
||||||
#include "wx/univ/theme.h"
|
#include "wx/univ/theme.h"
|
||||||
#include "wx/univ/renderer.h"
|
#include "wx/univ/renderer.h"
|
||||||
|
@@ -568,9 +568,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
|
|||||||
{
|
{
|
||||||
printf( "GraphicExpose event\n" );
|
printf( "GraphicExpose event\n" );
|
||||||
|
|
||||||
wxLogTrace( _T("expose"), _T("GraphicsExpose from %s"), win->GetName().c_str(),
|
wxLogTrace( _T("expose"), _T("GraphicsExpose from %s"), win->GetName().c_str());
|
||||||
event->xgraphicsexpose.x, event->xgraphicsexpose.y,
|
|
||||||
event->xgraphicsexpose.width, event->xgraphicsexpose.height);
|
|
||||||
|
|
||||||
win->GetUpdateRegion().Union( event->xgraphicsexpose.x, event->xgraphicsexpose.y,
|
win->GetUpdateRegion().Union( event->xgraphicsexpose.x, event->xgraphicsexpose.y,
|
||||||
event->xgraphicsexpose.width, event->xgraphicsexpose.height);
|
event->xgraphicsexpose.width, event->xgraphicsexpose.height);
|
||||||
|
@@ -1268,7 +1268,7 @@ bool wxAddWindowToTable(Window w, wxWindow *win)
|
|||||||
wxWidgetHashTable->Put((long) w, win);
|
wxWidgetHashTable->Put((long) w, win);
|
||||||
|
|
||||||
wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)",
|
wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)",
|
||||||
w, win, win->GetClassInfo()->GetClassName());
|
(unsigned int) w, win, win->GetClassInfo()->GetClassName());
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@@ -1300,7 +1300,7 @@ bool wxAddClientWindowToTable(Window w, wxWindow *win)
|
|||||||
wxClientWidgetHashTable->Put((long) w, win);
|
wxClientWidgetHashTable->Put((long) w, win);
|
||||||
|
|
||||||
wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)",
|
wxLogTrace("widget", "XWindow 0x%08x <-> window %p (%s)",
|
||||||
w, win, win->GetClassInfo()->GetClassName());
|
(unsigned int) w, win, win->GetClassInfo()->GetClassName());
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user