|
From: <zou...@us...> - 2007-11-15 14:26:19
|
Revision: 906
http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=906&view=rev
Author: zouzou123gen
Date: 2007-11-15 06:26:12 -0800 (Thu, 15 Nov 2007)
Log Message:
-----------
Pressing enter in the notepad
Modified Paths:
--------------
dcplusplus/trunk/changelog.txt
dcplusplus/trunk/win32/NotepadFrame.cpp
Modified: dcplusplus/trunk/changelog.txt
===================================================================
--- dcplusplus/trunk/changelog.txt 2007-11-11 15:30:28 UTC (rev 905)
+++ dcplusplus/trunk/changelog.txt 2007-11-15 14:26:12 UTC (rev 906)
@@ -8,6 +8,7 @@
* Keep selection visible on move up/down in some list views (poy)
* Fixed clicking in the header of the favorite hubs list view (poy)
* Update to ADC 0.14
+* Fixed pressing enter in the notepad (poy)
-- 0.703 2007-11-08 --
* Fixed invalid strings (thanks james ross)
Modified: dcplusplus/trunk/win32/NotepadFrame.cpp
===================================================================
--- dcplusplus/trunk/win32/NotepadFrame.cpp 2007-11-11 15:30:28 UTC (rev 905)
+++ dcplusplus/trunk/win32/NotepadFrame.cpp 2007-11-15 14:26:12 UTC (rev 906)
@@ -29,7 +29,7 @@
{
{
WidgetTextBox::Seed cs = WinUtil::Seeds::textBox;
- cs.style = WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL;
+ cs.style = WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL | ES_NOHIDESEL | ES_WANTRETURN;
pad = createTextBox(cs);
addWidget(pad);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|