- wxDropSource source(textData, this
-
-#ifdef __WXMSW__
- ,wxCURSOR_PENCIL, // for copy
- wxCURSOR_SPRAYCAN, // for move
- wxCURSOR_QUESTION_ARROW // for nothing
-#endif
- );
+ wxDropSource source(textData, this,
+ wxDROP_ICON(dnd_copy),
+ wxDROP_ICON(dnd_move),
+ wxDROP_ICON(dnd_none));