Re: latest pgadmin generates core on Solaris

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: latest pgadmin generates core on Solaris
Date: 2006-10-26 11:32:55
Message-ID: 45409CE7.60908@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page napsal(a):
>
>
> Yeah, that's basically what I saw on GTK/Linux with 2.7.1. Does the AUI
> sample work OK?

Yes, auidemo works fine.

I look on source coud and problem is probably there (src/aui/dockart.cpp):

// default metric values
#if defined(__WXMAC__)
SInt32 height;
GetThemeMetric( kThemeMetricSmallPaneSplitterHeight , &height );
m_sash_size = height;
#elif defined(__WXGTK__)
m_sash_size =
wxRendererNative::Get().GetSplitterParams(NULL).widthSash;
#else
m_sash_size = 4;
#endif

The GetSplitterParams in this case call
wxRendererGeneric::GetSplitterParams instead
wxRendererGTK::GetSplitterParams. It should be some problem with correct
virtual method lookup or wrong renderer setup?

Zdenek

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2006-10-26 11:34:22 SVN Commit by dpage: r5549 - trunk/pgadmin3/xtra/wx-build
Previous Message svn 2006-10-26 11:28:55 SVN Commit by dpage: r5548 - trunk/pgadmin3/xtra/admin81