diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index 763e43287f..528ee0b32f 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -1339,7 +1339,7 @@ void wxNSTextViewControl::EnableAutomaticDashSubstitution(bool enable) [m_textView setAutomaticDashSubstitutionEnabled:enable]; } -void wxNSTextViewControl::EnableNewLineReplacement(bool enable) +void wxNSTextViewControl::EnableNewLineReplacement(bool WXUNUSED(enable)) { }