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:
@@ -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";
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user