projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setting the hacked cocoa font panel as default
[wxWidgets.git]
/
include
/
wx
/
generic
/
tabg.h
diff --git
a/include/wx/generic/tabg.h
b/include/wx/generic/tabg.h
index 6825b4226db5220c505940e2b53069bff2514fb2..0ee3f792d2fd6549437ae8f112ff8cd9037f6b2b 100644
(file)
--- a/
include/wx/generic/tabg.h
+++ b/
include/wx/generic/tabg.h
@@
-12,10
+12,6
@@
#ifndef __TABGH_G__
#define __TABGH_G__
#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"
#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 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
#else
inline wxTabLayerList& GetLayers() { return m_layers; }
#endif