xref: /haiku/src/apps/resedit/ResListView.cpp (revision 71452e98334eaac603bf542d159e24788a46bebb)
1 /*
2  * Copyright (c) 2005-2010, Haiku, Inc.
3  * Distributed under the terms of the MIT license.
4  *
5  * Author:
6  *		DarkWyrm <darkwyrm@gmail.com>
7  */
8 #include "ResListView.h"
9 
10 ResListView::ResListView(const BRect &frame, const char *name, int32 resize, int32 flags,
11 						border_style border)
12 	:  BColumnListView(frame,name,resize,flags,border)
13 {
14 }
15 
16 
17 void
18 ResListView::MessageDropped(BMessage *msg, BPoint pt)
19 {
20 	if (!Parent())
21 		return;
22 
23 	BMessenger messenger(Parent());
24 	msg->what = B_REFS_RECEIVED;
25 	messenger.SendMessage(msg);
26 }
27