X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..fb5246bead0df931f25bd73c9a03c356b180fcd1:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 6825b4226d..0ee3f792d2 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -12,10 +12,6 @@ #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