X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f4b46717b61482cd9ebca5c8d3056840e0b7a72..caa251e0739fb50063849598fee09372c9dbafd6:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index bcfe71a48f..ecde84ec8f 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -74,8 +74,9 @@ protected: const wxValidator& validator, const wxString& name); - // inherit colour and font settings from the parent window - void InheritAttributes(); + // 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;