Myles Wilder, the prolific TV comedy screenwriter whose resume includes such classics as McHale's Navy and The Dukes of Hazzard, has died. He was 77.

Wilder died April 20 from complications of diverticulitis in Temecula, Calif., according to The Hollywood Reporter.

The son of director W. Lee Wilder and the nephew of Oscar-winning writer-director Billy Wilder, Wilder got his start by developing, writing and producing the 1956 NBC series The Adventures of Marco Polo. He joined the Ernest Borgnine comedy McHale's Navy in 1963, penning 28 episodes and earning two Emmy nominations during his three-year tenure. Other credits during that time include The Patty Duke Show, Get Smart, The Flying Nun and My Three Sons.

See other celebrities who've died in 2010

In the '70s and '80s, Wilder wrote and produced The Dukes of Hazzard

, and also wrote for The Doris Day Show, The Brady Bunch, The Addams Family, Welcome Back, Kotter, and Diff'rent Strokes.Wilder was also in charge of daytime TV at Hanna-Barbera Studios and developed such animated shows as Inch High, Private Eye and Hong Kong Phooey.After retiring in 1989, Wilder moved to Temecula to raise avocados.He is survived by his wife, Bobbe; their daughter, Kimberly, and her husband Brynley; grandchildren Olivia and Morgan; and godson Matthew McGinnis.