add wxTE_PROCESS_ENTER to the list of supported flags (closes #8865) [backport of r51036 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/combobox.h"
|
#include "wx/combobox.h"
|
||||||
|
#include "wx/textctrl.h" // for wxTE_PROCESS_ENTER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxComboBoxXmlHandler, wxXmlResourceHandler)
|
IMPLEMENT_DYNAMIC_CLASS(wxComboBoxXmlHandler, wxXmlResourceHandler)
|
||||||
@@ -34,6 +35,7 @@ wxComboBoxXmlHandler::wxComboBoxXmlHandler()
|
|||||||
XRC_ADD_STYLE(wxCB_SORT);
|
XRC_ADD_STYLE(wxCB_SORT);
|
||||||
XRC_ADD_STYLE(wxCB_READONLY);
|
XRC_ADD_STYLE(wxCB_READONLY);
|
||||||
XRC_ADD_STYLE(wxCB_DROPDOWN);
|
XRC_ADD_STYLE(wxCB_DROPDOWN);
|
||||||
|
XRC_ADD_STYLE(wxTE_PROCESS_ENTER);
|
||||||
AddWindowStyles();
|
AddWindowStyles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user