Search found 3 matches

by PaulR
Sat Jul 27, 2019 11:49 pm
Forum: C++ Development
Topic: wxStyleTextCtrl::SetLexer not setting lexer
Replies: 2
Views: 133

Re: wxStyleTextCtrl::SetLexer not setting lexer

Ah okay that's good news I can sort it out, thanks for the reply!
by PaulR
Sat Jul 27, 2019 10:55 pm
Forum: C++ Development
Topic: wxStyleTextCtrl::SetLexer not setting lexer
Replies: 2
Views: 133

wxStyleTextCtrl::SetLexer not setting lexer

I am wondering if this rings a bell with anybody. GetLexer returns '0' after SetLexer(3) and there is no syntax highlighting after these steps: m_stc->SetLexer(wxSTC_LEX_CPP); m_stc->StyleSetForeground(wxSTC_C_DEFAULT, wxColour(20, 20, 200)); m_stc->StyleSetForeground(wxSTC_C_COMMENT, wxColour(150, ...
by PaulR
Thu Mar 28, 2019 1:19 am
Forum: General Development
Topic: Are there tutorials and a Lua reference and command documentation for wxLua and wxWidgets for Lua
Replies: 6
Views: 1041

Re: Are there tutorials and a Lua reference and command documentation for wxLua and wxWidgets for Lua

The code generated by wxFormBuilder for Lua wasn't really up to scratch so I've submitted an overhaul in a pull request to wxFormBuilder on GitHub(#511). I see the trouble you must have been having using it to instantiate a modal dialog, when they pops up the minute the global table was scanned. I'm...