]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Implemented a simple modality under X11.
[wxWidgets.git] / src / common / popupcmn.cpp
index c17d528fbfbd90923a7475f52ebca00b52f810b0..7da199a713f50435b6fb8f8ed782070433954f7d 100644 (file)
@@ -354,6 +354,7 @@ void wxPopupWindowHandler::OnLeftDown(wxMouseEvent& event)
     wxWindow *sbar = NULL;
 
     wxWindow *win = (wxWindow *)event.GetEventObject();
+    
     switch ( win->HitTest(pos.x, pos.y) )
     {
         case wxHT_WINDOW_OUTSIDE:
@@ -425,6 +426,7 @@ void wxPopupFocusHandler::OnKillFocus(wxFocusEvent& event)
             return;
         win = win->GetParent();
     }
+    
     m_popup->DismissAndNotify();
 }