When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, just modify the existing one.
Attach a file by drag & drop or click to upload