]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / motif / window.cpp
index 5e39ed8eef01a2ad7136062d6bc8ae3df65d6ef5..456b75c71560c12cc2021d57e09277c016dae6be 100644 (file)
@@ -2984,7 +2984,7 @@ void wxWindow::ChangeFont(bool keepOriginalSize)
 wxWindow *wxGetActiveWindow()
 {
     // TODO
 wxWindow *wxGetActiveWindow()
 {
     // TODO
-    wxFAIL_MSG(_("Not implemented"));
+    wxFAIL_MSG("Not implemented");
     return NULL;
 }
 
     return NULL;
 }
 
@@ -2992,9 +2992,7 @@ wxWindow *wxGetActiveWindow()
 // position.
 wxWindow* wxFindWindowAtPointer(wxPoint& pt)
 {
 // position.
 wxWindow* wxFindWindowAtPointer(wxPoint& pt)
 {
-    pt = wxGetMousePosition();
-    wxWindow* found = wxFindWindowAtPoint(pt);
-    return found;
+    return wxFindWindowAtPoint(wxGetMousePosition());
 }
 
 // Get the current mouse position.
 }
 
 // Get the current mouse position.