]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
wxUSE_XML and wxUSE_XRC build fixes if expat is not enabled
[wxWidgets.git] / include / wx / timer.h
index 9e9ed4e5233018db1b0cbb4a3e1b4e4d84ce9c00..faa3133c39f8e5ec20c04b66fdb7469093260c3e 100644 (file)
@@ -6,7 +6,7 @@
 //              Guillermo Rodriguez (global clean up)
 // Created:     04/01/98
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows team
+// Copyright:   (c) wxWidgets team
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -58,6 +58,7 @@ public:
     // same as ctor above
     void SetOwner(wxEvtHandler *owner, int timerid = -1)
         { m_owner = owner; m_idTimer = timerid; }
+    wxEvtHandler* GetOwner() const { return m_owner; }
 
     virtual ~wxTimerBase();