]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
font size fix for <PRE>
[wxWidgets.git] / src / motif / window.cpp
index 7eff6fe36c805bb84588c8ad9284d69486e69fa0..627a7afd8a21531d654936a933e69a2a736499ba 100644 (file)
@@ -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)
                 {