Make GUI DPI-aware

This commit is contained in:
2018-09-17 11:43:19 +02:00
parent dd0bceafdc
commit 10b321a92c
18 changed files with 192 additions and 184 deletions

View File

@@ -19,7 +19,7 @@ wxEventMonitorLogPanelBase::wxEventMonitorLogPanelBase( wxWindow* parent, wxWind
bSizerMain = new wxBoxSizer( wxVERTICAL );
m_log = new wxETWListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_NO_SORT_HEADER|wxLC_REPORT|wxLC_VIRTUAL|wxNO_BORDER, wxDefaultValidator, wxT("EventMonitorLog") );
bSizerMain->Add( m_log, 1, wxEXPAND, 5 );
bSizerMain->Add( m_log, 1, wxEXPAND, FromDIP(5) );
this->SetSizer( bSizerMain );