Change Panel.DrawItem return tag to |int| (bug 6463)

This commit is contained in:
Peace-Maker 2016-01-22 18:30:32 +01:00
parent f9448e30c9
commit 1c0a5b0420

View File

@ -176,7 +176,7 @@ methodmap Panel < Handle
// No numbering or newlines are needed. // No numbering or newlines are needed.
// @param style ITEMDRAW style flags. // @param style ITEMDRAW style flags.
// @return A slot position, or 0 if item was a rawline or could not be drawn. // @return A slot position, or 0 if item was a rawline or could not be drawn.
public native void DrawItem(const char[] text, style=ITEMDRAW_DEFAULT); public native int DrawItem(const char[] text, style=ITEMDRAW_DEFAULT);
// Draws a raw line of text on a panel, without any markup other than a // Draws a raw line of text on a panel, without any markup other than a
// newline. // newline.