]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/toplevel.cpp
Remove several hack from PS code, use high resolution code from GNOME print, invert...
[wxWidgets.git] / src / dfb / toplevel.cpp
index c8c36de1f16acb34b47c367a6207059f23719d06..cac71c9acb33009db48f3c8a78dd0012608391c3 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "wx/dfb/private.h"
 
-#define TRACE_EVENTS _T("events")
+#define TRACE_EVENTS "events"
 
 // ============================================================================
 // wxTopLevelWindowDFB
@@ -179,9 +179,9 @@ void wxTopLevelWindowDFB::HandleFocusEvent(const wxDFBWindowEvent& event_)
     const bool activate = (dfbevent.type == DWET_GOTFOCUS);
 
     wxLogTrace(TRACE_EVENTS,
-               _T("toplevel window %p ('%s') %s focus"),
+               "toplevel window %p ('%s') %s focus",
                this, GetName(),
-               activate ? _T("got") : _T("lost"));
+               activate ? "got" : "lost");
 
     wxActivateEvent event(wxEVT_ACTIVATE, activate, GetId());
     event.SetEventObject(this);
@@ -195,11 +195,13 @@ void wxTopLevelWindowDFB::HandleFocusEvent(const wxDFBWindowEvent& event_)
         if ( !focused || focused->GetTLW() != this )
         {
             wxLogTrace(TRACE_EVENTS,
-                       _T("setting wx focus to toplevel window %p ('%s')"),
+                       "setting wx focus to toplevel window %p ('%s')",
                        this, GetName());
 
             if ( CanAcceptFocus() )
                 SetFocus();
+            else
+                wxLogTrace(TRACE_EVENTS, "...which doesn't accept it");
         }
     }
 }