Re: wxWidgets 2.9 build

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: wxWidgets 2.9 build
Дата
Msg-id AANLkTi=a7zC7CSzX4CosNa8AePtu_DJ+DUUZo33wx-_P@mail.gmail.com
обсуждение исходный текст
Ответ на Re: wxWidgets 2.9 build  (Dave Page <dpage@pgadmin.org>)
Ответы Re: wxWidgets 2.9 build  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
I had another look at ctlSQLBox::RegexFindText() this evening. I'm
just going to use the equivalent wx functionality. So, our drop in
replacement for wx2stc() is:

wxWX2MBbuf ctlSQLBox::StrStc(const wxString& str)
{

#if wxUSE_UNICODE
    return str.mb_str(wxConvUTF8);
#else
    return str.mbc_str();
#endif

}

This appears to work fine. Objections?

--
Regards,
Peter Geoghegan

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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Store the servers on exit, to ensure we store the l
Следующее
От: Dave Page
Дата:
Сообщение: Re: wxWidgets 2.9 build