/////////////////////////////////////////////////////////////////////////////
-// Name: cspalette.cpp
+// Name: contrib/samples/ogl/studio/cspalette.cpp
// Purpose: OGLEdit palette
// Author: Julian Smart
// Modified by:
#endif
#ifndef WX_PRECOMP
-#include <wx/wx.h>
+#include "wx/wx.h"
#endif
-#include <wx/laywin.h>
+#include "wx/laywin.h"
#include <ctype.h>
#include <stdlib.h>
#include "cspalette.h"
#include "symbols.h"
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
+#ifndef __WXMSW__
#include "bitmaps/arrow.xpm"
#include "bitmaps/texttool.xpm"
#endif
wxBitmap PaletteArrow(_T("arrowtool"));
wxBitmap TextTool(_T("texttool"));
wxSize toolBitmapSize(32, 32);
-#elif defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
+#else // !__WXMSW__
wxBitmap PaletteArrow(arrow_xpm);
wxBitmap TextTool(texttool_xpm);
wxSize toolBitmapSize(22, 22);
symbols[noSymbols] = _T("Thin Rectangle");
noSymbols ++;
-
+
symbols[noSymbols] = _T("Triangle");
noSymbols ++;
return true;
}
-