Update of /cvsroot/mahogany/M/include/wx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18685/include/wx
Modified Files:
persctrl.h
Log Message:
use OnCreate(), not OnSize(), for restoring the list book page, as otherwise
the initially selected page is sized incorrectly (we select it too early,
before base class OnSize() can do the adjustments)
Index: persctrl.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/wx/persctrl.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -b -u -2 -r1.39 -r1.40
--- persctrl.h 11 Oct 2003 23:13:46 -0000 1.39
+++ persctrl.h 20 Feb 2005 18:03:35 -0000 1.40
@@ -179,6 +179,6 @@
// callbacks
- // when we're resized the first time we restore our page
- void OnSize(wxSizeEvent& event);
+ // when we're created, we restore our page
+ void OnCreate(wxWindowCreateEvent& event);
protected:
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates