datecontrols.h 1007 B

123456789101112131415161718192021222324252627282930
  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. #ifndef _MSW_PRIVATE_DATECONTROLS_H_
  10. #define _MSW_PRIVATE_DATECONTROLS_H_
  11. #include "wx/datetime.h"
  12. #include "wx/msw/wrapwin.h"
  13. // namespace for the helper functions related to the date controls
  14. namespace wxMSWDateControls
  15. {
  16. // do the one time only initialization of date classes of comctl32.dll, return
  17. // true if ok or log an error and return false if we failed (this can only
  18. // happen with a very old version of common controls DLL, i.e. before 4.70)
  19. extern bool CheckInitialization();
  20. } // namespace wxMSWDateControls
  21. #endif // _MSW_PRIVATE_DATECONTROLS_H_