X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..f284605f65f6f957c90452b574f4131079819b53:/contrib/samples/ogl/studio/cspalette.h?ds=inline diff --git a/contrib/samples/ogl/studio/cspalette.h b/contrib/samples/ogl/studio/cspalette.h index 67a8e63740..2e36960736 100644 --- a/contrib/samples/ogl/studio/cspalette.h +++ b/contrib/samples/ogl/studio/cspalette.h @@ -12,13 +12,13 @@ #ifndef _STUDIO_CSPALETTE_H_ #define _STUDIO_CSPALETTE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif #include #include -#include +#include /* * Object editor tool palette @@ -28,7 +28,10 @@ // 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. -#define TOOLPALETTECLASS wxToolBarSimple +// ABX: Simple toolbar is not available in default compilation and is deprecated +// so I use wxToolBar anyway +// #define TOOLPALETTECLASS wxToolBarSimple +#define TOOLPALETTECLASS wxToolBar class csEditorToolPalette: public TOOLPALETTECLASS {