X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4410d619c5a29e025b3ee5cd2363d8795aaf841c..f46f4c86b234d87b9c1db889cc130d2d7d31c306:/include/wx/generic/tabg.h 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; }