]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxBORDER_NONE for wxGridCellTextEditor on all platforms, not just wxMSW
authorRobert Roebling <robert@roebling.de>
Sat, 17 Nov 2007 12:37:35 +0000 (12:37 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 17 Nov 2007 12:37:35 +0000 (12:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index d19edeb3f692f2cbd8b992c06b4f02e22579f1b8..ae459c3b188d3b5451cf6d7fbe5e5049ddbc0a75 100644 (file)
@@ -650,12 +650,10 @@ void wxGridCellTextEditor::DoCreate(wxWindow* parent,
                                     wxEvtHandler* evtHandler,
                                     long style)
 {
-#if defined(__WXMSW__)
     style |= wxTE_PROCESS_ENTER |
              wxTE_PROCESS_TAB |
              wxTE_AUTO_SCROLL |
              wxNO_BORDER;
-#endif
 
     m_control = new wxTextCtrl(parent, id, wxEmptyString,
                                wxDefaultPosition, wxDefaultSize,