int width, int height,
int sizeFlags)
{
+ int heightOrig = height;
+
// the height which we must pass to Windows should be the total height of
// the control including the drop down list while the height given to us
// is, of course, just the height of the permanently visible part of it
wxControl::DoSetSize(x, y, width, height, sizeFlags);
+ // If we're storing a pending size, make sure we store
+ // the original size for reporting back to the app.
+ if (m_pendingSize != wxDefaultSize)
+ m_pendingSize = wxSize(width, heightOrig);
+
// This solution works on XP, but causes choice/combobox lists to be
// too short on W2K and earlier.
#if 0