move default button handling code from wxControlContainer to wxTLW (patch 1524441)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-25 01:31:13 +00:00
parent 0c9d7ace58
commit 6c20e8f816
30 changed files with 181 additions and 230 deletions

View File

@@ -43,10 +43,7 @@
wxControlContainer::wxControlContainer(wxWindow *winParent)
{
m_winParent = winParent;
m_winLastFocused =
m_winTmpDefault =
m_winDefault = NULL;
m_winLastFocused = NULL;
m_inSetFocus = false;
}
@@ -504,12 +501,6 @@ void wxControlContainer::HandleOnWindowDestroy(wxWindowBase *child)
{
if ( child == m_winLastFocused )
m_winLastFocused = NULL;
if ( child == m_winDefault )
m_winDefault = NULL;
if ( child == m_winTmpDefault )
m_winTmpDefault = NULL;
}
// ----------------------------------------------------------------------------