Vadim Zeitlin
8a4fc479e0
Fix wxTextCtrl using hints and handling wxEVT_TEXT in wxGTK2 etc
...
With the generic hint support (used in pre-Vista wxMSW, wxGTK2, ...),
defining a wxEVT_TEXT handler not skipping the event completely broke
the control functionality as it was cleared, i.e. replaced the
user-entered text with the hint, whenever it lost focus.
This happened because wxTextEntryHintData::OnTextChanged() was never
called in this case, as the user-defined wxEVT_TEXT handler preempted
it. Work around this by pushing an event handler to the front of the
window event handlers chain instead of just binding to the window events
directly -- this could still potentially result in the same problem if
the user code pushes their own event handler, but this should be much
more rare and, in any case, there is not much we can do about this (the
only solution would seem to be to modify all platform-specific code to
update wxTextEntryHintData explicitly whenever the text changes).
2019-07-08 10:28:10 +02:00
..
2019-04-22 14:12:05 +02:00
2013-07-26 16:02:46 +00:00
2018-08-27 21:13:04 +02:00
2012-05-25 09:48:09 +00:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2017-12-26 00:25:52 +01:00
2019-04-22 14:12:05 +02:00
2017-10-31 20:47:45 +01:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:44:02 -07:00
2016-02-26 21:22:18 +01:00
2015-08-09 01:39:41 +02:00
2014-10-11 16:30:06 +00:00
2014-04-26 17:36:32 +00:00
2015-04-23 22:00:35 +04:00
2018-12-10 19:48:04 +01:00
2013-07-26 16:02:46 +00:00
2019-04-22 14:12:05 +02:00
2019-04-22 14:12:05 +02:00
2018-07-28 11:41:07 +02:00
2017-09-02 17:02:35 +03:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2019-04-21 01:53:14 +02:00
2019-02-25 10:23:35 -08:00
2019-02-25 10:49:04 -08:00
2019-02-25 10:23:35 -08:00
2019-04-21 02:09:42 +02:00
2019-04-21 01:53:14 +02:00
2018-11-16 18:51:37 +01:00
2015-09-23 00:52:30 +02:00
2019-01-30 17:35:54 +01:00
2019-05-10 01:35:55 +02:00
2015-04-23 22:00:35 +04:00
2019-06-20 01:48:33 +02:00
2015-04-23 22:00:35 +04:00
2019-03-25 17:59:56 -07:00
2017-12-02 14:38:45 +01:00
2019-02-25 09:20:44 -08:00
2016-06-04 21:47:12 +02:00
2019-06-28 13:55:45 +02:00
2016-02-22 22:21:47 +01:00
2019-07-07 03:14:21 +02:00
2019-04-23 21:20:02 +02:00
2018-10-20 13:22:16 +02:00
2018-06-20 13:59:03 +02:00
2014-05-15 23:56:58 +00:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:44:02 -07:00
2013-07-26 16:02:46 +00:00
2016-11-26 18:44:00 +01:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:44:02 -07:00
2019-04-22 14:12:05 +02:00
2013-07-26 16:02:46 +00:00
2018-08-27 21:13:04 +02:00
2014-05-16 13:01:06 +00:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:44:02 -07:00
2019-03-12 12:22:41 +01:00
2019-04-22 14:12:05 +02:00
2015-09-23 00:52:30 +02:00
2015-04-23 22:00:35 +04:00
2019-04-22 14:12:05 +02:00
2019-04-05 10:44:02 -07:00
2017-12-15 18:46:22 +01:00
2013-07-26 16:02:46 +00:00
2019-04-05 10:44:02 -07:00
2017-10-01 10:03:48 -07:00
2018-04-18 15:45:42 +02:00
2017-02-18 11:04:30 -08:00
2018-04-18 15:45:42 +02:00
2015-04-23 22:00:35 +04:00
2019-04-05 10:44:02 -07:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2019-05-02 19:53:05 +02:00
2019-04-22 14:12:05 +02:00
2019-01-14 23:39:02 +01:00
2015-04-23 22:00:35 +04:00
2019-04-22 14:12:05 +02:00
2019-04-22 14:12:05 +02:00
2019-02-25 10:23:35 -08:00
2018-05-30 13:06:20 +02:00
2013-07-26 16:02:46 +00:00
2016-06-04 21:59:36 +02:00
2017-02-18 11:11:21 -08:00
2013-07-26 16:02:46 +00:00
2019-01-03 23:15:54 +01:00
2019-06-10 18:07:57 +02:00
2015-04-23 22:00:35 +04:00
2017-08-15 19:35:01 +02:00
2016-02-01 03:03:53 +01:00
2019-04-05 10:44:02 -07:00
2018-10-08 13:04:38 +02:00
2013-07-26 16:02:46 +00:00
2019-04-05 10:44:02 -07:00
2019-04-22 14:12:05 +02:00
2019-02-02 21:23:35 +01:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2019-01-20 13:22:50 +01:00
2015-04-23 22:00:35 +04:00
2016-01-30 00:55:39 +01:00
2018-11-05 19:38:18 +01:00
2017-07-13 23:02:03 +02:00
2013-07-26 16:02:46 +00:00
2019-04-05 10:44:02 -07:00
2019-04-05 10:44:02 -07:00
2013-07-26 16:02:46 +00:00
2019-04-05 10:44:02 -07:00
2015-04-23 22:00:35 +04:00
2018-11-17 19:08:42 +01:00
2019-04-05 10:44:02 -07:00
2019-02-02 11:27:37 -08:00
2019-04-05 10:44:02 -07:00
2019-04-05 10:44:02 -07:00
2018-04-17 22:32:25 +02:00
2015-04-23 22:00:35 +04:00
2017-07-04 13:15:14 -06:00
2017-12-10 02:32:54 +01:00
2013-07-26 16:02:46 +00:00
2015-08-27 11:00:16 +02:00
2015-04-23 22:00:35 +04:00
2017-10-21 22:10:35 +02:00
2019-02-17 18:19:16 -08:00
2019-05-05 14:24:30 +02:00
2019-07-08 10:04:14 +02:00
2014-05-15 22:32:17 +00:00
2018-05-11 10:13:35 -07:00
2017-04-07 18:45:39 +02:00
2013-07-26 16:02:46 +00:00
2017-07-04 13:15:14 -06:00
2019-03-07 14:39:37 +01:00
2019-04-05 10:44:02 -07:00
2019-02-25 10:23:35 -08:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2017-11-04 16:19:06 +01:00
2015-04-23 22:00:35 +04:00
2016-02-21 20:12:32 +02:00
2019-01-30 17:35:54 +01:00
2016-05-30 18:20:59 +02:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2019-03-17 15:25:52 +01:00
2018-09-30 17:23:58 +02:00
2015-09-23 00:52:30 +02:00
2019-02-25 10:23:35 -08:00
2013-07-26 16:02:46 +00:00
2018-05-30 13:06:20 +02:00
2017-02-20 17:46:45 +01:00
2018-10-24 02:06:46 +02:00
2019-04-22 14:12:05 +02:00
2014-04-06 19:27:31 +00:00
2019-02-25 10:23:35 -08:00
2015-04-23 22:00:35 +04:00
2019-06-03 22:35:56 +02:00
2017-06-21 17:19:58 +02:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2018-12-23 17:12:26 +01:00
2019-04-22 14:12:05 +02:00
2019-04-22 14:12:05 +02:00
2017-01-06 19:38:03 +01:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2018-03-25 14:07:22 +02:00
2017-02-18 11:42:16 -08:00
2017-07-17 18:26:20 +02:00
2016-02-21 18:47:46 +01:00
2019-04-21 02:11:07 +02:00
2019-03-23 17:18:48 +01:00
2016-03-14 18:50:13 +01:00
2019-06-03 22:31:37 +02:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2018-01-30 02:03:48 +01:00
2019-04-22 14:12:05 +02:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2018-01-18 23:28:16 +01:00
2015-04-23 22:00:35 +04:00
2019-06-19 18:15:57 +02:00
2019-04-22 14:12:05 +02:00
2014-05-15 22:32:17 +00:00
2018-03-16 10:52:28 -04:00
2014-08-24 15:31:58 +00:00
2019-04-05 10:44:02 -07:00
2015-04-23 22:00:35 +04:00
2017-02-18 11:26:40 -08:00
2015-09-23 00:52:30 +02:00
2017-06-22 15:55:24 +02:00
2016-04-12 17:11:49 +02:00
2013-07-26 16:02:46 +00:00
2019-04-05 10:44:02 -07:00
2018-08-27 21:13:04 +02:00
2017-08-31 00:26:57 +02:00
2015-09-24 14:38:22 +02:00
2016-02-20 17:07:04 +01:00
2019-07-08 10:28:10 +02:00
2019-02-17 18:48:40 -08:00
2013-07-26 16:02:46 +00:00
2014-02-20 15:13:36 +00:00
2017-01-20 21:24:40 +01:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2015-06-14 19:52:27 +02:00
2018-11-01 00:06:34 +01:00
2019-04-05 10:44:02 -07:00
2019-04-05 10:21:04 -07:00
2019-04-21 20:10:49 +02:00
2019-01-30 17:35:54 +01:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2019-02-23 14:36:36 +01:00
2015-04-23 22:00:35 +04:00
2018-01-29 00:48:56 +01:00
2019-04-21 20:10:30 +02:00
2015-04-23 22:00:35 +04:00
2019-04-04 10:56:14 -07:00
2019-03-21 02:41:16 +01:00
2019-01-05 23:33:35 +01:00
2019-04-21 23:39:28 +02:00
2018-08-22 20:02:42 +02:00
2018-11-18 20:42:16 +01:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2019-02-25 10:23:35 -08:00
2016-02-10 00:10:47 +01:00
2019-03-15 03:29:54 +07:00
2017-10-27 20:13:04 +02:00
2017-11-25 11:13:02 +01:00
2017-12-10 02:32:54 +01:00
2019-04-05 10:44:02 -07:00
2017-11-25 08:52:01 +03:00
2019-01-30 17:35:54 +01:00
2017-11-25 09:13:11 +03:00
2019-02-25 09:12:43 -08:00
2016-01-16 10:55:01 -08:00