X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31ad2c402c0c626401bbb5b015001c6193cc0bf1..c54e5eb0f6888c627547f882388df3cd86354a2f:/src/common/popupcmn.cpp diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 5150d08a04..e29d8d2619 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -259,7 +259,7 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus) // subclass the window which has the focus, and not winFocus passed in or // otherwise everything else breaks down m_focus = FindFocus(); -#elif __WXGTK__ +#elif defined(__WXGTK__) // GTK+ catches the activate events from the popup // window, not the focus events from the child window m_focus = this;