Small doc updates.

Distrib and makefile updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-11-01 18:20:39 +00:00
parent d361e74eb1
commit fc9c7c09bd
16 changed files with 139 additions and 114 deletions

View File

@@ -711,7 +711,7 @@ void wxDropSource::PrepareIcon( int hot_x, int hot_y, GdkDragContext *context )
gtk_drag_set_icon_widget( context, m_iconWindow, hot_x, hot_y );
}
wxDragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) )
wxDragResult wxDropSource::DoDragDrop( bool allowMove )
{
wxASSERT_MSG( m_data, wxT("wxDragSource: no data") );
@@ -764,9 +764,11 @@ wxDragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) )
/* don't start dragging if no button is down */
if (button_number)
{
GdkDragAction action = GDK_ACTION_COPY;
if (allowMove) action = (GdkDragAction)(GDK_ACTION_MOVE|GDK_ACTION_COPY);
GdkDragContext *context = gtk_drag_begin( m_widget,
target_list,
(GdkDragAction)(GDK_ACTION_COPY|GDK_ACTION_MOVE),
action,
button_number, /* number of mouse button which started drag */
(GdkEvent*) &event );