// registered Message for Dialog
static UINT ms_msgFindDialog;
- DECLARE_NO_COPY_CLASS(wxFindReplaceDialogImpl)
+ wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialogImpl);
};
UINT wxFindReplaceDialogImpl::ms_msgFindDialog = 0;
if ( !ms_msgFindDialog )
{
- wxLogLastError(_T("RegisterWindowMessage(FINDMSGSTRING)"));
+ wxLogLastError(wxT("RegisterWindowMessage(FINDMSGSTRING)"));
}
wxWindow::MSWRegisterMessageHandler
static bool s_blockMsg = false;
#endif // wxUSE_UNICODE_MSLU
- wxASSERT_MSG( nMsg == ms_msgFindDialog, _T("unexpected message received") );
+ wxASSERT_MSG( nMsg == ms_msgFindDialog, wxT("unexpected message received") );
FINDREPLACE *pFR = (FINDREPLACE *)lParam;
}
else
{
- wxFAIL_MSG( _T("unknown find dialog event") );
+ wxFAIL_MSG( wxT("unknown find dialog event") );
return 0;
}
// if it wasn't, delete the dialog ourselves
if ( !::DestroyWindow(GetHwnd()) )
{
- wxLogLastError(_T("DestroyWindow(find dialog)"));
+ wxLogLastError(wxT("DestroyWindow(find dialog)"));
}
}
return true;
}
- wxCHECK_MSG( m_FindReplaceData, false, _T("call Create() first!") );
+ wxCHECK_MSG( m_FindReplaceData, false, wxT("call Create() first!") );
- wxASSERT_MSG( !m_impl, _T("why don't we have the window then?") );
+ wxASSERT_MSG( !m_impl, wxT("why don't we have the window then?") );
m_impl = new wxFindReplaceDialogImpl(this, m_FindReplaceData->GetFlags());
if ( !::ShowWindow(hwnd, SW_SHOW) )
{
- wxLogLastError(_T("ShowWindow(find dialog)"));
+ wxLogLastError(wxT("ShowWindow(find dialog)"));
}
m_hWnd = (WXHWND)hwnd;