Updated not to use deprecated wxList methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7057f62a37
commit
dabf1d079b
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user