Re: [fpc-pascal] FPC and GTK2: problems with GTKCombo

2005-04-25 Thread Jan Je/lowicki
Hello, That is exactly the meritum. I was trying to write adequate C example for comparison, unfortunately I realized that I had no GTK+ source packages at home. And today morning I knew the solution from your mail. > No, this is *not* a bug somewhere in general FPC record aligning > algorithm.

Re: [fpc-pascal] FPC and GTK2: problems with GTKCombo

2005-04-23 Thread Michalis Kamburelis
Hi I found the problem: TGtkBox record layout and size is not correct for Win32 GTK 2 libraries. This causes that "PGtkCombo(c)^.entry" does not work as it should, because address of "entry" field in "TGtkCombo" is different than it should be. TGtkBox is currently defined as TGtkBox = record

Re: [fpc-pascal] FPC and GTK2: problems with GTKCombo

2005-04-22 Thread Jan Je/lowicki
Hello all, Today I have localised a problem with GtkCombo; there is a minimal program that could reproduce crash of GtkCombo in W32 environment. I cannot see any bug, there are just standard instructions; maybe I am wrong? or rather the bug is in the GTK binary for Windows? or even in FPC bind?