]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed Unicode glitch
authorJulian Smart <julian@anthemion.co.uk>
Mon, 25 Aug 2003 18:51:55 +0000 (18:51 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 25 Aug 2003 18:51:55 +0000 (18:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/oglmisc.cpp

index cd4cfb0339c1733389f5b35ef7ebd7c02940cf8d..0b0d9b83a2c86ca933dda4e4c556849230281da8 100644 (file)
@@ -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];
 
 }