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:
@@ -98,9 +98,10 @@ public:
|
|||||||
|
|
||||||
#if wxUSE_SPELLCHECK && defined(__WXGTK3__)
|
#if wxUSE_SPELLCHECK && defined(__WXGTK3__)
|
||||||
// Use native spelling and grammar checking functions.
|
// Use native spelling and grammar checking functions.
|
||||||
virtual bool EnableProofCheck(bool WXUNUSED(enable) = true,
|
virtual bool EnableProofCheck(
|
||||||
const wxTextProofOptions& WXUNUSED(options) =
|
bool enable = true,
|
||||||
wxTextProofOptions()) wxOVERRIDE;
|
const wxTextProofOptions& options = wxTextProofOptions()
|
||||||
|
) wxOVERRIDE;
|
||||||
virtual bool IsProofCheckEnabled() const wxOVERRIDE;
|
virtual bool IsProofCheckEnabled() const wxOVERRIDE;
|
||||||
#endif // wxUSE_SPELLCHECK && __WXGTK3__
|
#endif // wxUSE_SPELLCHECK && __WXGTK3__
|
||||||
|
|
||||||
|
@@ -114,9 +114,10 @@ public:
|
|||||||
#if wxUSE_RICHEDIT && wxUSE_SPELLCHECK
|
#if wxUSE_RICHEDIT && wxUSE_SPELLCHECK
|
||||||
// Use native spelling and grammar checking functions.
|
// Use native spelling and grammar checking functions.
|
||||||
// This is only available in wxTE_RICH2 controls.
|
// This is only available in wxTE_RICH2 controls.
|
||||||
virtual bool EnableProofCheck(bool WXUNUSED(enable) = true,
|
virtual bool EnableProofCheck(
|
||||||
const wxTextProofOptions& WXUNUSED(options) =
|
bool enable = true,
|
||||||
wxTextProofOptions()) wxOVERRIDE;
|
const wxTextProofOptions& options = wxTextProofOptions()
|
||||||
|
) wxOVERRIDE;
|
||||||
virtual bool IsProofCheckEnabled() const wxOVERRIDE;
|
virtual bool IsProofCheckEnabled() const wxOVERRIDE;
|
||||||
#endif // wxUSE_RICHEDIT && wxUSE_SPELLCHECK
|
#endif // wxUSE_RICHEDIT && wxUSE_SPELLCHECK
|
||||||
|
|
||||||
|
@@ -799,10 +799,13 @@ public:
|
|||||||
|
|
||||||
#if wxUSE_SPELLCHECK
|
#if wxUSE_SPELLCHECK
|
||||||
// Use native spelling and grammar checking functions.
|
// Use native spelling and grammar checking functions.
|
||||||
virtual bool EnableProofCheck(bool WXUNUSED(enable) = true,
|
virtual bool EnableProofCheck(
|
||||||
const wxTextProofOptions& WXUNUSED(options) =
|
bool WXUNUSED(enable) = true,
|
||||||
wxTextProofOptions())
|
const wxTextProofOptions& WXUNUSED(options) = wxTextProofOptions()
|
||||||
{ return false; }
|
)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
virtual bool IsProofCheckEnabled() const { return false; }
|
virtual bool IsProofCheckEnabled() const { return false; }
|
||||||
#endif // wxUSE_SPELLCHECK
|
#endif // wxUSE_SPELLCHECK
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user