]> git.saurik.com Git - wxWidgets.git/commitdiff
fix drawing of the column move hint when the grid is scrolled to the right (#9776)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Sep 2008 00:19:41 +0000 (00:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Sep 2008 00:19:41 +0000 (00:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index a09bdeacfe341920214e247f7b137d82dac38d44..f3e87515e50743221c45b5ce1de81b7b0805dce2 100644 (file)
@@ -5580,6 +5580,7 @@ void wxGrid::ProcessColLabelMouseEvent( wxMouseEvent& event )
                     if ( markerX != m_dragLastPos )
                     {
                         wxClientDC dc( m_colLabelWin );
                     if ( markerX != m_dragLastPos )
                     {
                         wxClientDC dc( m_colLabelWin );
+                        DoPrepareDC(dc);
 
                         int cw, ch;
                         m_colLabelWin->GetClientSize( &cw, &ch );
 
                         int cw, ch;
                         m_colLabelWin->GetClientSize( &cw, &ch );