Use wxEVT_COMMAND_TEXT_UPDATED instead of wxEVT_TEXT to maintain compatibility with wxWidgets 2.9.4.