diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 0b5f777a7c..7cc5b98e95 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -186,6 +186,7 @@ protected: virtual int OnGetItemImage(long item) const; // it calls our OnGetXXX() functions + friend class WXDLLEXPORT wxListMainWindow; private: