]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/containr.h
rename wxFileList to wxFileListCtrl
[wxWidgets.git] / include / wx / containr.h
index 2d4cd3d0993b15ea50c390d3e9a87bbb871ad186..0d38361739f15c500d7b91842a2afc52fbf72b90 100644 (file)
@@ -86,6 +86,9 @@ protected:
     // the parent window we manage the children for
     wxWindow *m_winParent;
 
+    // the child which had the focus last time this panel was activated
+    wxWindow *m_winLastFocused;
+
 private:
     // value returned by AcceptsFocus(), should be changed using SetCanFocus()
     // only
@@ -93,10 +96,6 @@ private:
 
     // a guard against infinite recursion
     bool m_inSetFocus;
-
-    // the child which had the focus last time this panel was activated
-    wxWindow *m_winLastFocused;
-
 };
 
 // common part of WX_DECLARE_CONTROL_CONTAINER in the native and generic cases,
@@ -178,7 +177,7 @@ protected:
                                                                               \
     void classname::SetFocusIgnoringChildren()                                \
     {                                                                         \
-        SetFocus();                                                           \
+        basename::SetFocusIgnoringChildren();                                 \
     }
 
 #else // !wxHAS_NATIVE_TAB_TRAVERSAL
@@ -261,7 +260,7 @@ public:                                                                       \
     void classname::OnFocus(wxFocusEvent& event)                              \
     {                                                                         \
         m_container.HandleOnFocus(event);                                     \
-    } 
+    }
 
 #endif // wxHAS_NATIVE_TAB_TRAVERSAL/!wxHAS_NATIVE_TAB_TRAVERSAL