]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/stc.cpp.in
synthetize 'button up' event before doubleclick, too
[wxWidgets.git] / contrib / src / stc / stc.cpp.in
index de370fc4243359726c30ff6f0fc7b0865ba40fd5..b3a666d8655aa9b528ce9101548473beb636eb35 100644 (file)
@@ -143,6 +143,7 @@ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow *parent,
               style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
               wxDefaultValidator, name)
 {
+    wxForceScintillaLexers();
     m_swx = new ScintillaWX(this);
     m_stopWatch.Start();
     m_lastKeyDownConsumed = FALSE;