Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group