Add wxSimpleHtmlListBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-11-12 02:33:43 +00:00
parent bafc875b60
commit f3e5dcaa5b

View File

@ -615,6 +615,48 @@ public:
//---------------------------------------------------------------------------
%{
const wxArrayString wxPyEmptyStringArray;
%}
MAKE_CONST_WXSTRING(SimpleHtmlListBoxNameStr);
enum {
wxHLB_DEFAULT_STYLE,
wxHLB_MULTIPLE
};
MustHaveApp(wxSimpleHtmlListBox);
class wxSimpleHtmlListBox : public wxPyHtmlListBox,
public wxItemContainer
{
public:
%pythonAppend wxSimpleHtmlListBox "self._setOORInfo(self)";
%pythonAppend wxSimpleHtmlListBox() "";
wxSimpleHtmlListBox(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxArrayString& choices = wxPyEmptyStringArray,
long style = wxHLB_DEFAULT_STYLE,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPySimpleHtmlListBoxNameStr);
%RenameCtor(PreSimpleHtmlListBox, wxSimpleHtmlListBox());
bool Create(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size= wxDefaultSize,
const wxArrayString& choices = wxPyEmptyStringArray,
long style = wxHLB_DEFAULT_STYLE,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPySimpleHtmlListBoxNameStr);
};
//---------------------------------------------------------------------------
%init %{