X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..93692400d0a9f89cf013e1e101701eae0a541a59:/contrib/src/ogl/divided.cpp?ds=sidebyside 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; }