Fixed Unicode glitch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2eb7ed882f
commit
31d44d0fd5
@ -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];
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user