X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cfbeac8141db28d9a022cdf92c12f82631a3c82..e777bd14b3b3ce4a601fcc0df63d64e3dc75ae8e:/include/wx/msw/datectrl.h?ds=sidebyside diff --git a/include/wx/msw/datectrl.h b/include/wx/msw/datectrl.h index 4e891c5b71..b92a88ea38 100644 --- a/include/wx/msw/datectrl.h +++ b/include/wx/msw/datectrl.h @@ -53,15 +53,22 @@ public: virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2); virtual bool GetRange(wxDateTime *dt1, wxDateTime *dt2) const; -protected: virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + +protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; + // the date currently shown by the control, may be invalid + wxDateTime m_date; + - DECLARE_NO_COPY_CLASS(wxDatePickerCtrl) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl) }; #endif // _WX_MSW_DATECTRL_H_