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

@@ -187,7 +187,7 @@ wxWizard::wxWizard(wxWindow *parent,
bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
{
wxASSERT_MSG( page != m_page, _T("this is useless") );
wxASSERT_MSG( page != m_page, T("this is useless") );
// we'll use this to decide whether we have to change the label of this
// button or not (initially the label is "Next")
@@ -252,7 +252,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
bool wxWizard::RunWizard(wxWizardPage *firstPage)
{
wxCHECK_MSG( firstPage, FALSE, _T("can't run empty wizard") );
wxCHECK_MSG( firstPage, FALSE, T("can't run empty wizard") );
// can't return FALSE here because there is no old page
(void)ShowPage(firstPage, TRUE /* forward */);
@@ -284,7 +284,7 @@ void wxWizard::OnBackOrNext(wxCommandEvent& event)
{
wxASSERT_MSG( (event.GetEventObject() == m_btnNext) ||
(event.GetEventObject() == m_btnPrev),
_T("unknown button") );
T("unknown button") );
bool forward = event.GetEventObject() == m_btnNext;
@@ -297,7 +297,7 @@ void wxWizard::OnBackOrNext(wxCommandEvent& event)
{
page = m_page->GetPrev();
wxASSERT_MSG( page, _T("\"<Back\" button should have been disabled") );
wxASSERT_MSG( page, T("\"<Back\" button should have been disabled") );
}
// just pass to the new page (or may be not - but we don't care here)