Firstly, I Will say thanks. Can you help me how to set the button as you wish? Please give me an example of a login form too.
There are LOTS of examples in the wxPython demo and samples. You can get an archive containing them at https://extras.wxpython.org/wxPython4/extras/
Thank you. I wish you success