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; }