X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3030ae493df7500fd5da7555f141c0c8a690bd8a:/contrib/samples/ogl/studio/cspalette.cpp diff --git a/contrib/samples/ogl/studio/cspalette.cpp b/contrib/samples/ogl/studio/cspalette.cpp index b5b9c053b9..3eb05d3b8a 100644 --- a/contrib/samples/ogl/studio/cspalette.cpp +++ b/contrib/samples/ogl/studio/cspalette.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cspalette.cpp +// Name: contrib/samples/ogl/studio/cspalette.cpp // Purpose: OGLEdit palette // Author: Julian Smart // Modified by: @@ -17,10 +17,10 @@ #endif #ifndef WX_PRECOMP -#include +#include "wx/wx.h" #endif -#include +#include "wx/laywin.h" #include #include @@ -32,7 +32,7 @@ #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 @@ -118,7 +118,7 @@ bool csApp::CreatePalette(wxFrame *parent) 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); @@ -141,7 +141,7 @@ bool csApp::CreatePalette(wxFrame *parent) symbols[noSymbols] = _T("Thin Rectangle"); noSymbols ++; - + symbols[noSymbols] = _T("Triangle"); noSymbols ++; @@ -200,4 +200,3 @@ bool csApp::CreatePalette(wxFrame *parent) return true; } -