Skip to content

Commit 032d36b

Browse files
committed
Removes unused method private_redraw
1 parent c9a9e3a commit 032d36b

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

cef/CustomEditField/CustomEditField.rbbas

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3804,43 +3804,6 @@ Implements MessageReceiver
38043804
End Function
38053805
#tag EndMethod
38063806

3807-
#tag Method, Flags = &h21
3808-
Private Sub private_redraw(x as Integer, y as Integer, width as Integer, height as Integer)
3809-
// Invokes Canvas Paint
3810-
3811-
#if TargetMacOS
3812-
#pragma unused x
3813-
#pragma unused y
3814-
#pragma unused width
3815-
#pragma unused height
3816-
3817-
super.Invalidate false ' x, y, width, height
3818-
3819-
#elseif TargetWin32
3820-
Declare Sub InvalidateRect Lib "User32" ( hwnd as Integer, lpRect as Ptr, erase as Boolean )
3821-
Declare Sub UpdateWindow Lib "User32" ( hwnd as Integer )
3822-
3823-
dim r as new MemoryBlock( 16 )
3824-
r.Long( 0 ) = x
3825-
r.Long( 4 ) = y
3826-
r.Long( 8 ) = width
3827-
r.Long( 12 ) = height
3828-
3829-
InvalidateRect( me.Handle, r, false )
3830-
UpdateWindow( me.Window.Handle )
3831-
#else
3832-
#pragma unused x
3833-
#pragma unused y
3834-
#pragma unused width
3835-
#pragma unused height
3836-
3837-
// Draw directly, without the Paint event
3838-
drawContents (Graphics, self.TrueWindow)
3839-
#endif
3840-
3841-
End Sub
3842-
#tag EndMethod
3843-
38443807
#tag Method, Flags = &h0
38453808
Sub private_remove(offset as integer, length as integer, updateCaret as boolean = true)
38463809
// This method is used internally by the control, and externally by the undo mechanism, you shouldn't use it directly, use instead selstart and seltext.

0 commit comments

Comments
 (0)