]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/datetimectrl.h
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / include / wx / osx / datetimectrl.h
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/osx/datetimectrl.h
3// Purpose: Declaration of wxOSX-specific wxDateTimePickerCtrl class.
4// Author: Vadim Zeitlin
5// Created: 2011-12-18
6// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_OSX_DATETIMECTRL_H_
12#define _WX_OSX_DATETIMECTRL_H_
13
14class wxDateTimeWidgetImpl;
15
16// ----------------------------------------------------------------------------
17// wxDateTimePickerCtrl
18// ----------------------------------------------------------------------------
19
20class WXDLLIMPEXP_ADV wxDateTimePickerCtrl : public wxDateTimePickerCtrlBase
21{
22public:
23 // Implement the base class pure virtuals.
24 virtual void SetValue(const wxDateTime& dt);
25 virtual wxDateTime GetValue() const;
26
27 // Implementation only.
28 virtual void OSXGenerateEvent(const wxDateTime& dt) = 0;
29
30protected:
31 wxDateTimeWidgetImpl* GetDateTimePeer() const;
32};
33
34#endif // _WX_OSX_DATETIMECTRL_H_