]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
use wxLongLong_t instead of long long
[wxWidgets.git] / src / aui / framemanager.cpp
index 2b6871ccb856a569a5cca1c4c757260539c636a6..e758807ecc5a993551f4217c05fee6a2b03dab10 100644 (file)
@@ -3250,6 +3250,12 @@ wxRect wxAuiManager::CalculateHintRect(wxWindow* pane_window,
     // actually show the hint rectangle on the screen
     m_frame->ClientToScreen(&rect.x, &rect.y);
 
+    if ( m_frame->GetLayoutDirection() == wxLayout_RightToLeft )
+    {
+        // Mirror rectangle in RTL mode
+        rect.x -= rect.GetWidth();
+    }
+
     return rect;
 }