]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridctrl.cpp
fixed signed/unsigned comparison warning
[wxWidgets.git] / src / generic / gridctrl.cpp
index 27c709e3ab0ea017d2e8d5c4fd5835a5f7d581d5..1dd5e68813fb18a0f7e44b5a0a0dc64db7deb35a 100644 (file)
@@ -292,12 +292,8 @@ wxGridCellAutoWrapStringEditor::Create(wxWindow* parent,
                                        wxWindowID id,
                                        wxEvtHandler* evtHandler)
 {
-  m_control = new wxTextCtrl(parent, id, wxEmptyString,
-                             wxDefaultPosition, wxDefaultSize,
-                             wxTE_MULTILINE | wxTE_RICH);
-
-
-  wxGridCellEditor::Create(parent, id, evtHandler);
+  wxGridCellTextEditor::DoCreate(parent, id, evtHandler,
+                                 wxTE_MULTILINE | wxTE_RICH);
 }
 
 void