+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+ virtual wxSize DoGetSizeFromTextSize(int xlen, int ylen = -1) const;
+
+ // Show or hide the popup part of the control.
+ void MSWDoPopupOrDismiss(bool show);
+
+ // update the height of the drop down list to fit the number of items we
+ // have (without changing the visible height)
+ void MSWUpdateDropDownHeight();
+
+ // set the height of the visible part of the control to m_heightOwn
+ void MSWUpdateVisibleHeight();
+
+ // Call GetComboBoxInfo() and return false if it's not supported by this
+ // system. Notice that the caller must initialize info.cbSize.
+ bool MSWGetComboBoxInfo(tagCOMBOBOXINFO* info) const;
+
+ // create and initialize the control
+ bool CreateAndInit(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ int n, const wxString choices[],
+ long style,
+ const wxValidator& validator,
+ const wxString& name);
+
+ // free all memory we have (used by Clear() and dtor)
+ void Free();
+
+ // set the height for simple combo box
+ int SetHeightSimpleComboBox(int nItems) const;
+
+#if wxUSE_DEFERRED_SIZING
+ virtual void MSWEndDeferWindowPos();
+#endif // wxUSE_DEFERRED_SIZING
+
+ // These variables are only used while the drop down is opened.
+ //
+ // The first one contains the item that had been originally selected before
+ // the drop down was opened and the second one the item we should select
+ // when the drop down is closed again.
+ int m_lastAcceptedSelection,
+ m_pendingSelection;
+
+ // the height of the control itself if it was set explicitly or
+ // wxDefaultCoord if it hadn't
+ int m_heightOwn;
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxChoice)