]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
i18n files are installed as part of wxBase (and should be ideally part of separate...
[wxWidgets.git] / src / common / event.cpp
index f33787b099836b33c03f6254018659d59f4ea421..5e40721437f53ac56ea78d16ec3973f6413cde5d 100644 (file)
@@ -30,6 +30,7 @@
     #include "wx/list.h"
     #include "wx/app.h"
     #include "wx/utils.h"
+    #include "wx/stopwatch.h"
 
     #if wxUSE_GUI
         #include "wx/control.h"
 
 #include "wx/module.h"
 
-#if wxUSE_GUI && wxUSE_STOPWATCH
-    #include "wx/stopwatch.h"
-#endif // wxUSE_GUI && wxUSE_STOPWATCH
-
 // ----------------------------------------------------------------------------
 // wxWin macros
 // ----------------------------------------------------------------------------
@@ -90,6 +87,7 @@
     IMPLEMENT_DYNAMIC_CLASS(wxHelpEvent, wxCommandEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxContextMenuEvent, wxCommandEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxMouseCaptureChangedEvent, wxEvent)
+    IMPLEMENT_DYNAMIC_CLASS(wxMouseCaptureLostEvent, wxEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxClipboardTextEvent, wxCommandEvent)
 #endif // wxUSE_GUI
 
@@ -263,6 +261,7 @@ DEFINE_EVENT_TYPE(wxEVT_SHOW)
 DEFINE_EVENT_TYPE(wxEVT_ICONIZE)
 DEFINE_EVENT_TYPE(wxEVT_MAXIMIZE)
 DEFINE_EVENT_TYPE(wxEVT_MOUSE_CAPTURE_CHANGED)
+DEFINE_EVENT_TYPE(wxEVT_MOUSE_CAPTURE_LOST)
 DEFINE_EVENT_TYPE(wxEVT_PAINT)
 DEFINE_EVENT_TYPE(wxEVT_ERASE_BACKGROUND)
 DEFINE_EVENT_TYPE(wxEVT_NC_PAINT)