many changes; major ones:

1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-04 20:15:38 +00:00
parent 9841339c74
commit e90c1d2a19
298 changed files with 5153 additions and 4672 deletions

View File

@@ -129,7 +129,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
if ( m_windowStyle & wxTE_MULTILINE )
{
wxASSERT_MSG( !(m_windowStyle & wxTE_PROCESS_ENTER),
_T("wxTE_PROCESS_ENTER style is ignored for multiline "
T("wxTE_PROCESS_ENTER style is ignored for multiline "
"text controls (they always process it)") );
msStyle |= ES_MULTILINE | ES_WANTRETURN;
@@ -167,14 +167,14 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
m_lDlgCode |= DLGC_WANTTAB;
// do create the control - either an EDIT or RICHEDIT
const wxChar *windowClass = _T("EDIT");
const wxChar *windowClass = T("EDIT(");
#if wxUSE_RICHEDIT
if ( m_windowStyle & wxTE_RICH )
{
msStyle |= ES_AUTOVSCROLL;
m_isRich = TRUE;
windowClass = _T("RICHEDIT");
windowClass = T("RICHEDIT(");
}
else
m_isRich = FALSE;
@@ -201,7 +201,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
wxGetInstance(),
NULL);
wxCHECK_MSG( m_hWnd, FALSE, _T("Failed to create text ctrl") );
wxCHECK_MSG( m_hWnd, FALSE, T("Failed to create text ctrl") );
#if wxUSE_CTL3D
if ( want3D )
@@ -260,7 +260,7 @@ void wxTextCtrl::AdoptAttributesFromHWND()
GetClassName(hWnd, buf, WXSIZEOF(buf));
if ( wxStricmp(buf, _T("EDIT")) == 0 )
if ( wxStricmp(buf, T("EDIT(")) == 0 )
m_isRich = FALSE;
else
m_isRich = TRUE;
@@ -318,7 +318,7 @@ void wxTextCtrl::AppendText(const wxString& text)
void wxTextCtrl::Clear()
{
SetWindowText(GetHwnd(), _T(""));
SetWindowText(GetHwnd(), T(""));
}
// ----------------------------------------------------------------------------