Added wxChildFocusEvent

Updated wxHtmlWindow

Added wxEditableListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-28 09:47:53 +00:00
parent 96d24601af
commit 7b7ac0ab51
22 changed files with 538 additions and 47 deletions

View File

@@ -16,6 +16,7 @@
%{
#include "export.h"
#include "wx/gizmos/dynamicsash.h"
#include "wx/gizmos/editlbox.h"
%}
//---------------------------------------------------------------------------
@@ -149,6 +150,35 @@ def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func)
"
//----------------------------------------------------------------------
//----------------------------------------------------------------------
// This class provides a composite control that lets the
// user easily enter list of strings
class wxEditableListBox : public wxPanel
{
public:
wxEditableListBox(wxWindow *parent, wxWindowID id,
const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const char* name = "editableListBox");
void SetStrings(const wxArrayString& strings);
//void GetStrings(wxArrayString& strings);
%addmethods {
PyObject* GetStrings() {
wxArrayString strings;
self->GetStrings(strings);
return wxArrayString2PyList_helper(strings);
}
}
};
//----------------------------------------------------------------------
%init %{
@@ -159,8 +189,6 @@ def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
%}
//----------------------------------------------------------------------
%pragma(python) include="_gizmoextras.py";
//----------------------------------------------------------------------