Make generic wxDataViewCtrl rows a bit taller.

They now use the same height that Windows 7's Explorer uses. This makes
more inline editor controls fit comfortably.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2011-11-23 13:43:04 +00:00
parent 5f4994df03
commit a2a4e18c10

View File

@@ -1357,7 +1357,7 @@ wxDataViewMainWindow::wxDataViewMainWindow( wxDataViewCtrl *parent, wxWindowID i
m_useCellFocus = false; m_useCellFocus = false;
m_currentRow = 0; m_currentRow = 0;
m_lineHeight = wxMax( 17, GetCharHeight() + 2 ); // 17 = mini icon height + 1 m_lineHeight = wxMax( 17, GetCharHeight() + 4 ); // 17 = mini icon height + 1
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP
m_dragCount = 0; m_dragCount = 0;