]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/richedit/wxllist.h
Changed wxBox to wxBoxSizer to fit current API
[wxWidgets.git] / samples / richedit / wxllist.h
index 85c0f13336d22d6620749b8cbfe63658c2309850..071f490dbfb628df61e279005b1e4d258f7ae9d2 100644 (file)
@@ -1053,11 +1053,11 @@ public:
    /// adds the cursor position to the update rectangle
    void AddCursorPosToUpdateRect()
    {
-      #ifndef WXLAYOUT_USE_CARET
-         SetUpdateRect(m_CursorScreenPos);
-         SetUpdateRect(m_CursorScreenPos+m_CursorSize);
+#ifndef WXLAYOUT_USE_CARET
+      SetUpdateRect(m_CursorScreenPos);
+      SetUpdateRect(m_CursorScreenPos+m_CursorSize);
       //#else - the caret will take care of refreshing itself
-      #endif // !WXLAYOUT_USE_CARET
+#endif // !WXLAYOUT_USE_CARET
    }
    /// Invalidates the update rectangle.
    void InvalidateUpdateRect(void) { m_UpdateRectValid = false; }