From e6433fcb3cc2a2896b6a7d488d7fbe25f2ad6bf2 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Mon, 1 Feb 2010 10:37:49 +0100 Subject: Added wxListCtrl:getEditCtrl (not available on Mac) --- lib/wx/c_src/gen/wxe_funcs.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp') diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 532fee24b2..59c87cdcb9 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2009. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -15338,6 +15338,13 @@ case wxListCtrl_GetCountPerPage: { // wxListCtrl::GetCountPerPage rt.addInt(Result); break; } +case wxListCtrl_GetEditControl: { // wxListCtrl::GetEditControl + wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + wxTextCtrl * Result = (wxTextCtrl*)This->GetEditControl(); + rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); + break; +} case wxListCtrl_GetImageList: { // wxListCtrl::GetImageList wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; int * which = (int *) bp; bp += 4; -- cgit v1.2.3