diff --git a/contrib/samples/ogl/studio/project.h b/contrib/samples/ogl/studio/project.h index b52ae259ef..44cb15b8c7 100644 --- a/contrib/samples/ogl/studio/project.h +++ b/contrib/samples/ogl/studio/project.h @@ -30,9 +30,9 @@ public: ~csProjectTreeCtrl(); - wxImageList& GetImageList() const { return (wxImageList&) m_imageList; } + wxImageList *GetImageList() const { return (wxImageList *)&m_imageList; } protected: - wxImageList m_imageList; + wxImageList m_imageList; DECLARE_EVENT_TABLE() };