]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/basic.cpp
Clearly mark wxGLCanvas as not working under wxX11.
[wxWidgets.git] / contrib / src / ogl / basic.cpp
index 16e198b1e239f7aa71b9b914516b08650a67779b..63bbc4dfee26b0dea6a398c9dd034b8ba0c670d9 100644 (file)
@@ -601,7 +601,8 @@ void wxShape::FormatText(wxDC& dc, const wxString& s, int i)
     return;
 
   wxShapeRegion *region = (wxShapeRegion *)node->Data();
-  region->SetText(s);
+  // region->SetText(s);  // don't set the formatted text yet, it will be done below
+  region->m_regionText = s;
   dc.SetFont(* region->GetFont());
 
   region->GetSize(&w, &h);