]> 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 8f6667731575bdc3255ad85305a840e6c8e308aa..8bac0783fc8524b5ff1da97e82797e23d258fc6f 100644 (file)
@@ -14,7 +14,7 @@
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
-#include <wx/wxprec.h>
+#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;
         }