Fix wx 3.0 build
This commit is contained in:
parent
32c21f4a94
commit
4c8a4e3d47
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue