]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dnd.h
corrected EVT_TEXT_URL() definition, its handler takes wxTextUrlEvent and not wxComma...
[wxWidgets.git] / include / wx / motif / dnd.h
index fa392bd9d8bdf921522fb47c281aff9e62370aa5..c7508ec5edcbf9a0763ef6cc04ab6fee711bb906 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_DND_H_
 #define _WX_DND_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -153,7 +153,7 @@ public:
     void SetData( wxDataObject &data  );
     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