Re: wxWidgets 2.9 build

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: wxWidgets 2.9 build
Date: 2011-01-25 23:56:24
Message-ID: AANLkTi=a7zC7CSzX4CosNa8AePtu_DJ+DUUZo33wx-_P@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-01-26 09:15:59 Re: wxWidgets 2.9 build
Previous Message Dave Page 2011-01-25 15:36:00 pgAdmin III commit: Store the servers on exit, to ensure we store the l