Fix wx 3.0 build

This commit is contained in:
Jon Evans 2021-06-18 00:21:56 -04:00
parent 32c21f4a94
commit 4c8a4e3d47
1 changed files with 2 additions and 0 deletions

View File

@ -156,12 +156,14 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame
m_messagePanel->SetBackgroundColour( COLOR4D( LIGHTGRAY ).ToColour() );
#if wxCHECK_VERSION( 3, 1, 3 )
Bind( wxEVT_DPI_CHANGED,
[&]( wxDPIChangedEvent& )
{
wxMoveEvent dummy;
OnMove( dummy );
} );
#endif
}