Update of /cvsroot/mahogany/M/include/wx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16606/include/wx

Modified Files:
        persctrl.h 
Log Message:
made wxPListBox::RestoreSelection public: it's needed by wxChooseTemplateDialog

Index: persctrl.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/wx/persctrl.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -b -u -2 -r1.40 -r1.41
--- persctrl.h  20 Feb 2005 18:03:35 -0000      1.40
+++ persctrl.h  30 Jun 2005 14:22:16 -0000      1.41
@@ -537,7 +537,8 @@
     void SetConfigPath(const wxString& path);
 
-    // callbacks
-        // when we're resized the first time we restore our page
-    void OnSize(wxSizeEvent& event);
+
+    // restore the selection: this may be called manually if it needs to be
+    // done before first wxEVT_SIZE, otherwise it's done automatically then
+    void RestoreSelection();
 
 protected:
@@ -545,8 +546,8 @@
     wxPHelper *m_persist;
 
-    // do remember/restore the selection
-       // retrieve the column widths from config
-    void RestoreSelection();
-       // save the column widths to config
+    // call RestoreSelection() once we're fully initialized
+    void OnSize(wxSizeEvent& event);
+
+    // save the current selection
     void SaveSelection();
 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to