You have to ignore it and out-wait her. "No Whine" is the command for whining by now as you probably have said it when she did. You can also "drop" everything and close the door behind you so she loses her audience and go back when she is quiet but be willing to be 100% consistent to avoid the slot machine effect.
No matter how you look at it, it is learned behavior through rewards. If she has practiced this for years, it won't go away easily.