From: Julian Smart Date: Mon, 25 Aug 2003 18:51:55 +0000 (+0000) Subject: Fixed Unicode glitch X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/31d44d0fd5480861c25367cde5d75ad18da7b0e6 Fixed Unicode glitch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/ogl/oglmisc.cpp b/contrib/src/ogl/oglmisc.cpp index cd4cfb0339..0b0d9b83a2 100644 --- a/contrib/src/ogl/oglmisc.cpp +++ b/contrib/src/ogl/oglmisc.cpp @@ -49,7 +49,7 @@ wxBrush* g_oglWhiteBackgroundBrush; wxPen* g_oglBlackForegroundPen; wxCursor* g_oglBullseyeCursor = NULL; -char* oglBuffer = NULL; +wxChar* oglBuffer = NULL; wxList oglObjectCopyMapping(wxKEY_INTEGER); @@ -71,7 +71,7 @@ void wxOGLInitialize() OGLInitializeConstraintTypes(); // Initialize big buffer used when writing images - oglBuffer = new char[3000]; + oglBuffer = new wxChar[3000]; }