]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/utils.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / dfb / utils.cpp
index 78240916a9dda1657a3aaa36b47f0be2abe3f9d5..3e201ae40ccb626b4f26a5790b323a4532ce1fab 100644 (file)
@@ -40,10 +40,11 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const
 }
 
 
-wxEventLoop* wxGUIAppTraits::CreateEventLoop()
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
 {
     return new wxEventLoop;
-};
+}
+
 // ----------------------------------------------------------------------------
 // display characteristics
 // ----------------------------------------------------------------------------
@@ -115,7 +116,7 @@ wxPoint wxGetMousePosition()
 bool wxGetKeyState(wxKeyCode key)
 {
     wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key != WXK_MBUTTON,
-                 _T("can't use wxGetKeyState() for mouse buttons"));
+                 "can't use wxGetKeyState() for mouse buttons");
 
     return false; // FIXME
 }
@@ -130,6 +131,6 @@ void wxBell()
 
 int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
 {
-    wxFAIL_MSG( _T("wxAddProcessCallback not implemented") );
+    wxFAIL_MSG( "wxAddProcessCallback not implemented" );
     return 0;
 }