// Private functions
/////////////////////////////////////////////////////////////////////////////
+#if 0
static wxDragResult ConvertDragEffectToResult (
DWORD dwEffect
)
return DO_DEFAULT;
}
} // end of ConvertDragResultToEffect
+#endif
class CIDropTarget
{
{
char zBuffer[128];
ULONG ulBytes;
- USHORT uOp;
+ USHORT uOp = 0;
USHORT uIndicator;
ULONG ulItems;
ULONG i;
{
char zBuffer[128];
ULONG ulBytes;
- USHORT uOp;
+ USHORT uOp = 0;
USHORT uIndicator;
ULONG ulItems;
ULONG i;
,m_pDragInfo->yDrop
))
{
- wxDragResult eRc;
+ wxDragResult eRc = wxDragNone;;
//
// And now it has the data
case wxDragLink:
m_pDragInfo->usOperation = DO_LINK;
break;
+
+ case wxDragNone:
+ case wxDragCancel:
+ case wxDragError:
+ break;
}
return TRUE;
}