From 3e7cd2f52b97ad4191511343aa418e3f6355c165 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 28 Aug 2005 14:36:46 +0000 Subject: [PATCH] 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 --- include/wx/generic/tabg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 6825b4226d..4069044b1e 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -107,7 +107,7 @@ public: inline int GetNumberOfLayers() const { return m_layers.GetCount(); } #if WXWIN_COMPATIBILITY_2_4 - inline wxList& GetLayers() { return (wxList&)m_layers; } + inline wxList& GetLayers() { return *(wxList *)&m_layers; } #else inline wxTabLayerList& GetLayers() { return m_layers; } #endif -- 2.47.2