projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a832f
)
Applied patch [ 1340814 ] fix for wxTextCtrl::GetStyle
author
Julian Smart
<julian@anthemion.co.uk>
Tue, 17 Jan 2006 09:38:32 +0000
(09:38 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Tue, 17 Jan 2006 09:38:32 +0000
(09:38 +0000)
Aron Pongo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36917
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/textctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/textctrl.cpp
b/src/msw/textctrl.cpp
index 3beeae72069a1306a007bf68fb25560620c7800b..a69a4543635f40c30ca0c7a716065296f54ed84e 100644
(file)
--- a/
src/msw/textctrl.cpp
+++ b/
src/msw/textctrl.cpp
@@
-2524,7
+2524,7
@@
bool wxTextCtrl::GetStyle(long position, wxTextAttr& style)
if ( changeSel )
{
- DoSetSelection(position, position, false /* don't scroll caret into view */);
+ DoSetSelection(position, position
+1
, false /* don't scroll caret into view */);
}
// get the selection formatting