]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/tabg.h
added ping location for IRIX
[wxWidgets.git] / include / wx / generic / tabg.h
index 6825b4226db5220c505940e2b53069bff2514fb2..4069044b1ed63941cc8acaccc20bf695d0f72637 100644 (file)
@@ -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