[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 01:27:11 PST 2008
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/toplevel.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
More information about the wx-dev
mailing list