Alex Smirnov ?????:
*Dear Colleagues,
*
Can you, please, help me to resolve a problem with Ring-Watch component. The description is that:
- Lazarus 0.9.22 on Linux Gentoo x86
- A project with standard Ring-Watch component on it with KindofLabel:=klNone; Legend:=lpNone; and Ring:=False;
- OnFormShow procedure initialized this components in standard way:
RingChart1.BeginUdate;
RingChart1.Clear;
RingChart1.AddSector(....)
...
RingChart1.EndUpdate;

So, if project is compiled for GTK - all is working fine. If its is compiled for GTK2 - I received AccessVioaltion in gdk_region_polygon. Here in gtkwinapi.inc:
If FillMode=Winding then
    fr := GDK_WINDING_RULE
  else
    fr := GDK_EVEN_ODD_RULE;

* GObject^.GDIRegionObject := gdk_region_polygon(PointArray, NumPts, fr);*

  FreeMem(PointArray);


So - what to do and where to dig?
*
Regards, Alexey.
PS:* GDB output is added (zipped to file). File size is ~ 1.5Kb.
Can anybody help me? May be I provide not enough information? Speaking about Ring-watch component I mean that: http://wiki.lazarus.freepascal.org/index.php/RingChart_and_AnalogWatch

*Regards, Alexey*

Reply via email to