X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a82c9ecc9a2cba9727b538c818ebdba243eacbc..ae200bfcb537c475708959cb034be66eb0f5dcd4:/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 9b2d9cccc0..15f34157bd 100644 --- a/contrib/samples/ogl/studio/cspalette.h +++ b/contrib/samples/ogl/studio/cspalette.h @@ -1,40 +1,33 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cspalette.h +// Name: contrib/samples/ogl/studio/cspalette.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 _STUDIO_CSPALETTE_H_ #define _STUDIO_CSPALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - -#include -#include -#include +#include "wx/wx.h" +#include "wx/string.h" +#include "wx/ogl/ogl.h" // base header of OGL, includes and adjusts wx/deprecated/setup.h /* * 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. -#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);