X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a82c9ecc9a2cba9727b538c818ebdba243eacbc..ed177375b27f8b80231a42638314c9809e6e945d:/contrib/samples/ogl/ogledit/palette.h diff --git a/contrib/samples/ogl/ogledit/palette.h b/contrib/samples/ogl/ogledit/palette.h index 5877981799..a65c2b8627 100644 --- a/contrib/samples/ogl/ogledit/palette.h +++ b/contrib/samples/ogl/ogledit/palette.h @@ -1,28 +1,21 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palette.h +// Name: contrib/samples/ogl/ogledit/palette.h // Purpose: OGL sample palette // Author: Julian Smart // Modified by: // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGLSAMPLE_PALETTE_H_ #define _OGLSAMPLE_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - -#include -#include -#if 0 // def __WXGTK__ -#include -#else -#include -#endif +#include "wx/wx.h" +#include "wx/string.h" +#include "wx/deprecated/setup.h" +#include "wx/deprecated/tbarsmpl.h" /* * Object editor tool palette @@ -32,11 +25,14 @@ // 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 {