Re: Small annoyance in pgAdmin 1.10 - Mailing list pgadmin-support

From Dave Page
Subject Re: Small annoyance in pgAdmin 1.10
Date
Msg-id 937d27e10908100608kad2a764w7fe8ae8aab6d704d@mail.gmail.com
Whole thread Raw
In response to Re: Small annoyance in pgAdmin 1.10  (Dave Page <dpage@pgadmin.org>)
Responses Re: Small annoyance in pgAdmin 1.10  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support
On Mon, Aug 10, 2009 at 2:03 PM, Dave Page<dpage@pgadmin.org> wrote:
>> If I can't use a pointer, I don't see how I can do this. Or should I just
>> remove the MessageBox?
>>
>> As per my understanding, you always can use reference in place of pointer.
>
> Yes, just pass by reference:
>
> bool generateSQL(const wxString &query);

Of course, you might want to leave out the const decoration.

-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Small annoyance in pgAdmin 1.10
Next
From: Dave Page
Date:
Subject: Re: Small annoyance in pgAdmin 1.10