mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
12
Externals/wxWidgets3/include/wx/gtk/dnd.h
vendored
12
Externals/wxWidgets3/include/wx/gtk/dnd.h
vendored
@ -2,7 +2,6 @@
|
||||
// Name: wx/gtk/dnd.h
|
||||
// Purpose: declaration of the wxDropTarget class
|
||||
// Author: Robert Roebling
|
||||
// RCS-ID: $Id: dnd.h 69020 2011-09-07 16:56:50Z PC $
|
||||
// Copyright: (c) 1998 Vadim Zeitlin, Robert Roebling
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -81,6 +80,17 @@ public:
|
||||
|
||||
virtual ~wxDropSource();
|
||||
|
||||
// set the icon corresponding to given drag result
|
||||
void SetIcon(wxDragResult res, const wxIcon& icon)
|
||||
{
|
||||
if ( res == wxDragCopy )
|
||||
m_iconCopy = icon;
|
||||
else if ( res == wxDragMove )
|
||||
m_iconMove = icon;
|
||||
else
|
||||
m_iconNone = icon;
|
||||
}
|
||||
|
||||
// start drag action
|
||||
virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
|
||||
|
||||
|
Reference in New Issue
Block a user