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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user