2
0
Эх сурвалжийг харах

Fixed TreeView node redraw (#69)

The [+] button next to treeview nodes didn't draw properly in MaxIDE when parent node expanded, this seems to fix the issue.
Carl Husberg 2 жил өмнө
parent
commit
f566d4a734

+ 1 - 1
win32maxguiex.mod/win32maxguiex.bmx

@@ -4833,7 +4833,7 @@ Type TWindowsTreeNode Extends TGadget
 		If _item = Byte Ptr(TVI_ROOT) Then
 			InvalidateRect _tree, Null, True
 		Else
-			Local Rect[] = [Int(_item),0,0,0]
+			Local Rect:Long[] = [Long(_item),0,0,0]
 			If SendMessageW(_tree, TVM_GETITEMRECT, False, LParam Byte Ptr Rect) Then
 				InvalidateRect _tree, Rect, True
 			EndIf