diff --git a/Terminal.Gui/Application.cs b/Terminal.Gui/Application.cs
index 49c20319e..aaa29922f 100644
--- a/Terminal.Gui/Application.cs
+++ b/Terminal.Gui/Application.cs
@@ -1412,7 +1412,7 @@ public static partial class Application
/// Called when a mouse event occurs. Raises the event.
/// This method can be used to simulate a mouse event, e.g. in unit tests.
/// The mouse event with coordinates relative to the screen.
- public static void OnMouseEvent (MouseEventEventArgs a)
+ internal static void OnMouseEvent (MouseEventEventArgs a)
{
if (IsMouseDisabled)
{