Browse Source

Use the correct define for windows

6.0.7
Marek Roszko 4 years ago
parent
commit
525099ea06
  1. 2
      common/eda_base_frame.cpp
  2. 2
      include/eda_base_frame.h

2
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

2
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
*/

Loading…
Cancel
Save