X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582f07c2532e6e2d7d1ccb235354548e9bada9bf..54af24613f3a2f2d5c47b69923c67f660c61bd09:/src/xrc/xh_odcombo.cpp diff --git a/src/xrc/xh_odcombo.cpp b/src/xrc/xh_odcombo.cpp index aa8707aecf..df1ece9ef3 100644 --- a/src/xrc/xh_odcombo.cpp +++ b/src/xrc/xh_odcombo.cpp @@ -21,6 +21,7 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/textctrl.h" #endif #include "wx/odcombo.h" @@ -37,6 +38,7 @@ wxOwnerDrawnComboBoxXmlHandler::wxOwnerDrawnComboBoxXmlHandler() XRC_ADD_STYLE(wxCB_DROPDOWN); XRC_ADD_STYLE(wxODCB_STD_CONTROL_PAINT); XRC_ADD_STYLE(wxODCB_DCLICK_CYCLES); + XRC_ADD_STYLE(wxTE_PROCESS_ENTER); AddWindowStyles(); } @@ -71,8 +73,6 @@ wxObject *wxOwnerDrawnComboBoxXmlHandler::DoCreateResource() wxDefaultValidator, GetName()); - control->SetPopupControl(NULL); - wxSize ButtonSize=GetSize(wxT("buttonsize")); if (ButtonSize != wxDefaultSize)