X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..6b5a2b6fe96bb791c685c671f348d2710e4a4ab4:/include/wx/generic/tabg.h?ds=sidebyside diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 2badfdbc2f..0ee3f792d2 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -5,17 +5,13 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) +// Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __TABGH_G__ #define __TABGH_G__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "tabg.h" -#endif - #define WXTAB_VERSION 1.1 #include "wx/hashmap.h" @@ -107,7 +103,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