Re: SVN Commit by dpage: r4466 - trunk/pgadmin3/src/agent - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: SVN Commit by dpage: r4466 - trunk/pgadmin3/src/agent
Date
Msg-id 43383476.6080003@pse-consulting.de
Whole thread Raw
In response to SVN Commit by dpage: r4466 - trunk/pgadmin3/src/agent  (svn@pgadmin.org)
List pgadmin-hackers
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...

Regards,
Andreas

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Source compile instructions
Next
From: Vasilev Max
Date:
Subject: Re: Current snapshots for SuSE Linux distribution