resize mdi and notebook client
bitmap resizing (used in imagelist) draw spline bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1314,12 +1314,12 @@ void wxListMainWindow::DrawImage( int index, wxPaintDC *dc, int x, int y )
|
||||
{
|
||||
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 );
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2212,6 +2212,11 @@ int wxListCtrl::GetItemCount(void)
|
||||
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 );
|
||||
|
Reference in New Issue
Block a user