]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
Fix for drag object bug
[wxWidgets.git] / include / wx / event.h
index a9e301ba5d191b83acd1ad13b8e09fe9abf52f26..75b961517c012770a923012043581dd8189f5854 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) wxWidgets team
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_EVENT_H__
@@ -1763,9 +1763,11 @@ public:
     wxWindow* GetCurrentFocus() const { return m_focus; }
     void SetCurrentFocus(wxWindow *win) { m_focus = win; }
 
+    // Set flags
+    void SetFlags(long flags) { m_flags = flags; }
+
     virtual wxEvent *Clone() const { return new wxNavigationKeyEvent(*this); }
 
-private:
     enum
     {
         IsForward = 0x0001,