antipole2/JavaScript_pi

StartStyling( ) requires deprecated 2nd argument

Closed this issue · 2 comments

wxStyledTextCtrl::StartStyling(int start, int mask)

2nd argument is now deprecated but Linux still using wxWidgets v3.0.2, so we have to provide it (setting it to 0)
Lost of grumbles at compile time.

Once Linux has moved on from wxWidgets v3.0.2, can remove second argument.

and argument must be 255, not 0.
From v2.0, use conditional compilation to only include with wxWidgets before v3.1.

Resolved with move to wx3.2