Temporarily use self-made wxTextCtrl in wxX11 until

the in /src/univ.cpp works better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-04-01 11:41:59 +00:00
parent 8a328874b6
commit 4175e95227
13 changed files with 2866 additions and 337 deletions

View File

@@ -4160,12 +4160,12 @@ bool wxWin32ScrollBarInputHandler::HandleMouseMove(wxInputConsumer *control,
wxPoint pos = event.GetPosition();
if (scrollbar->HasFlag( wxVERTICAL ))
{
if (pos.x > -20 && pos.x < scrollbar->GetSize().x+20)
if (pos.x > -40 && pos.x < scrollbar->GetSize().x+40)
pos.x = 5;
}
else
{
if (pos.y > -20 && pos.y < scrollbar->GetSize().y+20)
if (pos.y > -40 && pos.y < scrollbar->GetSize().y+40)
pos.y = 5;
}
ht = m_renderer->HitTestScrollbar(scrollbar, pos );