You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#pragma warning disable WFO5001// Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
3430
3430
casePInvokeCore.WM_PAINT:
3431
+
3432
+
// Important: We need to let to run the base
3433
+
// renderer first in the case of the RTF control.
3434
+
base.WndProc(refm);
3435
+
3431
3436
if(Handle==m.HWND
3432
3437
&&!Enabled
3433
3438
&&Application.IsDarkModeEnabled)
3434
3439
{
3435
-
base.WndProc(refm);
3436
-
3437
3440
// If the control is disabled, we don't want to let the RTF control
3438
3441
// paint anything else. We will paint the background and the unformatted
3439
3442
// text ourselves, so we don't want the RTF control to paint the background
#pragma warning restore WFO5001// Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
0 commit comments