Dnd constant name changes because names like Copy can be #defined by other
apps. Various other changes to stubs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,11 +302,11 @@ void DnDFrame::OnLeftDown(wxMouseEvent &WXUNUSED(event) )
|
||||
const char *pc;
|
||||
|
||||
switch ( dragSource.DoDragDrop(TRUE) ) {
|
||||
case wxDropSource::Error: pc = "Error!"; break;
|
||||
case wxDropSource::None: pc = "Nothing"; break;
|
||||
case wxDropSource::Copy: pc = "Copied"; break;
|
||||
case wxDropSource::Move: pc = "Moved"; break;
|
||||
case wxDropSource::Cancel: pc = "Cancelled"; break;
|
||||
case wxDragError: pc = "Error!"; break;
|
||||
case wxDragNone: pc = "Nothing"; break;
|
||||
case wxDragCopy: pc = "Copied"; break;
|
||||
case wxDragMove: pc = "Moved"; break;
|
||||
case wxDragCancel: pc = "Cancelled"; break;
|
||||
default: pc = "Huh?"; break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user