#include "wx/checklst.h"
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
//-----------------------------------------------------------------------------
// wxCheckListBox
//-----------------------------------------------------------------------------
{
m_hasCheckBoxes = TRUE;
}
+
wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- int nStrings = 0,
- const wxString choices[] = NULL,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxListBoxNameStr)
+ const wxPoint& pos,
+ const wxSize& size,
+ int nStrings,
+ const wxString choices[],
+ long style,
+ const wxValidator& validator,
+ const wxString& name )
{
m_hasCheckBoxes = TRUE;
wxListBox::Create( parent, id, pos, size, nStrings, choices, style, validator, name );
gtk_label_set( label, str );
- wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() );
- event.SetEventObject( this );
- event.SetInt( index );
- GetEventHandler()->ProcessEvent( event );
-
return;
}
wxFAIL_MSG("wrong checklistbox index");
}
+int wxCheckListBox::GetItemHeight()
+{
+ return 22;
+}