There doesn't seem to be any special reason to use wxStyledTextControl in this sample and doing it unconditionally breaks the build with --disable-stc, so use wxTextCtrl instead in this case. Closes #17998.
There doesn't seem to be any special reason to use wxStyledTextControl in this sample and doing it unconditionally breaks the build with --disable-stc, so use wxTextCtrl instead in this case. Closes #17998.