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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user