diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 8cc8f5f492..363cdd5070 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -986,10 +986,7 @@ wxDEPRECATED_MSG("Use wxList directly or just a standard container") wxResourceCache : public wxList { public: - wxResourceCache() = default; -#if !wxUSE_STD_CONTAINERS - wxResourceCache(unsigned int keyType) : wxList(keyType) { } -#endif + using wxList::wxList; virtual ~wxResourceCache() { wxList::compatibility_iterator node = GetFirst ();