X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6b0bd49c72e577a218bfe10fc1526cf2ad6293d..bec3e8601ddda938e451d3418a0dbfa8ccd12663:/utils/ogl/samples/ogledit/palette.h diff --git a/utils/ogl/samples/ogledit/palette.h b/utils/ogl/samples/ogledit/palette.h index 6159266230..3d0c7ff614 100644 --- a/utils/ogl/samples/ogledit/palette.h +++ b/utils/ogl/samples/ogledit/palette.h @@ -18,7 +18,11 @@ #include #include +#ifdef __WXGTK__ +#include +#else #include +#endif /* * Object editor tool palette @@ -28,7 +32,11 @@ // 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. +#ifdef __WXGTK__ +#define TOOLPALETTECLASS wxToolBar +#else #define TOOLPALETTECLASS wxToolBarSimple +#endif class EditorToolPalette: public TOOLPALETTECLASS {