X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1afe597ebaa6bf9410bbc3c8e73ed7791aa4d640..6fb0a92e2c3ec26a1c94083d793b44b2a906daa1:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 7eff6fe36c..627a7afd8a 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -1718,7 +1718,7 @@ bool wxAddWindowToTable(Widget w, wxWindow *win) wxWidgetHashTable->Put((long) w, win); - wxLogDebug("Widget 0x%08x <-> window %p (%s)", + wxLogTrace("widget", "Widget 0x%08x <-> window %p (%s)", w, win, win->GetClassInfo()->GetClassName()); return TRUE; @@ -2029,7 +2029,7 @@ static void wxCanvasInputEvent(Widget drawingArea, wxevent.m_metaDown = local_event.xbutton.state & Mod1Mask; wxevent.SetTimestamp(local_event.xbutton.time); - if (eventType = wxEVT_MOTION) + if ( eventType == wxEVT_MOTION ) { if (local_event.xmotion.is_hint == NotifyHint) {