title: wxpython set max textbox value length
body: <p>how i can set the max length of the textbox in wxpython?
  this is my code(part of the code)</p>
  
  <pre><code>import wx
  from wx.lib.masked import NumCtrl
  class MyFrame(wx.Frame):
      def __init__(self,parent,id,title):
          wx.Frame.__init__(self,parent,id,title)
          self.panelMain = wx.Panel(self, -1)
          panel = self.panelMain
  
  
          #creating buttons and text boxes.
          self.guessTxt = wx.lib.masked.NumCtrl(self.panelMain,-1,size=(100,20),pos=(50,102))
          self.newGameTxt = wx.TextCtrl(self.panelMain,-1,size=(100,20),pos=(180,73))
  </code></pre>