Custom widget designed to overcome the limitations encountered when using 'native' wxTextCtrl