From b7f3131ac843cda5cff795e139ef0c6797ded70a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 28 Nov 2002 11:27:33 +0000 Subject: [PATCH] Copy helpview XPMs char -> wxChar in glcanvas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 1 + include/wx/msw/glcanvas.h | 4 ++-- src/msw/glcanvas.cpp | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5058a56fc0..355e0cb421 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1372,6 +1372,7 @@ UTILS_DIST: ALL_GUI_DIST cp $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src cp $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src cp $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src + cp $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps MISC_DIST: ALL_GUI_DIST mkdir $(DISTDIR)/misc diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index b25823fdf5..999ddc08e6 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -66,7 +66,7 @@ public: ~wxGLContext(); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); @@ -106,7 +106,7 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow const wxPoint& pos, const wxSize& size, long style, const wxString& name); void SetCurrent(); - void SetColour(const char *colour); + void SetColour(const wxChar *colour); void SwapBuffers(); void OnSize(wxSizeEvent& event); diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 5cbfd68cfb..44ac48b0b9 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -104,7 +104,7 @@ void wxGLContext::SetCurrent() */ } -void wxGLContext::SetColour(const char *colour) +void wxGLContext::SetColour(const wxChar *colour) { float r = 0.0; float g = 0.0; @@ -522,7 +522,7 @@ void wxGLCanvas::SetCurrent() } } -void wxGLCanvas::SetColour(const char *colour) +void wxGLCanvas::SetColour(const wxChar *colour) { if (m_glContext) m_glContext->SetColour(colour);