- // FIXME: I don't know why does this happen but sometimes SetFocus() simply
- // refuses to work under MSW - no error happens but the focus is not
- // given to the window, i.e. the assert below is triggered
- //
- // Try work around this as we can...
-
- //wxASSERT_MSG( FindFocus() == m_focus, _T("setting focus failed") );
+ // MSW doesn't allow to set focus to the popup window, but we need to
+ // subclass the window which has the focus, and not winFocus passed in or
+ // otherwise everything else breaks down