wxWidgets 2.9.2 compatibility

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Subject: wxWidgets 2.9.2 compatibility
Date: 2011-07-12 16:45:46
Message-ID: CA+OCxoz7BYToP=XFw_MjX6V_L1-N1oS-HDn0sut7Rw9jO4RtpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

So here's the patch I needed to get pgAdmin to build against wxWidgets
2.9.2 on Mac. The only obvious problem I see with it when running is
that the toolbars are displaying text over the graphical buttons which
needs further investigation.

I'm not really sure why the compiler is unable to resolve this:

./slony/dlgRepCluster.cpp:815: error: request for member
‘GetClientData’ is ambiguous
/usr/local/include/wx-2.9/wx/ctrlsub.h:297: error: candidates are:
void* wxItemContainer::GetClientData(unsigned int) const
/usr/local/include/wx-2.9/wx/event.h:3234: error:
void* wxEvtHandler::GetClientData() const

Any ideas Peter? It's easy to give it a hint of course, but quite ugly.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2011-07-12 16:45:59 Re: [pgAdmin III] #327: Table SQL pane doesn't show column variables
Previous Message pgAdmin Trac 2011-07-12 14:26:59 Re: [pgAdmin III] #329: Duplicate column names allowed (was: Duplicate columns ignored)