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

Re: 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...

Regards,
Andreas



Home | Main Index | Thread Index

top