> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 26 September 2005 18:49
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] SVN Commit by dpage: r4466 -
> trunk/pgadmin3/src/agent
>
> svn@pgadmin.org wrote:
> > Author: dpage
> ;
> > +
> > + // Disable/enable the database combo
> > + if ((wxT("sb")[rbxKind->GetSelection()]) == 'b')
>
> Um, if(rbxKind->GetSelection() == 1) seems to easy :-)
> Hopefully, rbxKind->GetSelection() will never return -1...
Yeah, well, that's what happens when I'm doing four things at once and
take a shortcut by copying your code :-P
/D