On Mon, Aug 10, 2009 at 2:03 PM, Dave Page<dp...@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

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to