]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/divided.cpp
Initialise font family when initializing from native font, since this
[wxWidgets.git] / contrib / src / ogl / divided.cpp
index 16cbc34878f169f0c36515e96ad86b3d45c0d5a4..8bac0783fc8524b5ff1da97e82797e23d258fc6f 100644 (file)
@@ -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;
         }