aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaDoc.html4
-rw-r--r--include/ScintillaWidget.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 94163ffbd..3fae458bb 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -5082,7 +5082,7 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next
<p>On GTK+, the following functions create a Scintilla widget, communicate with it and allow
resources to be released after all Scintilla widgets hace been destroyed.</p>
<code><a class="message" href="#scintilla_new">GtkWidget *scintilla_new()</a><br />
- <a class="message" href="#scintilla_set_id">void scintilla_set_id(ScintillaObject *sci, int id)</a><br />
+ <a class="message" href="#scintilla_set_id">void scintilla_set_id(ScintillaObject *sci, uptr_t id)</a><br />
<a class="message" href="#scintilla_send_message">sptr_t scintilla_send_message(ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam)</a><br />
<a class="message" href="#scintilla_release_resources">void scintilla_release_resources()</a><br />
</code>
@@ -5091,7 +5091,7 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next
Create a new Scintilla widget. The returned pointer can be added to a container and displayed in the same way as other
widgets.</p>
- <p><b id="scintilla_set_id">void scintilla_set_id(ScintillaObject *sci, int id)</b></b><br />
+ <p><b id="scintilla_set_id">void scintilla_set_id(ScintillaObject *sci, uptr_t id)</b></b><br />
Set the control ID which will be used in the idFrom field of the NotifyHeader structure of all
notifications for this instance. When an application creates multiple Scintilla widgets, this allows
the source of each notification to be found. The value should be small, preferrably less than 16 bits,
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h
index 6eac6370f..7f47de7e1 100644
--- a/include/ScintillaWidget.h
+++ b/include/ScintillaWidget.h
@@ -36,7 +36,7 @@ struct _ScintillaClass {
GtkType scintilla_get_type (void);
GtkWidget* scintilla_new (void);
-void scintilla_set_id (ScintillaObject *sci,int id);
+void scintilla_set_id (ScintillaObject *sci, uptr_t id);
sptr_t scintilla_send_message (ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam);
void scintilla_release_resources(void);