Fix "tall row" height in the dataview sample in high DPI

Add missing FromDIP() to ensure that the rows are really tall.
This commit is contained in:
Vadim Zeitlin
2022-01-22 23:37:09 +00:00
parent e6addf1128
commit 90bbde8777

View File

@@ -1106,7 +1106,7 @@ void MyFrame::BuildDataViewCtrl(wxPanel* parent, unsigned int nPanel,
}
if ( HasModelFlag(MODEL_USE_TALL_ROWS) )
m_ctrl[nPanel]->SetRowHeight(32);
m_ctrl[nPanel]->SetRowHeight(FromDIP(32));
}