git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47004
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxDateTime& upperdate = wxDefaultDateTime);
// extra methods available only in this (generic) implementation
- bool SetFormat(const wxChar *fmt);
+ bool SetFormat(const wxString& fmt);
wxCalendarCtrl *GetCalendar() const { return m_cal; }
wxPoint yearPosition = yearControl->GetPosition();
- SetFormat(wxT("%x"));
+ SetFormat("%x");
width = yearPosition.x + yearSize.x+2+CALBORDER/2;
if (width < calSize.x-4)
return m_combo->GetParent()->HasFlag(flag);
}
- bool SetFormat(const wxChar *fmt)
+ bool SetFormat(const wxString& fmt)
{
m_format.clear();