bool wxCaret::MSWCreateCaret()
{
- wxASSERT_MSG( GetWindow(), _T("caret without window cannot be created") );
- wxASSERT_MSG( IsOk(), _T("caret of zero size cannot be created") );
+ wxASSERT_MSG( GetWindow(), wxT("caret without window cannot be created") );
+ wxASSERT_MSG( IsOk(), wxT("caret of zero size cannot be created") );
if ( !m_hasCaret )
{
void wxCaret::DoShow()
{
- wxASSERT_MSG( GetWindow(), _T("caret without window cannot be shown") );
- wxASSERT_MSG( IsOk(), _T("caret of zero size cannot be shown") );
+ wxASSERT_MSG( GetWindow(), wxT("caret without window cannot be shown") );
+ wxASSERT_MSG( IsOk(), wxT("caret of zero size cannot be shown") );
if ( m_hasCaret )
{
{
if ( m_hasCaret )
{
- wxWindow *winFocus = wxWindow::FindFocus();
- wxASSERT_MSG( winFocus == GetWindow(), "how did we lose focus?" );
+ wxASSERT_MSG( wxWindow::FindFocus() == GetWindow(),
+ wxT("how did we lose focus?") );
CALL_CARET_API(SetCaretPos, (m_x, m_y));
}