Update of /cvsroot/mahogany/M/include/gui
In directory usw-pr-cvs1:/tmp/cvs-serv25790/include/gui

Modified Files:
        wxFolderView.h 
Log Message:
focus follows mouse option moved into AllProfileSettings struct (this is more logical 
and also fixes a rare crash in ShowFolder())

Index: wxFolderView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxFolderView.h,v
retrieving revision 1.135
retrieving revision 1.136
diff -b -u -2 -r1.135 -r1.136
--- wxFolderView.h      14 Apr 2002 13:42:05 -0000      1.135
+++ wxFolderView.h      26 Apr 2002 12:18:43 -0000      1.136
@@ -173,5 +173,5 @@
 
    /// for use by the listctrl only:
-   bool GetFocusFollowMode(void) const { return m_FocusFollowMode; }
+   bool GetFocusFollowMode(void) const { return m_settings.focusOnMouse; }
 
    /// get the parent frame of the folder view
@@ -248,10 +248,9 @@
    ASTicketList *m_TicketList;
 
-   /// do we have focus-follow enabled?
-   bool m_FocusFollowMode;
-
    /// the data we store in the profile
    struct AllProfileSettings
    {
+      AllProfileSettings();
+
       // default copy ctor is ok for now, add one if needed later!
 
@@ -291,4 +290,6 @@
       /// how to show the size
       MessageSizeShow showSize;
+      /// do we have focus-follow enabled?
+      bool focusOnMouse;
    } m_settings;
 


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to