background bitmap test added, other minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -558,7 +558,7 @@ wxLayoutWindow::ScrollToCursor(void)
|
||||
// Make sure that the scrollbars are at a position so that the cursor is
|
||||
// visible if we are editing
|
||||
WXLO_DEBUG(("m_ScrollToCursor = %d", (int) m_ScrollToCursor));
|
||||
wxPoint cc = m_llist->GetCursorScreenPos(*m_memDC);
|
||||
wxPoint cc = m_llist->GetCursorScreenPos(dc);
|
||||
|
||||
// the cursor should be completely visible in both directions
|
||||
wxPoint cs(m_llist->GetCursorSize());
|
||||
|
Reference in New Issue
Block a user