Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5153/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
fix problem with recipients panel layout and deferred sizing used in recent
wxMSW
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.401
retrieving revision 1.402
diff -b -u -2 -r1.401 -r1.402
--- wxComposeView.cpp 13 Feb 2006 16:44:56 -0000 1.401
+++ wxComposeView.cpp 13 Feb 2006 18:30:24 -0000 1.402
@@ -2468,5 +2468,5 @@
void
-wxComposeView::AddRecipientControls(const String& value, RecipientType rt,
bool doLayout)
+wxComposeView::AddRecipientControls(const String& value, RecipientType rt)
{
// remove the place holder we had there before
@@ -2489,9 +2489,6 @@
m_sizerRcpts->Prepend(sizerRcpt, 0, wxALL | wxEXPAND, LAYOUT_MARGIN / 2);
- if (doLayout)
- {
m_sizerRcpts->Layout();
m_panelRecipients->RefreshScrollbar(m_panelRecipients->GetClientSize());
- }
// adjust the indexes of all the existing controls
@@ -2557,5 +2554,5 @@
for ( size_t n = 0; n < count; n++ )
{
- AddRecipient(groups[n], Recipient_Newsgroup, doLayout);
+ AddRecipient(groups[n], Recipient_Newsgroup);
}
}
@@ -2583,5 +2580,5 @@
if ( !address.empty() )
{
- AddRecipient(address, addrType, doLayout);
+ AddRecipient(address, addrType);
}
@@ -2614,5 +2611,5 @@
{
// add another folder
- AddRecipient(address, Recipient_Fcc, doLayout);
+ AddRecipient(address, Recipient_Fcc);
}
break;
@@ -2625,5 +2622,5 @@
void
-wxComposeView::AddRecipient(const String& addr, RecipientType addrType, bool
doLayout)
+wxComposeView::AddRecipient(const String& addr, RecipientType addrType)
{
// this is a private function, AddRecipients() above is the public one and
it
@@ -2678,5 +2675,5 @@
// do add it if not found
- AddRecipientControls(addr, addrType, doLayout);
+ AddRecipientControls(addr, addrType);
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates