diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index d4af95790c..827633364d 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -224,8 +224,9 @@ bool wxStyledTextCtrl::Create(wxWindow *parent, // STC doesn't support RTL languages at all SetLayoutDirection(wxLayout_LeftToRight); - // Rely on native double buffering by default. -#if wxALWAYS_NATIVE_DOUBLE_BUFFER + // Rely on native double buffering by default, except under Mac where it + // doesn't work for some reason, see #18085. +#if wxALWAYS_NATIVE_DOUBLE_BUFFER && !defined(__WXMAC__) SetBufferedDraw(false); #else SetBufferedDraw(true);