X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3200f37d25e1e0fae6c054e773701a73318657fd..2a7367398e5f0378986522bc5686fb05a90dccda:/src/msw/datectrl.cpp?ds=sidebyside diff --git a/src/msw/datectrl.cpp b/src/msw/datectrl.cpp index 683c359077..2928307558 100644 --- a/src/msw/datectrl.cpp +++ b/src/msw/datectrl.cpp @@ -40,15 +40,6 @@ #include "wx/msw/wrapcctl.h" #include "wx/msw/private.h" -#if defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 2, 4 ) -typedef struct tagNMDATETIMECHANGE -{ - NMHDR nmhdr; - DWORD dwFlags; - SYSTEMTIME st; -} NMDATETIMECHANGE; -#endif // old gcc headers - // apparently some versions of mingw define these macros erroneously #ifndef DateTime_GetSystemtime #define DateTime_GetSystemtime DateTime_GetSystemTime @@ -58,6 +49,8 @@ typedef struct tagNMDATETIMECHANGE #define DateTime_SetSystemtime DateTime_SetSystemTime #endif +IMPLEMENT_DYNAMIC_CLASS(wxDatePickerCtrl, wxControl) + // ============================================================================ // implementation // ============================================================================