[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:13:42 PST 2008
Hi Steven
I've rebuilt clean debug and release from the command line on 10.5.2, no
crashes occur on this machine in the shaped sample, so I'm lost at the
moment ...
Best,
Stefan
On 2/13/08 9:23 AM, "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
More information about the wx-dev
mailing list