Notepad.exe is just a wrapper around the edit control [1] that Windows ships as part of its core system. It doesn't even properly support undo as you can only undo the last action, which becomes the new last action, allowing you to only toggle between two states.
It's a window that mostly uses an edit control, but, having code in Notepad, it's not just a wrapper around the edit control. Could you write Notepad in a day or two? Perhaps. But it's deceiving to say that it's just a wrapper around the edit control.