Fix: Rename DPI changed event to not clash with impl in wxwidgets

This commit is contained in:
Vojtech Kral 2019-11-11 17:10:29 +01:00
parent 7a24f87c7f
commit e12512dec0
3 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ void on_window_geometry(wxTopLevelWindow *tlw, std::function<void()> callback)
#endif
}
wxDEFINE_EVENT(EVT_DPI_CHANGED, DpiChangedEvent);
wxDEFINE_EVENT(EVT_DPI_CHANGED_SLICER, DpiChangedEvent);
#ifdef _WIN32
template<class F> typename F::FN winapi_get_function(const wchar_t *dll, const char *fn_name) {