]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted Robert's change
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 9 Mar 2002 22:07:52 +0000 (22:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 9 Mar 2002 22:07:52 +0000 (22:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/popupcmn.cpp

index b4ec9cf52622c5166900734e5dc1afb1cbc5f9d2..c911738e8390221171bdc230bfe23235a67049ca 100644 (file)
@@ -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()