X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/stc/edit.h

diff --git a/samples/stc/edit.h b/samples/stc/edit.h
index 44e185ead9..d22222f67c 100644
--- a/samples/stc/edit.h
+++ b/samples/stc/edit.h
@@ -48,7 +48,7 @@ public:
     Edit (wxWindow *parent, wxWindowID id = wxID_ANY,
           const wxPoint &pos = wxDefaultPosition,
           const wxSize &size = wxDefaultSize,
-          long style = 
+          long style =
 #ifndef __WXMAC__
           wxSUNKEN_BORDER|
 #endif
@@ -97,6 +97,7 @@ public:
     // stc
     void OnMarginClick (wxStyledTextEvent &event);
     void OnCharAdded  (wxStyledTextEvent &event);
+    void OnKey  (wxStyledTextEvent &event);
 
     //! language/lexer
     wxString DeterminePrefs (const wxString &filename);