Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,7 +110,7 @@ public:
|
||||
else // invalid date
|
||||
{
|
||||
wxASSERT_MSG( HasDPFlag(wxDP_ALLOWNONE),
|
||||
_T("this control must have a valid date") );
|
||||
wxT("this control must have a valid date") );
|
||||
|
||||
m_combo->SetText(wxEmptyString);
|
||||
}
|
||||
@@ -271,7 +271,7 @@ private:
|
||||
if ( m_combo )
|
||||
{
|
||||
wxArrayString allowedChars;
|
||||
for ( wxChar c = _T('0'); c <= _T('9'); c++ )
|
||||
for ( wxChar c = wxT('0'); c <= wxT('9'); c++ )
|
||||
allowedChars.Add(wxString(c, 1));
|
||||
|
||||
const wxChar *p2 = m_format.c_str();
|
||||
@@ -364,7 +364,7 @@ bool wxDatePickerCtrlGeneric::Create(wxWindow *parent,
|
||||
const wxString& name)
|
||||
{
|
||||
wxASSERT_MSG( !(style & wxDP_SPIN),
|
||||
_T("wxDP_SPIN style not supported, use wxDP_DEFAULT") );
|
||||
wxT("wxDP_SPIN style not supported, use wxDP_DEFAULT") );
|
||||
|
||||
if ( !wxControl::Create(parent, id, pos, size,
|
||||
style | wxCLIP_CHILDREN | wxWANTS_CHARS | wxBORDER_NONE,
|
||||
|
Reference in New Issue
Block a user