]>
Commit | Line | Data |
---|---|---|
1 | /////////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/msw/private/datecontrols.h | |
3 | // Purpose: implementation helpers for wxDatePickerCtrl and wxCalendarCtrl | |
4 | // Author: Vadim Zeitlin | |
5 | // Created: 2008-04-04 | |
6 | // Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org> | |
7 | // Licence: wxWindows licence | |
8 | /////////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _MSW_PRIVATE_DATECONTROLS_H_ | |
11 | #define _MSW_PRIVATE_DATECONTROLS_H_ | |
12 | ||
13 | #include "wx/datetime.h" | |
14 | ||
15 | #include "wx/msw/wrapwin.h" | |
16 | ||
17 | // namespace for the helper functions related to the date controls | |
18 | namespace wxMSWDateControls | |
19 | { | |
20 | ||
21 | // do the one time only initialization of date classes of comctl32.dll, return | |
22 | // true if ok or log an error and return false if we failed (this can only | |
23 | // happen with a very old version of common controls DLL, i.e. before 4.70) | |
24 | extern bool CheckInitialization(); | |
25 | ||
26 | } // namespace wxMSWDateControls | |
27 | ||
28 | #endif // _MSW_PRIVATE_DATECONTROLS_H_ | |
29 | ||
30 |