Slightly reformat EnableProofCheck() declarations

Keep the entire wxTextProofOptions argument on the same line.

Remove unnecessary WXUNUSED() in the declarations of the function in
wxMSW/wxGTK headers.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-08-22 21:58:06 +02:00
parent 01d3a96043
commit 05df6e0390
3 changed files with 15 additions and 10 deletions

View File

@@ -799,10 +799,13 @@ public:
#if wxUSE_SPELLCHECK
// Use native spelling and grammar checking functions.
virtual bool EnableProofCheck(bool WXUNUSED(enable) = true,
const wxTextProofOptions& WXUNUSED(options) =
wxTextProofOptions())
{ return false; }
virtual bool EnableProofCheck(
bool WXUNUSED(enable) = true,
const wxTextProofOptions& WXUNUSED(options) = wxTextProofOptions()
)
{
return false;
}
virtual bool IsProofCheckEnabled() const { return false; }
#endif // wxUSE_SPELLCHECK