Added wxTreeCtrl::SetItemDropHighlight (wxMSW only);

added WS_CLIPCHILDREN style to wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-03-21 22:39:45 +00:00
parent aeab6775d8
commit 58a8ab8868
8 changed files with 79 additions and 11 deletions

View File

@@ -36,6 +36,9 @@ extern "C" {
#include "wx/intl.h"
#include "wx/module.h"
// For memcpy
#include <string.h>
#ifdef __SALFORDC__
#ifdef FAR
#undef FAR
@@ -256,9 +259,11 @@ char unsigned *wxImage::GetData() const
return M_IMGDATA->m_data;
}
void wxImage::SetData( char unsigned *WXUNUSED(data) )
void wxImage::SetData( char unsigned *data )
{
wxCHECK_RET( Ok(), "invalid image" );
memcpy(M_IMGDATA->m_data, data, M_IMGDATA->m_width * M_IMGDATA->m_height * 3);
}
void wxImage::SetMaskColour( unsigned char r, unsigned char g, unsigned char b )