};
if (hit)
{
-// if (m_currentCursor == wxSTANDARD_CURSOR) SetCursor( m_resizeCursor );
-// m_currentCursor = m_resizeCursor;
+ if (m_currentCursor == wxSTANDARD_CURSOR) SetCursor( m_resizeCursor );
+ m_currentCursor = m_resizeCursor;
}
else
{
-// if (m_currentCursor != wxSTANDARD_CURSOR) SetCursor( wxSTANDARD_CURSOR );
-// m_currentCursor = wxSTANDARD_CURSOR;
+ if (m_currentCursor != wxSTANDARD_CURSOR) SetCursor( wxSTANDARD_CURSOR );
+ m_currentCursor = wxSTANDARD_CURSOR;
};
};
};
{
if ((m_mode & wxLC_ICON) && (m_normal_image_list))
{
- m_normal_image_list->Draw( index, *dc, x, y );
+ m_normal_image_list->Draw( index, *dc, x, y, wxIMAGELIST_DRAW_TRANSPARENT );
return;
};
if ((m_mode & wxLC_SMALL_ICON) && (m_small_image_list))
{
- m_small_image_list->Draw( index, *dc, x, y );
+ m_small_image_list->Draw( index, *dc, x, y, wxIMAGELIST_DRAW_TRANSPARENT );
};
};
return m_mainWin->GetItemCount();
};
+void wxListCtrl::SetItemSpacing( int spacing, bool isSmall )
+{
+ m_mainWin->SetItemSpacing( spacing, isSmall );
+};
+
int wxListCtrl::GetItemSpacing( bool isSmall )
{
return m_mainWin->GetItemSpacing( isSmall );
m_mainWin->CalculatePositions();
m_mainWin->RealizeChanges();
+ m_mainWin->m_dirty = FALSE;
m_mainWin->Refresh();
};