[ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-24 09:29:06 +00:00
parent 9eddec696f
commit 7ca4ac6383
3 changed files with 36 additions and 14 deletions

View File

@@ -125,7 +125,7 @@ protected:
// sends combobox select event from the parent combo control
void SendComboBoxEvent( int selection );
// gets value, sends event and dismisses
void DismissWithEvent();
@@ -221,7 +221,7 @@ public:
const wxPoint& pos,
const wxSize& size,
const wxArrayString& choices,
long style = 0,
long style,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxComboBoxNameStr);
@@ -262,6 +262,13 @@ public:
virtual int GetSelection() const;
virtual void SetSelection(int n) { Select(n); }
// Prevent a method from being hidden
virtual void SetSelection(long from, long to)
{
wxComboCtrl::SetSelection(from,to);
}
wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
protected:
@@ -294,5 +301,6 @@ private:
#endif // wxUSE_ODCOMBOBOX
#endif
// _WX_ODCOMBO_H_