1. moved InheritAttributes() from wxControl to wxWindow

2. made it inherit only the attributes explicitly set for the parent
3. "explicitly set" means set with SetXXX(), not newly added SetDefaultXXX()
4. documented InheritAttributes(), ShouldInheritColours() and SetDefaultXXX()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-08 12:11:22 +00:00
parent 26b6f3d3d8
commit b8e7b6738f
4 changed files with 169 additions and 21 deletions

View File

@@ -74,10 +74,6 @@ protected:
const wxValidator& validator,
const wxString& name);
// this function is obsolete, it is only kept for backwards compatibility,
// do *not* use it
void InheritAttributes() { }
// initialize the common fields of wxCommandEvent
void InitCommandEvent(wxCommandEvent& event) const;