From 23d43a6e55c8180aea2f49354a60466eafd5e96e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Aug 2019 13:04:26 +0200 Subject: [PATCH] Comment out the post-#endif comment Even though both MSVC and gcc seem to silently ignore everything coming after "#endif", it's still wrong to have anything but a comment after it. See commit 881aabf63e279f72d3d4fc8f31a09a6925739769 --- src/common/combocmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 6490f761a0..9237700e12 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -595,9 +595,9 @@ void wxComboPopupWindowEvtHandler::OnActivate( wxActivateEvent& event ) // or setting the focus improperly (Win 10), so postpone it slightly. // See wxPopupTransientWindow::MSWHandleMessage(). CallAfter(&wxComboPopupWindowEvtHandler::HideOnDeactivate); -#else +#else // !__WXMSW__ HideOnDeactivate(); -#endif __WXMSW__ / !__WXMSW__ +#endif // __WXMSW__ / !__WXMSW__ event.Skip(); } }