Removed unnecessary line
This commit is contained in:
parent
1c95ceaeaa
commit
76d9f0f509
1 changed files with 0 additions and 2 deletions
|
@ -126,8 +126,6 @@ static GUID GUID_DEVINTERFACE_HID = { 0x4D1E55B2, 0xF16F, 0x11CF, 0x88, 0xCB, 0x
|
||||||
|
|
||||||
static void register_win32_device_notification_event()
|
static void register_win32_device_notification_event()
|
||||||
{
|
{
|
||||||
enum { WM_DPICHANGED_ = 0x02e0 };
|
|
||||||
|
|
||||||
wxWindow::MSWRegisterMessageHandler(WM_DEVICECHANGE, [](wxWindow *win, WXUINT /* nMsg */, WXWPARAM wParam, WXLPARAM lParam) {
|
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.
|
// 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<MainFrame*>(win);
|
auto main_frame = dynamic_cast<MainFrame*>(win);
|
||||||
|
|
Loading…
Reference in a new issue