const wxString &name = _T("listctrlmainwindow") );
virtual ~wxListMainWindow();
+
+ wxWindow *GetMainWindowOfCompositeControl() { return GetParent(); }
bool HasFlag(int flag) const { return m_parent->HasFlag(flag); }
// focus to the panel from wxListTextCtrl because the text control should
// disappear when the user clicks outside it.
- wxWindow *oldFocus = FindFocus();
+ wxWindow *oldFocus = DoFindFocus();
if ( oldFocus && oldFocus->GetParent() == this )
{
{
/* The test in window.cpp fails as we are a composite
window, so it checks against "this", but not m_mainWin. */
- if ( FindFocus() != this )
+ if ( DoFindFocus() != this )
m_mainWin->SetFocus();
}