X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/372c2812d998fb9fb34ba1a8cf148768450a1bbf..5a2db5f1df5f0ac0a034366195c11047a416bf6a:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 13d8d1054c..06eb991243 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -4117,6 +4117,7 @@ void wxTextCtrl::DoDraw(wxControlRenderer *renderer) // the update region is in window coords and text area is in the client // ones, so it must be shifted before computing intersection wxRegion rgnUpdate = GetUpdateRegion(); + wxRect rectTextArea = GetRealTextArea(); wxPoint pt = GetClientAreaOrigin(); wxRect rectTextAreaAdjusted = rectTextArea;