]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/window.mm
wxSplitterWindow mouse capture improvements and cleanup.
[wxWidgets.git] / src / osx / iphone / window.mm
index 154329afb94eeffd22bb37048358a2f15101e9c8..bcb8bc43659518b4b365e72c1fd653e223fa5a5f 100644 (file)
@@ -20,8 +20,7 @@
     #include "wx/log.h"
 #endif
 
-#include <objc/objc-runtime.h>
-
+#include <objc/runtime.h>
 
 WXWidget wxWidgetImpl::FindFocus()
 {
@@ -612,7 +611,7 @@ void wxWidgetIPhoneImpl::DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* ot
 
     if ( receivedFocus )
     {
-        wxLogTrace(_T("Focus"), _T("focus set(%p)"), static_cast<void*>(thisWindow));
+        wxLogTrace(wxT("Focus"), wxT("focus set(%p)"), static_cast<void*>(thisWindow));
         wxChildFocusEvent eventFocus((wxWindow*)thisWindow);
         thisWindow->HandleWindowEvent(eventFocus);
 
@@ -634,7 +633,7 @@ void wxWidgetIPhoneImpl::DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* ot
             thisWindow->GetCaret()->OnKillFocus();
 #endif
 
-        wxLogTrace(_T("Focus"), _T("focus lost(%p)"), static_cast<void*>(thisWindow));
+        wxLogTrace(wxT("Focus"), wxT("focus lost(%p)"), static_cast<void*>(thisWindow));
                     
         wxFocusEvent event( wxEVT_KILL_FOCUS, thisWindow->GetId());
         event.SetEventObject(thisWindow);