#ifndef WX_PRECOMP
#include "wx/combobox.h" // wxComboControl
+ #include "wx/log.h"
#endif //WX_PRECOMP
#ifdef __WXUNIVERSAL__
// 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()
{
return;
}
-
+
wxPoint pos = event.GetPosition();
// scrollbar on which the click occured
win = win->GetParent();
}
- printf( "Dismiss now.\n" );
-
m_popup->DismissAndNotify();
}