X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1dc6ec2c656f91417b63e86579543afab723cb37..4b6930c81303eace9164234a5b5589e1904626eb:/src/aui/framemanager.cpp diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 2b6871ccb8..e758807ecc 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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; }