X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..b388e8cdec4f45124f31525e651a5e335965e4be:/contrib/samples/ogl/studio/cspalette.h?ds=sidebyside diff --git a/contrib/samples/ogl/studio/cspalette.h b/contrib/samples/ogl/studio/cspalette.h index a910553e56..8583f85d5a 100644 --- a/contrib/samples/ogl/studio/cspalette.h +++ b/contrib/samples/ogl/studio/cspalette.h @@ -6,7 +6,7 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _STUDIO_CSPALETTE_H_ @@ -18,7 +18,7 @@ #include #include -#include +#include /* * Object editor tool palette @@ -28,13 +28,16 @@ // 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 { public: - csEditorToolPalette(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, + csEditorToolPalette(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTB_VERTICAL);