Use wxBORDER_NONE for wxGridCellTextEditor on all platforms, not just wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -650,12 +650,10 @@ void wxGridCellTextEditor::DoCreate(wxWindow* parent,
|
|||||||
wxEvtHandler* evtHandler,
|
wxEvtHandler* evtHandler,
|
||||||
long style)
|
long style)
|
||||||
{
|
{
|
||||||
#if defined(__WXMSW__)
|
|
||||||
style |= wxTE_PROCESS_ENTER |
|
style |= wxTE_PROCESS_ENTER |
|
||||||
wxTE_PROCESS_TAB |
|
wxTE_PROCESS_TAB |
|
||||||
wxTE_AUTO_SCROLL |
|
wxTE_AUTO_SCROLL |
|
||||||
wxNO_BORDER;
|
wxNO_BORDER;
|
||||||
#endif
|
|
||||||
|
|
||||||
m_control = new wxTextCtrl(parent, id, wxEmptyString,
|
m_control = new wxTextCtrl(parent, id, wxEmptyString,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
|
Reference in New Issue
Block a user