if there's no pain involved, i'd probably think the next most likely thing it could be is stress incontinence. sounds like it doesn't happen unless youve been sitting for a long time and then all of a sudden stand up.. this might be helpful
MedlinePlus Medical Encyclopedia: Stress incontinence