Skip to content

Instantly share code, notes, and snippets.

@drautb
Created May 18, 2013 22:55
Show Gist options
  • Save drautb/5606020 to your computer and use it in GitHub Desktop.
Save drautb/5606020 to your computer and use it in GitHub Desktop.
C/C++: wxWidgets Event Handler
<snippet>
<content><![CDATA[
void ${1:ClassName}::${2:HandlerName}(wxCommandEvent& WXUNUSED(event))
{
${3:// Handler code}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>wxh</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.c, source.c++</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment