diff --git a/src/myevents.h b/src/myevents.h index 48bc6600..021fe3e4 100755 --- a/src/myevents.h +++ b/src/myevents.h @@ -1,6 +1,8 @@ BEGIN_EVENT_TABLE(treesheets::MyFrame, wxFrame) - EVT_DPI_CHANGED(treesheets::MyFrame::OnDPIChanged) + #ifndef __WXMAC__ + EVT_DPI_CHANGED(treesheets::MyFrame::OnDPIChanged) + #endif EVT_SIZING(treesheets::MyFrame::OnSizing) EVT_MENU(wxID_ANY, treesheets::MyFrame::OnMenu) EVT_TEXT(A_SEARCH, treesheets::MyFrame::OnSearch)