what I want to do is to enter a set of data in the TextCtrl space in the pop-up dialog box.
check whether to enter after clicking the OK button (ShowModal () = = wx.ID_OK):
if TextCtrl is empty, the dialog box does not close, waiting for user input;
if TextCtrl is not empty, the dialog box closes.
how should the above functions be implemented?
Thank you!