Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: SVN Commit by dpage: r4466 - trunk/pgadmin3/src/agent

Re: SVN Commit by dpage: r4466 - trunk/pgadmin3/src/agent



 

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de] 
> Sent: 26 September 2005 18:49
> To: Dave Page
> Cc: pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] SVN Commit by dpage: r4466 - 
> trunk/pgadmin3/src/agent
> 
> svn(at)pgadmin(dot)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



Home | Main Index | Thread Index

top