From: Mattia Barbon Date: Sun, 2 Nov 2003 15:34:11 +0000 (+0000) Subject: Updated not to use deprecated wxList methods. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dabf1d079bb123d2767a95556ff5e5272c594a2c Updated not to use deprecated wxList methods. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index c26b524d08..905fad790e 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -106,7 +106,11 @@ public: ~wxTabView(); inline int GetNumberOfLayers() const { return m_layers.GetCount(); } +#if WXWIN_COMPATIBILITY_2_4 inline wxList& GetLayers() { return (wxList&)m_layers; } +#else + inline wxTabLayerList& GetLayers() { return m_layers; } +#endif inline void SetWindow(wxWindow* wnd) { m_window = wnd; } inline wxWindow* GetWindow(void) const { return m_window; }