IMPLEMENT_CLASS(wxStyledTextCtrl, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxStyledTextEvent, wxCommandEvent)
+#ifdef LINK_LEXERS
// forces the linking of the lexer modules
-int Scintilla_LinkLexers();
+int wxForceScintillaLexers();
+#endif
//----------------------------------------------------------------------
// Constructor and Destructor
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
- Scintilla_LinkLexers();
+#ifdef LINK_LEXERS
+ wxForceScintillaLexers();
+#endif
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;
IMPLEMENT_CLASS(wxStyledTextCtrl, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxStyledTextEvent, wxCommandEvent)
+#ifdef LINK_LEXERS
// forces the linking of the lexer modules
-int Scintilla_LinkLexers();
+int wxForceScintillaLexers();
+#endif
//----------------------------------------------------------------------
// Constructor and Destructor
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
- Scintilla_LinkLexers();
+#ifdef LINK_LEXERS
+ wxForceScintillaLexers();
+#endif
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;
IMPLEMENT_CLASS(wxStyledTextCtrl, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxStyledTextEvent, wxCommandEvent)
+#ifdef LINK_LEXERS
// forces the linking of the lexer modules
-int Scintilla_LinkLexers();
+int wxForceScintillaLexers();
+#endif
//----------------------------------------------------------------------
// Constructor and Destructor
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
- Scintilla_LinkLexers();
+#ifdef LINK_LEXERS
+ wxForceScintillaLexers();
+#endif
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;
IMPLEMENT_CLASS(wxStyledTextCtrl, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxStyledTextEvent, wxCommandEvent)
+#ifdef LINK_LEXERS
// forces the linking of the lexer modules
-int Scintilla_LinkLexers();
+int wxForceScintillaLexers();
+#endif
//----------------------------------------------------------------------
// Constructor and Destructor
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
- Scintilla_LinkLexers();
+#ifdef LINK_LEXERS
+ wxForceScintillaLexers();
+#endif
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;