Crash on wxSystemSettingsNative::GetFont

Brian Ray bray at sent.com
Tue Sep 26 08:03:30 PDT 2006


Hello:

I am testing working code (from MSW) on the Mac and I ran into a  
problem.  I am creating a miniframe with a title. I get a crash. Here  
is the bt from codewarrior (crash is in wxObject):

...
__ZN20DocOverviewLayoutDlgC1EP8wxWindowRK8wxStringiiii
__ZN11wxMiniFrameC2EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_
__ZN7wxFrameC2Ev
__ZN11wxFrameBaseC2Ev
__ZN16wxTopLevelWindowC2Ev
__ZN19wxTopLevelWindowMacC2Ev
__ZN20wxTopLevelWindowBaseC2Ev
__ZN8wxWindowC2Ev
__ZN8wxWindow4InitEv
__ZN22wxSystemSettingsNative7GetFontE12wxSystemFont
__ZN6wxFontC1ERKS_
__ZN8wxObject3RefERKS_


common/object.cpp (line 306):

     // nothing to be done
     if (m_refData == clone.m_refData)    //<<<< exception here
         return;

I am using wxMac2.6.3.  I saw this topic might have been discussed  
before here <http://tinyurl.com/mxsm7>. Although, I do not understand  
the fix. What do I do to fix this problem?

Regards, Brian




More information about the wx-users mailing list