X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/232fdc630c42eb165f7659981043e794be03b3b7..e1efca652844273c3e8d32c7e5f442b87e455ca7:/tests/testableframe.h diff --git a/tests/testableframe.h b/tests/testableframe.h index ad676a12fc..29e03658f7 100644 --- a/tests/testableframe.h +++ b/tests/testableframe.h @@ -2,9 +2,9 @@ // Name: testableframe.h // Purpose: An improved wxFrame for unit-testing // Author: Steven Lamerton -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Copyright: (c) 2010 Steven Lamerton -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #include "wx/frame.h" @@ -21,6 +21,9 @@ public: //wxEVT_ANY get the count for all events or a type can be specified int GetEventCount(wxEventType type = wxEVT_ANY); + //Used to clear an event count, after disconnecting a counter for example + void ClearEventCount(wxEventType type); + private: wxLongToLongHashMap m_count; };