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:
@@ -225,7 +225,7 @@ void wxCheckListBoxItem::Check(bool check)
|
||||
// update it
|
||||
int index = m_pParent->GetItemIndex(this);
|
||||
|
||||
wxASSERT_MSG( index != wxNOT_FOUND, _T("what does this item do here?") );
|
||||
wxASSERT_MSG( index != wxNOT_FOUND, T("what does this item do here?") );
|
||||
|
||||
m_nIndex = (size_t)index;
|
||||
}
|
||||
@@ -238,7 +238,7 @@ void wxCheckListBoxItem::Check(bool check)
|
||||
if ( ::SendMessage(hwndListbox, LB_GETITEMRECT,
|
||||
m_nIndex, (LPARAM)&rcUpdate) == LB_ERR )
|
||||
{
|
||||
wxLogDebug(_T("LB_GETITEMRECT failed"));
|
||||
wxLogDebug(T("LB_GETITEMRECT failed"));
|
||||
}
|
||||
#else // Win16
|
||||
// FIXME this doesn't work if the listbox is scrolled!
|
||||
@@ -293,7 +293,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
|
||||
void wxCheckListBox::Delete(int N)
|
||||
{
|
||||
wxCHECK_RET( N >= 0 && N < m_noItems,
|
||||
_T("invalid index in wxListBox::Delete") );
|
||||
T("invalid index in wxListBox::Delete") );
|
||||
|
||||
wxListBox::Delete(N);
|
||||
|
||||
@@ -306,7 +306,7 @@ void wxCheckListBox::Delete(int N)
|
||||
void wxCheckListBox::InsertItems(int nItems, const wxString items[], int pos)
|
||||
{
|
||||
wxCHECK_RET( pos >= 0 && pos <= m_noItems,
|
||||
_T("invalid index in wxCheckListBox::InsertItems") );
|
||||
T("invalid index in wxCheckListBox::InsertItems") );
|
||||
|
||||
wxListBox::InsertItems(nItems, items, pos);
|
||||
|
||||
|
Reference in New Issue
Block a user