Update wx531.py

Added the ability to only click OK, and changed .GetValue() to GetValue(self)