From 76d9f0f5091250f8ca2002fdfeb94e4d03c615f0 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Mon, 15 Jun 2020 09:04:21 +0200 Subject: [PATCH] Removed unnecessary line --- src/slic3r/GUI/GUI_App.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 0b7d6e179..5e51cca3c 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -126,8 +126,6 @@ static GUID GUID_DEVINTERFACE_HID = { 0x4D1E55B2, 0xF16F, 0x11CF, 0x88, 0xCB, 0x static void register_win32_device_notification_event() { - enum { WM_DPICHANGED_ = 0x02e0 }; - wxWindow::MSWRegisterMessageHandler(WM_DEVICECHANGE, [](wxWindow *win, WXUINT /* nMsg */, WXWPARAM wParam, WXLPARAM lParam) { // Some messages are sent to top level windows by default, some messages are sent to only registered windows, and we explictely register on MainFrame only. auto main_frame = dynamic_cast(win);