// wxListBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
// ----------------------------------------------------------------------------
// construction
// ----------------------------------------------------------------------------
str = wxString( label->label );
#if wxUSE_CHECKLISTBOX
- // checklistboxes have "[±] " prepended to their lables, remove it
+ // checklistboxes have "[±] " prepended to their lables, remove it
//
// NB: 4 below is the length of wxCHECKLBOX_STRING from wx/gtk1/checklst.h
if ( m_hasCheckBoxes )
void wxListBox::DoApplyWidgetStyle(GtkRcStyle *style)
{
- if (m_hasBgCol && m_backgroundColour.Ok())
+ if (m_hasBgCol && m_backgroundColour.IsOk())
{
GdkWindow *window = GTK_WIDGET(m_list)->window;
if ( window )
void wxListBox::OnInternalIdle()
{
wxCursor cursor = m_cursor;
- if (g_globalCursor.Ok()) cursor = g_globalCursor;
+ if (g_globalCursor.IsOk()) cursor = g_globalCursor;
- if (GTK_WIDGET(m_list)->window && cursor.Ok())
+ if (GTK_WIDGET(m_list)->window && cursor.IsOk())
{
/* I now set the cursor the anew in every OnInternalIdle call
as setting the cursor in a parent window also effects the