]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
New module definition file for the ever chaning treectrl class interface.
[wxWidgets.git] / src / stc / stc.cpp.in
index b2a778bb31ffe1512471ef18486a700696372f32..890c97ab8abda737f0ab41da0f0f9d6f14d48125 100644 (file)
@@ -88,6 +88,10 @@ BEGIN_EVENT_TABLE(wxStyledTextCtrl, wxControl)
     EVT_SCROLLWIN               (wxStyledTextCtrl::OnScrollWin)
     EVT_SIZE                    (wxStyledTextCtrl::OnSize)
     EVT_LEFT_DOWN               (wxStyledTextCtrl::OnMouseLeftDown)
+#ifdef __WXMSW__
+    // Let Scintilla see the double click as a second click
+    EVT_LEFT_DCLICK             (wxStyledTextCtrl::OnMouseLeftDown)
+#endif
     EVT_MOTION                  (wxStyledTextCtrl::OnMouseMove)
     EVT_LEFT_UP                 (wxStyledTextCtrl::OnMouseLeftUp)
     EVT_RIGHT_UP                (wxStyledTextCtrl::OnMouseRightUp)