On 2 Oct 2007, at 15:12, Stan wrote:
>>
>>
>>> I wonder if it is a win32 specific feature (need to try some other
>>> platforms...)?
>>
>> This very small change to Stan's example seems to make it work
>> (for me,
>> at leat) on WinXP...
>>
>> void resume_resizing()
>> {
>> // size_range(0, 0, -1, -1);
>> size_range(0, 0);
>> }
> [..]
>
> Yep, we seem to have a platform thing. On X/Solaris, my example
> works fine, whereas making the above change makes it behave
> exactly as Ian (and the OP) reported that it behaves on XP.
OK - for completeness, I just ran Stan's example on OSX and linux
(FC7). Here's what I see.
Case 1: size_range(0, 0, -1, -1);
Works correctly on linux and (Stan says) Solaris.
Fails on Win32 and OSX.
Case 2: size_range(0, 0);
Works correctly on Win32 and OSX.
Fails on linux and Solaris.
So... I haven't looked at why yet. May be tricky... Don't wait for me.
In the meantime, the OP can probably get the required behaviour with
a few #ifdef's for now, until a better fix is available?
--
Ian
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk