setting length of characters in wxTextCtrl

Carla Chua
2011-01-22
2013-05-01
  • Carla Chua
    Carla Chua
    2011-01-22

    I can't seem to find a way to set a wxTextCtrl to receive a constant number of characters.
    I've only changed it's size but I was wondering if there is a way to just let the user to type only a certain number of characters, lets say around 10 characters in the wxTextCtrl.
    I need this so that the number of characters in wxTextCtrl would match how many characters allowed in my MySQL database.

    Tips anyone?

     
  • Carla Chua
    Carla Chua
    2011-02-06

    i have already fixed this. :D