dirty hack to fix deprecation warning when building wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,7 +107,7 @@ public:
|
|||||||
|
|
||||||
inline int GetNumberOfLayers() const { return m_layers.GetCount(); }
|
inline int GetNumberOfLayers() const { return m_layers.GetCount(); }
|
||||||
#if WXWIN_COMPATIBILITY_2_4
|
#if WXWIN_COMPATIBILITY_2_4
|
||||||
inline wxList& GetLayers() { return (wxList&)m_layers; }
|
inline wxList& GetLayers() { return *(wxList *)&m_layers; }
|
||||||
#else
|
#else
|
||||||
inline wxTabLayerList& GetLayers() { return m_layers; }
|
inline wxTabLayerList& GetLayers() { return m_layers; }
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user