[wx-dev] SetShape from trunk crashes under Leopard, was Re:
[wx-dev] wxMac: URefCon not defined
Stefan Csomor
csomor at advancedconcepts.ch
Wed Feb 13 21:06:52 PST 2008
Hi Steven
that's the effect I was describing as still occurring, I cannot yet tell
where it comes from ...
Best,
Stefan
On 2/13/08 11:45 PM, "Steven Van Ingelgem" <steven at vaningelgem.be> wrote:
> Hey Stefan,
>
>
> After a full rebuild it is ok.
> 1 "problem" however... The picture in the star seems to be offset. I
> mean on GTK & MSW it is fully coloured. On Mac it is a little coloured
> and a little white...
>
>
> Greetings,
> Steven
>
> On 13/02/2008, Steven Van Ingelgem <steven at vaningelgem.be> wrote:
>> I'll check tonight ;-). Maybe it was because I didn't do a full
>> rebuild (just a configure & make). I'll let you know as soon as I get
>> home!
>>
>> On 13/02/2008, Stefan Csomor <csomor at advancedconcepts.ch> wrote:
>>> Hi Steven
>>>
>>> rebuilt with the same configure, but a local prefix path, shaped doesn't
>>> crash :-(
>>>
>>> Best,
>>>
>>> Stefan
>>>
>>>
>>> On 2/13/08 10:33 AM, "Steven Van Ingelgem" <steven at vaningelgem.be> wrote:
>>>
>>>> Sorry ;-), I just c/p my buildline from the install script (similar
>>>> script I let run on my windows).
>>>> I can't imagine that using a different prefix would cause any problems
>>>> ;-). At least not on fresh installed programs.
>>>>
>>>> On 13/02/2008, Stefan Csomor <csomor at advancedconcepts.ch> wrote:
>>>>> Hi Steven
>>>>>
>>>>> I won't try --prefix=/usr as I said I'll never mess with the apple
>>>>> installed
>>>>> wx, I always have a side-by-side install dir, but I'll let it build with
>>>>> the
>>>>> rest now
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Stefan
>>>>>
>>>>>
>>>>> On 2/13/08 10:17 AM, "Steven Van Ingelgem" <steven at vaningelgem.be> wrote:
>>>>>
>>>>>> This is my configure line:
>>>>>>
>>>>>> configure --prefix=/usr --with-opengl --enable-unicode
>>>>>> --disable-compat28 --with-libtiff=builtin --with-libjpeg=builtin
>>>>>> --with-libpng=builtin --with-zlib=builtin --with-expat=builtin
>>>>>> --enable-universal_binary
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 13/02/2008, Steven Van Ingelgem <steven at vaningelgem.be> wrote:
>>>>>>> I'll do a complete rebuild tonight & retry the shaped sample.
>>>>>>> If it crashes again, I'll paste the configure command & the build line
>>>>>>> in
>>>>>>> here.
>>>>>>>
>>>>>>>
>>>>>>> Greetings
>>>>>>>
>>>>>>> On 13/02/2008, Stefan Csomor <csomor at advancedconcepts.ch> wrote:
>>>>>>>> Hi Steven
>>>>>>>>
>>>>>>>> I cannot see how the current state of trunk would arrive at
>>>>>>>> SetBackgroundStyle,
>>>>>>>>
>>>>>>>> in
>>>>>>>>
>>>>>>>> http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/mac/carbon/tople
>>>>>>>> vel
>>>>>>>> .c
>>>>>>>> pp?r1=45731&r2=48165
>>>>>>>>
>>>>>>>> the call to SetBackgroundColor is added, now because a wxColour
>>>>>>>> constructor
>>>>>>>> for taking a wxSystemColour enum resolves on my build to a colRGB
>>>>>>>> taking
>>>>>>>> constructor, and therefore the triggering comparison in
>>>>>>>> SetBackgroundColour
>>>>>>>> would never result in entering into a clause calling SetBackgroundStyle
>>>>>>>> ...
>>>>>>>>
>>>>>>>> I'll commit a fix to that now, using true system colours, but it really
>>>>>>>> would be interesting what path the command line build takes on your
>>>>>>>> machine
>>>>>>>> from
>>>>>>>>
>>>>>>>> /Users/steven/wxWidgets/src/mac/carbon/toplevel.cpp:1715
>>>>>>>>
>>>>>>>> Best,
>>>>>>>>
>>>>>>>> Stefan
>>>>>>>>
>>>>>>>>
>>>>>>>> On 2/13/08 8:46 AM, "Stefan Csomor" <csomor at advancedconcepts.ch> wrote:
>>>>>>>>
>>>>>>>>> Hi Steven
>>>>>>>>>
>>>>>>>>> I have to debug that, as on my machine the code in
>>>>>>>>> wxTopLevelWindowMac::SetBackgroundColour does not jump into
>>>>>>>>> SetBackgroundStyle at all which probably is due to a buggy color
>>>>>>>>> comparision.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Stefan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 2/12/08 6:57 PM, "Steven Van Ingelgem" <steven at vaningelgem.be>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> (gdb) bt
>>>>>>>>>> #0 0x00028759 in wxColour::operator== (this=0x101ee00,
>>>>>>>>>> colour=@0xbffff428) at
>>>>>>>>>> /Users/steven/wxWidgets/src/mac/carbon/colour.cpp:128
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Advanced Concepts AG
>>>>>>>> Software-Engineering
>>>>>>>> Heldweg 10
>>>>>>>> CH-8475 Ossingen
>>>>>>>> Switzerland
>>>>>>>>
>>>>>>>> phone:+41 52 245 0 245
>>>>>>>> fax:+41 52 245 0 246
>>>>>>>> http://www.advanced.ch
>>>>>>>> mailto:csomor at advanced.ch
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>>>>>>>> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>>>>>> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Advanced Concepts AG
>>>>> Software-Engineering
>>>>> Heldweg 10
>>>>> CH-8475 Ossingen
>>>>> Switzerland
>>>>>
>>>>> phone:+41 52 245 0 245
>>>>> fax:+41 52 245 0 246
>>>>> http://www.advanced.ch
>>>>> mailto:csomor at advanced.ch
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>>>>> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>>>> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>>>>
>>>
>>> --
>>>
>>> Advanced Concepts AG
>>> Software-Engineering
>>> Heldweg 10
>>> CH-8475 Ossingen
>>> Switzerland
>>>
>>> phone:+41 52 245 0 245
>>> fax:+41 52 245 0 246
>>> http://www.advanced.ch
>>> mailto:csomor at advanced.ch
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
>>> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
--
Advanced Concepts AG
Software-Engineering
Heldweg 10
CH-8475 Ossingen
Switzerland
phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch
More information about the wx-dev
mailing list