X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/841f23e18a9d9e3d987b60422c3a220571868337..6d7b547184bfdcdf67790755deb0122050b1d728:/src/common/containr.cpp diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 020bc20ca1..0a034ba01e 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -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; } // ----------------------------------------------------------------------------