X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f8130d6b3012265895fd69ce394c443c045b709..b910a8add446261996bc8d22e6545e6bdb373b8b:/src/msw/statbox.cpp diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index 07b6e67c9f..bbd39a04dc 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -386,7 +386,7 @@ void wxStaticBox::PaintForeground(wxDC& dc, const RECT& WXUNUSED(rc)) const int x = 9; // TODO: RTL? - RECT rc = { x, 0, GetSize().x - x, y }; + RECT rc = { x, 0, GetSize().x, y }; const wxString label = GetLabel(); ::DrawText(hdc, label, label.length(), &rc, DT_SINGLELINE | DT_VCENTER);