Added DnD guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
48c8439fdb
commit
b35c7335f1
@ -20,8 +20,12 @@
|
||||
|
||||
#include "wx/dnd.h"
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
|
||||
bool wxIsDragResultOk(wxDragResult res)
|
||||
{
|
||||
return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user