5,336
edits
Line 19: | Line 19: | ||
Make sure you delete the window in the <code>onClose</code> method of your frame.<br> | Make sure you delete the window in the <code>onClose</code> method of your frame.<br> | ||
You may also want to [https://wiki.wxwidgets.org/Making_a_render_loop create a render loop] | You may also want to [https://wiki.wxwidgets.org/Making_a_render_loop create a render loop] | ||
{{hidden | Initializing SDL | {{hidden | Initializing SDL | | ||
Define your own main function: | Define your own main function: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> |