diff --git a/include/wx/list.h b/include/wx/list.h index 00d6126db2..ef40e6d6f1 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -440,7 +440,7 @@ private: { wxListBase::Sort((wxSortCompareFunction)func); } \ \ protected: \ - wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, \ + virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, \ void *data, \ const wxListKey& key = wxDefaultListKey) \ { \