X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/motif/dnd.h diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index b3944af30c..c7508ec5ed 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/dnd.h @@ -11,7 +11,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -151,9 +151,9 @@ public: ~wxDropSource(void); void SetData( wxDataObject &data ); - wxDragResult DoDragDrop( bool bAllowMove = FALSE ); + wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly); - virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return TRUE; }; + virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return true; }; // implementation #if 0