]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/gtk.cpp
The mac toolbar was redrawing buttons when not shown -
[wxWidgets.git] / src / univ / themes / gtk.cpp
index 870ec38160d3e2a529441caa5e8432487eb1b17d..39a0ba958efa6133c0e7f556a6a65ab1f905c812 100644 (file)
@@ -1566,7 +1566,7 @@ wxRect wxGTKRenderer::GetTextClientArea(const wxTextCtrl *text,
                                         wxCoord *extraSpaceBeyond)
 {
     wxRect rectText = rect;
-    rectText.Inflate(-2*BORDER_THICKNESS);
+    rectText.Deflate(2*BORDER_THICKNESS);
 
     if ( text->WrapLines() )
     {