> -----Original Message----- > From: Andreas Pflug [mailto:[EMAIL PROTECTED] > Sent: 26 September 2005 18:49 > To: Dave Page > Cc: [email protected] > Subject: Re: [pgadmin-hackers] SVN Commit by dpage: r4466 - > trunk/pgadmin3/src/agent > > [EMAIL PROTECTED] 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 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster
