]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Typo fix for GetSizer.
[wxWidgets.git] / src / common / popupcmn.cpp
index c17d528fbfbd90923a7475f52ebca00b52f810b0..db3250b429b5df64b2ab6fba369a635abfa3155b 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,9 @@ void wxPopupFocusHandler::OnKillFocus(wxFocusEvent& event)
             return;
         win = win->GetParent();
     }
+    
+    printf( "Dismiss now.\n" );
+    
     m_popup->DismissAndNotify();
 }