From 525099ea06c0b417677f5f3d07aba5fb9e32e1fe Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 5 Sep 2021 22:22:27 -0400 Subject: [PATCH] Use the correct define for windows --- common/eda_base_frame.cpp | 2 +- include/eda_base_frame.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index 75e016687e..1622a80a95 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -1258,7 +1258,7 @@ void EDA_BASE_FRAME::onSystemColorChange( wxSysColourChangedEvent& aEvent ) } -#ifdef __WXWINDOWS__ +#ifdef _WIN32 WXLRESULT EDA_BASE_FRAME::MSWWindowProc( WXUINT message, WXWPARAM wParam, WXLPARAM lParam ) { // This will help avoid the menu keeping focus when the alt key is released diff --git a/include/eda_base_frame.h b/include/eda_base_frame.h index 5cd667136f..7b7826c1d9 100644 --- a/include/eda_base_frame.h +++ b/include/eda_base_frame.h @@ -682,7 +682,7 @@ private: */ virtual bool IsModal() const { return false; } -#ifdef __WXWINDOWS__ +#ifdef _WIN32 /** * Windows specific override of the wxWidgets message handler for a window */