threshold is pixel value, it should use unsigned char

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-08-21 11:54:31 +00:00
parent 7e559cd8f4
commit 8f2b21e474
2 changed files with 6 additions and 6 deletions

View File

@@ -209,7 +209,7 @@ public:
// converts image's alpha channel to mask, if it has any, does nothing
// otherwise:
bool ConvertAlphaToMask(unsigned threshold = 128);
bool ConvertAlphaToMask(unsigned char threshold = 128);
static bool CanRead( const wxString& name );
static int GetImageCount( const wxString& name, long type = wxBITMAP_TYPE_ANY );