Building with wx2.9 on Mac - Mailing list pgadmin-hackers

From Dave Page
Subject Building with wx2.9 on Mac
Date
Msg-id AANLkTikc0_qa4nt_J+DRhy4uY45usb3Pn3VLUCi=WPW3@mail.gmail.com
Whole thread Raw
Responses Re: Building with wx2.9 on Mac
List pgadmin-hackers
Hi Peter,

It seems that the wxWidgets guys have fixed the issue with 2.9 on Mac,
so I was able to try out a build today. Attached is the patch for your
review. Aside from an issue with the font selector dialog (which seems
to work OK now, thus the workaround which is broken on 2.9 anyway
isn't required), the main issue I see is this:

./dlg/dlgDatabase.cpp: In member function ‘bool
dlgDatabase::executeDDLSql(const wxString&)’:
./dlg/dlgDatabase.cpp:425: 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:3204: error:
void* wxEvtHandler::GetClientData() const

It's easily fixed (albeit somewhat ugly) as can be seen in the patch -
but I'm somewhat baffled about why the compiler thinks the two
functions listed are both candidates, given that one takes an argument
and the other doesn't. Any ideas?

Other problems seen so far:

- The toolbars have button labels displayed through them for some
reason (see the attached screenshot).

- Highlighting text in the STC has a weird effect on lower parts of
the sae window (see the attached screenshot).

- The wxDIALOG_MODAL flag seems to be gone.

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

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

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: make style
Next
From: Peter Geoghegan
Date:
Subject: Re: Building with wx2.9 on Mac