X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..f63e3ebbe3272b9690aa2530e0c3048d3f37c7c7:/contrib/src/ogl/divided.cpp diff --git a/contrib/src/ogl/divided.cpp b/contrib/src/ogl/divided.cpp index 8f66677315..8bac0783fc 100644 --- a/contrib/src/ogl/divided.cpp +++ b/contrib/src/ogl/divided.cpp @@ -14,7 +14,7 @@ #endif // For compilers that support precompilation, includes "wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -706,7 +706,7 @@ void wxDividedShapeControlPoint::OnEndDragLeft(double x, double y, int keys, int wxShapeRegion *region = (wxShapeRegion *)node->Data(); if (region->GetText()) { - char *s = copystring(region->GetText()); + wxChar *s = copystring(region->GetText()); dividedObject->FormatText(dc, s, i); delete[] s; }