code: def on_ok_button(self, event):
      self.EndModal(1)
  
imports: import re
  import wx
  import wx.stc
label_desc: Use image node_id 5 for calling the RegexpDialog obj's underlying member method code with example usage: obj.on_ok_button(event) without return types