Avoid some -Wundef warning. Check for __WXGTK__ using defined,

not plain #if.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-08-18 00:35:02 +00:00
parent ce52988a85
commit 8c624a14ad
4 changed files with 5 additions and 3 deletions

View File

@@ -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;