Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv6711/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
workaround a (new) wxMSW bug: force correct scroll position in the from header
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.275
retrieving revision 1.276
diff -b -u -2 -r1.275 -r1.276
--- wxComposeView.cpp 27 Apr 2002 21:45:01 -0000 1.275
+++ wxComposeView.cpp 28 Apr 2002 21:04:45 -0000 1.276
@@ -1448,4 +1448,17 @@
m_splitter->SetMinimumPaneSize(heightHeaders);
+ // show the frame
+ // --------------
+
+ if ( !hide )
+ {
+ Show(TRUE);
+ }
+
+ // note that we must do it before setting the control values or the text
+ // would be scrolled to the right in the text fields as they initially don't
+ // have enough space to show it...
+ Layout();
+
// initialize the controls
// -----------------------
@@ -1457,12 +1470,4 @@
AddCc(READ_CONFIG(m_Profile, MP_COMPOSE_CC));
AddBcc(READ_CONFIG(m_Profile, MP_COMPOSE_BCC));
-
- // show the frame
- // --------------
-
- if ( !hide )
- {
- Show(TRUE);
- }
}
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates