tons of fixes for wxGTK/Univ - seems to work, more or less, now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-03 19:38:19 +00:00
parent 67d95e11cf
commit 3379ed3789
56 changed files with 1315 additions and 932 deletions

View File

@@ -1454,11 +1454,13 @@ void wxGTKRenderer::DrawRadioButton(wxDC& dc,
// text control
// ----------------------------------------------------------------------------
static const int TEXT_BORDER = 2;
wxRect wxGTKRenderer::GetTextTotalArea(const wxTextCtrl *text,
const wxRect& rect)
{
wxRect rectTotal = rect;
rectTotal.Inflate(2);
rectTotal.Inflate(TEXT_BORDER);
return rectTotal;
}
@@ -1467,7 +1469,7 @@ wxRect wxGTKRenderer::GetTextClientArea(const wxTextCtrl *text,
wxCoord *extraSpaceBeyond)
{
wxRect rectText = rect;
rectText.Inflate(-2);
rectText.Inflate(-TEXT_BORDER);
if ( text->WrapLines() )
{