← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2255: propagate the text-box menu seed

 

------------------------------------------------------------
revno: 2255
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-10-07 18:54:32 +0200
message:
  propagate the text-box menu seed
modified:
  changelog.txt
  dwt/src/widgets/TextBox.cpp
  win32/WinUtil.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt	2010-09-30 17:34:28 +0000
+++ changelog.txt	2010-10-07 16:54:32 +0000
@@ -20,6 +20,7 @@
 * Modernize the installer and make it translatable (poy)
 * Customize the font selection dialog, save the charset (poy)
 * Blacklist rogue hub-lists (poy)
+* Fix some wrong menu fonts (poy)
 
 -- 0.770 2010-07-05 --
 * [L#550300] Catch more potential file corruptions (thanks bigmuscle)

=== modified file 'dwt/src/widgets/TextBox.cpp'
--- dwt/src/widgets/TextBox.cpp	2010-10-07 16:40:23 +0000
+++ dwt/src/widgets/TextBox.cpp	2010-10-07 16:54:32 +0000
@@ -61,12 +61,13 @@
 
 void TextBoxBase::create(const Seed& cs) {
 	lines = cs.lines;
+	menuSeed = cs.menuSeed;
 	BaseType::create(cs);
 }
 
 TextBox::Seed::Seed(const tstring& caption) :
-	BaseType::Seed(WS_CHILD | WS_TABSTOP, WS_EX_CLIENTEDGE, caption),
-	font(new Font(DefaultGuiFont))
+BaseType::Seed(WS_CHILD | WS_TABSTOP, WS_EX_CLIENTEDGE, caption),
+font(new Font(DefaultGuiFont))
 {
 }
 

=== modified file 'win32/WinUtil.cpp'
--- win32/WinUtil.cpp	2010-10-05 21:48:07 +0000
+++ win32/WinUtil.cpp	2010-10-07 16:54:32 +0000
@@ -224,6 +224,7 @@
 	xtextBox.menuSeed = Seeds::menu;
 	xdTextBox.menuSeed = Seeds::menu;
 	xRichTextBox.menuSeed = Seeds::menu;
+	xdRichTextBox.menuSeed = Seeds::menu;
 
 	init_helpPath();