From: Václav Slavík Date: Sat, 9 Mar 2002 22:07:52 +0000 (+0000) Subject: reverted Robert's change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/771c7b4a4be1fe29bad0eb33fcdb9af7d92593be reverted Robert's change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index b4ec9cf526..c911738e83 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -257,13 +257,13 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus) // otherwise everything else breaks down m_focus = FindFocus(); if ( m_focus ) +#endif // __WXMSW__ { delete m_handlerFocus; m_handlerFocus = new wxPopupFocusHandler(this); m_focus->PushEventHandler(m_handlerFocus); } -#endif // __WXMSW__ } void wxPopupTransientWindow::Dismiss()