Creating Editor in wxWidget with Line Numbers
<p>As part of a project at work I have build an editor in C++ using wxWidgets (unfortunately it's very specific so I can't use an existing one).  I would like to have it so that when you move to the next line you get a line count (see screenshot.</p>
<p>What do I need to do in wxWidget to achieve this please?  For editing I have been using a large edit box.</p>
<p>Thank you in advance.</p>
<p><a href="https://i.stack.imgur.com/fWtCz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fWtCz.png" alt="as per " /></a></p>