Merge remote-tracking branch 'sunset/process-enter'
Fix wxTE_PROCESS_ENTER logic for wxMSW and wxGTK too. See https://github.com/wxWidgets/wxWidgets/pull/1415 Closes #18273.
This commit is contained in:
@@ -1269,4 +1269,19 @@ void TextCtrlTestCase::XYToPositionSingleLine()
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("wxTextCtrl::ProcessEnter", "[wxTextCtrl][enter]")
|
||||
{
|
||||
struct TextCtrlCreator
|
||||
{
|
||||
static wxControl* Do(wxWindow* parent, int style)
|
||||
{
|
||||
return new wxTextCtrl(parent, wxID_ANY, wxString(),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
style);
|
||||
}
|
||||
};
|
||||
|
||||
TestProcessEnter(&TextCtrlCreator::Do);
|
||||
}
|
||||
|
||||
#endif //wxUSE_TEXTCTRL
|
||||
|
Reference in New Issue
Block a user