]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/caret.cpp
Attempting to restore the binary files that got trashed earlier today.
[wxWidgets.git] / src / msw / caret.cpp
index 87e46935a5ec7275219a4bc1fb8338534edc5eef..e35dc6da09e01c757d9935c89b2887a5ed26097a 100644 (file)
@@ -81,8 +81,8 @@ void wxCaretBase::SetBlinkTime(int milliseconds)
 
 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 )
     {
@@ -127,8 +127,8 @@ void wxCaret::OnKillFocus()
 
 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 )
     {
@@ -154,7 +154,7 @@ void wxCaret::DoMove()
     if ( m_hasCaret )
     {
         wxWindow *winFocus = wxWindow::FindFocus();
-        wxASSERT_MSG( winFocus == GetWindow(), _T("how did we lose focus?") );
+        wxASSERT_MSG( winFocus == GetWindow(), wxT("how did we lose focus?") );
 
         CALL_CARET_API(SetCaretPos, (m_x, m_y));
     }