// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_PALETTE_H_
#include <wx/wx.h>
#include <wx/string.h>
-#if 0 // def __WXGTK__
-#include <wx/toolbar.h>
-#else
+#include <wx/deprecated/setup.h>
#include <wx/deprecated/tbarsmpl.h>
-#endif
/*
* Object editor tool palette
// TODO for wxWin: wxToolBar95 cannot be moved to a non-0,0 position!
// Needs to have a parent window...
// So use a simple toolbar at present.
-#if 0 // def __WXGTK__
+// ABX: Simple toolbar is not available in default compilation
+// so I use wxToolBar anyway
+// #if 0 // def __WXGTK__
+// #define TOOLPALETTECLASS wxToolBar
+// #else
+// #define TOOLPALETTECLASS wxToolBarSimple
+// #endif
#define TOOLPALETTECLASS wxToolBar
-#else
-#define TOOLPALETTECLASS wxToolBarSimple
-#endif
class EditorToolPalette: public TOOLPALETTECLASS
{