Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f0459c
)
extras/HTMLView: Fixed 64 bit issue with ids
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 30 Aug 2013 05:47:10 +0000
(
01:47
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 30 Aug 2013 05:48:19 +0000
(
01:48
-0400)
extras/html/HTMLView.ec
patch
|
blob
|
history
diff --git
a/extras/html/HTMLView.ec
b/extras/html/HTMLView.ec
index
6a467de
..
f763f16
100644
(file)
--- a/
extras/html/HTMLView.ec
+++ b/
extras/html/HTMLView.ec
@@
-421,20
+421,20
@@
class HTMLView : Window
switch(block.inputType)
{
case submit:
switch(block.inputType)
{
case submit:
- block.window = Button { this, text = block.value, position = Point { 10, 50 }, id = (int)block, NotifyClicked = ButtonClicked, isDefault = true };
+ block.window = Button { this, text = block.value, position = Point { 10, 50 }, id = (int
64
)block, NotifyClicked = ButtonClicked, isDefault = true };
eInstance_IncRef(block.window);
block.window.Create();
block.window.cursor = ((GuiApplication)__thisModule).GetCursor(arrow);
//if(!html.defaultButton) html.defaultButton = block.window;
break;
case radio:
eInstance_IncRef(block.window);
block.window.Create();
block.window.cursor = ((GuiApplication)__thisModule).GetCursor(arrow);
//if(!html.defaultButton) html.defaultButton = block.window;
break;
case radio:
- block.window = Button { this, isRadio = true, position = Point { 10, 100 }, id = (int)block, NotifyClicked = ButtonClicked };
+ block.window = Button { this, isRadio = true, position = Point { 10, 100 }, id = (int
64
)block, NotifyClicked = ButtonClicked };
eInstance_IncRef(block.window);
block.window.Create();
block.window.cursor = ((GuiApplication)__thisModule).GetCursor(arrow);
break;
case text:
eInstance_IncRef(block.window);
block.window.Create();
block.window.cursor = ((GuiApplication)__thisModule).GetCursor(arrow);
break;
case text:
- block.window = EditBox { this, position = Point { 10, 20 }, id = (int)block };
+ block.window = EditBox { this, position = Point { 10, 20 }, id = (int
64
)block };
eInstance_IncRef(block.window);
block.window.Create();
break;
eInstance_IncRef(block.window);
block.window.Create();
break;