how to remove the "x" button from a Dmenu

hello guys, how to remove the “x” button from a Dmenu?, because i dont want the user to close it.

//Thanks

ShowCloseButton(false) iirc.

thank you