]> git.saurik.com Git - wxWidgets.git/commitdiff
Selection improvement.
authorKarsten Ballüder <ballueder@usa.net>
Mon, 10 May 1999 11:51:04 +0000 (11:51 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Mon, 10 May 1999 11:51:04 +0000 (11:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

user/wxLayout/wxllist.h

index d758f75a011b375ff727b2a02f4de2901d58c0aa..03e302cd6c03d0945e3d684cf7e755bc712cb391 100644 (file)
@@ -887,10 +887,10 @@ private:
    /// A structure for the selection.
    struct Selection
    {
+      Selection() { m_valid = false; m_selecting = false; }
       bool m_valid;
       bool m_selecting;
       wxPoint m_CursorA, m_CursorB;
-      Selection() { m_valid = false; m_selecting = true; }
    } m_Selection;
    /** @name Font parameters. */
    //@{