X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a69e2a0ac7635d1df2dd36ffab64324a8b915384..ea5af9c5356676a5c4d81b4d4915ad32ca3c9c6e:/include/wx/msw/datectrl.h diff --git a/include/wx/msw/datectrl.h b/include/wx/msw/datectrl.h index 6ca2c22b66..b92a88ea38 100644 --- a/include/wx/msw/datectrl.h +++ b/include/wx/msw/datectrl.h @@ -53,13 +53,20 @@ 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_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl) };