← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2247: fix ctrl+A

 

------------------------------------------------------------
revno: 2247
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-09-27 22:29:29 +0200
message:
  fix ctrl+A
modified:
  dwt/src/widgets/TextBox.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 'dwt/src/widgets/TextBox.cpp'
--- dwt/src/widgets/TextBox.cpp	2010-09-02 18:16:12 +0000
+++ dwt/src/widgets/TextBox.cpp	2010-09-27 20:29:29 +0000
@@ -77,7 +77,7 @@
 
 	// multiline text-boxes don't handle ctrl + A so we have do it ourselves...
 	if((cs.style & ES_MULTILINE) == ES_MULTILINE)
-		onKeyDown([this](bool c) { return handleKeyDown(c); });
+		onKeyDown([this](int c) { return handleKeyDown(c); });
 }
 
 void TextBox::setText(const tstring& txt) {