]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/caret.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / msw / caret.cpp
index e35dc6da09e01c757d9935c89b2887a5ed26097a..5378bc1f8f898f423fd92939e6efb2d74b8bc449 100644 (file)
@@ -153,8 +153,8 @@ void wxCaret::DoMove()
 {
     if ( m_hasCaret )
     {
 {
     if ( m_hasCaret )
     {
-        wxWindow *winFocus = wxWindow::FindFocus();
-        wxASSERT_MSG( winFocus == GetWindow(), wxT("how did we lose focus?") );
+        wxASSERT_MSG( wxWindow::FindFocus() == GetWindow(),
+                      wxT("how did we lose focus?") );
 
         CALL_CARET_API(SetCaretPos, (m_x, m_y));
     }
 
         CALL_CARET_API(SetCaretPos, (m_x, m_y));
     }