]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
no changes, just refactoring: extracted the code to update the column indices array...
[wxWidgets.git] / include / wx / window.h
index 59e9eabda4576038346ff77e0f0f312d8c6841d5..fb66bf004eea193d9d4246be7c643d347674c38a 100644 (file)
@@ -199,7 +199,7 @@ public:
     bool DestroyChildren();
 
         // is the window being deleted?
-    bool IsBeingDeleted() const { return m_isBeingDeleted; }
+    bool IsBeingDeleted() const;
 
     // window attributes
     // -----------------
@@ -1230,6 +1230,16 @@ public:
         // NULL; it's owned by the window and will be deleted by it)
     virtual void SetDropTarget( wxDropTarget *dropTarget ) = 0;
     virtual wxDropTarget *GetDropTarget() const { return m_dropTarget; }
+
+    // Accept files for dragging
+    virtual void DragAcceptFiles(bool accept)
+#ifdef __WXMSW__
+    // it does have common implementation but not for MSW which has its own
+    // native version of it
+    = 0
+#endif // __WXMSW__
+    ;
+
 #endif // wxUSE_DRAG_AND_DROP
 
     // constraints and sizers