]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
fix drawing of the column move hint when the grid is scrolled to the right (#9776)
[wxWidgets.git] / 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 );
+                        DoPrepareDC(dc);
 
                         int cw, ch;
                         m_colLabelWin->GetClientSize( &cw, &ch );