]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/gtk.cpp
wxFileCtrl::Update was hiding wxWindow::Update
[wxWidgets.git] / src / univ / themes / gtk.cpp
index 73ff1f53227e31ba07488c98db4f4c035004ba94..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() )
     {
@@ -2395,7 +2395,7 @@ void wxGTKRenderer::AdjustSize(wxSize *size, const wxWindow *window)
             size->y += 4;
         }
     } else
-#endif wxUSE_BUTTON
+#endif //wxUSE_BUTTON
     if ( wxDynamicCast(window, wxScrollBar) )
     {
         // we only set the width of vert scrollbars and height of the