text to be displayed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18466
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return;
wxShapeRegion *region = (wxShapeRegion *)node->Data();
return;
wxShapeRegion *region = (wxShapeRegion *)node->Data();
+ // 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);
dc.SetFont(* region->GetFont());
region->GetSize(&w, &h);