From 63cff3bca4fe5f08144c165f1c3df0067ea3c29e Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 23 Aug 2020 12:57:23 +1000
Subject: Use DispatchMessage instead MessageReceived


diff --git a/haiku.cpp b/haiku.cpp
index 8031d8f..f21b8f2 100644
--- a/haiku.cpp
+++ b/haiku.cpp
@@ -77,7 +77,7 @@ class LinksView : public BView {
 	virtual void MouseUp(BPoint p);
 	virtual void MouseMoved(BPoint p, uint32 transit, const BMessage *dragmsg);
 	virtual void KeyDown(const char *s, int32 numBytes);
-	virtual void MessageReceived(BMessage *msg);
+	virtual void DispatchMessage(BMessage *msg);
 	LinksWindow *win;
 	struct graphics_device *dev;
 	void d_flush();
@@ -558,7 +558,7 @@ void LinksView::MouseMoved(BPoint p, uint32 transit, const BMessage *dragmsg)
 	detach_and_pipe_message(dev);
 }
 
-void LinksView::MessageReceived(BMessage *msg)
+void LinksView::DispatchMessage(BMessage *msg)
 {
 	switch (msg->what) {
 	case B_MOUSE_WHEEL_CHANGED:
-- 
2.28.0

