wxPen* g_oglBlackForegroundPen;
wxCursor* g_oglBullseyeCursor = NULL;
-char* oglBuffer = NULL;
+wxChar* oglBuffer = NULL;
wxList oglObjectCopyMapping(wxKEY_INTEGER);
OGLInitializeConstraintTypes();
// Initialize big buffer used when writing images
- oglBuffer = new char[3000];
+ oglBuffer = new wxChar[3000];
}
long current_width = 0;
wxNode *current = text_list->GetFirst();
- int i = 0;
while (current)
{
wxShapeTextLine *line = (wxShapeTextLine *)current->GetData();
if (current_width > max_width)
max_width = current_width;
current = current->GetNext();
- i ++;
}
*actual_height = n*char_height;