* It is the same as the code in the implementation of the wxTextCtrl, I guess this could be extracted in a common function, but I don't know where to put it.
* It is the same as the code in the implementation of the wxTextCtrl, I guess this could be extracted in a common function, but I don't know where to put it.