#if wxUSE_CHOICE && defined(__SMARTPHONE__) && defined(__WXWINCE__)
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
- #include <commctrl.h>
- #include "wx/msw/missing.h"
- #include "wx/msw/winundef.h"
+ #include "wx/msw/wrapcctl.h" // include <commctrl.h> "properly"
#endif
#include "wx/spinbutt.h" // for wxSpinnerBestSize
sizeText.y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
}
- SetBestSize(size);
+ SetInitialSize(size);
(void)::ShowWindow(GetBuddyHwnd(), SW_SHOW);