diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 6250bbe2ae..50b13ca5f7 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -32,6 +32,9 @@ #include "wx/valtext.h" #endif +#define _WX_DEFINE_DATE_EVENTS_ +#include "wx/dateevt.h" + #include "wx/datectrl.h" #include "wx/calctrl.h"