What is the opposite of SetDefault() in wxPython 4?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


What is the opposite of SetDefault() in wxPython 4?



In a simple GUI, I use SetDefault() on a button when the user has filled in the necessary text fields so that it's obvious that if the user now presses the return key, the button will be pressed. How do I "undo" the default setting once it is set? SetDefault() in wxPython does not take an argument, so I cannot call SetDefault(False), and I cannot find a suitable API call to reverse the default state.


SetDefault()


SetDefault()


SetDefault(False)



How is one supposed to reverse or undo the actions of a SetDefault() call in wxPython?


SetDefault()









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

Future solutions