Building with wx2.9 on Mac

Поиск
Список
Период
Сортировка
От Dave Page
Тема Building with wx2.9 on Mac
Дата
Msg-id AANLkTikc0_qa4nt_J+DRhy4uY45usb3Pn3VLUCi=WPW3@mail.gmail.com
обсуждение исходный текст
Ответы Re: Building with wx2.9 on Mac  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список 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

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: make style
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Building with wx2.9 on Mac