projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A better fix for wxHash{Map,Set} with g++ 4.7.
[wxWidgets.git]
/
include
/
wx
/
msw
/
datectrl.h
diff --git
a/include/wx/msw/datectrl.h
b/include/wx/msw/datectrl.h
index d4b8bc74fb98c60151e49cc8a809521aa6c93672..f4b5b3d242e45e93e81771e56026406aac2b7850 100644
(file)
--- a/
include/wx/msw/datectrl.h
+++ b/
include/wx/msw/datectrl.h
@@
-43,23
+43,21
@@
public:
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxDatePickerCtrlNameStr);
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxDatePickerCtrlNameStr);
- //
set/get the date
+ //
Override this one to add date-specific (and time-ignoring) checks.
virtual void SetValue(const wxDateTime& dt);
virtual wxDateTime GetValue() const;
virtual void SetValue(const wxDateTime& dt);
virtual wxDateTime GetValue() const;
- // set/get the allowed valid range for the dates, if either/both of them
- // are invalid, there is no corresponding limit and if neither is set
- // GetRange() returns false
+ // Implement the base class pure virtuals.
virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2);
virtual bool GetRange(wxDateTime *dt1, wxDateTime *dt2) const;
virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2);
virtual bool GetRange(wxDateTime *dt1, wxDateTime *dt2) const;
+ // Override MSW-specific functions used during control creation.
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
- virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
-
protected:
protected:
- virtual wxSize DoGetBestSize() const;
-
+ virtual wxLocaleInfo MSWGetFormat() const;
+ virtual bool MSWAllowsNone() const { return HasFlag(wxDP_ALLOWNONE); }
+ virtual bool MSWOnDateTimeChange(const tagNMDATETIMECHANGE& dtch);
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl)
};
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl)
};