Don't always turn on wxTE_PROCESS_ENTER in wxOSX
This style was unconditionally used for all multiline controls for some reason, meaning that wxEVT_TEXT_ENTER could be received even for the controls not using wxTE_PROCESS_ENTER explicitly, which was unexpected. Don't do this any more to conform to the expected behaviour. Also do use wxTE_PROCESS_ENTER for the text control supposed to allow handling "Enter" in the text sample: surprisingly, it didn't have this style before, although it was clearly supposed to. Closes #1913.
This commit is contained in:
@@ -195,3 +195,4 @@ wxOSX/Cocoa:
|
||||
- Provide native implementation of wxStandardPaths (Tobias Taschner).
|
||||
- Add wxTE_{RIGHT,CENTER} support for multiline wxTextCtrl (Andreas Falkenhahn).
|
||||
- Don't leave wxSlider labels shown when the slider itself is hidden.
|
||||
- Don't generate wxEVT_TEXT_ENTER for controls without wxTE_PROCESS_ENTER.
|
||||
|
Reference in New Issue
Block a user