Fixed wxHTML code in a Watcom Win32 DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
struct wxHtmlCacheItem;
|
struct wxHtmlCacheItem;
|
||||||
|
|
||||||
class wxHtmlTagsCache : public wxObject
|
class WXDLLEXPORT wxHtmlTagsCache : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxHtmlTagsCache)
|
DECLARE_DYNAMIC_CLASS(wxHtmlTagsCache)
|
||||||
|
|
||||||
|
@@ -560,9 +560,9 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
|
|||||||
if ( cmp == 0 )
|
if ( cmp == 0 )
|
||||||
{
|
{
|
||||||
rgbVal = theRGBRecords[middle].rgb;
|
rgbVal = theRGBRecords[middle].rgb;
|
||||||
*r = (rgbVal >> 16) & 0xFF;
|
*r = (unsigned char)((rgbVal >> 16) & 0xFF);
|
||||||
*g = (rgbVal >> 8) & 0xFF;
|
*g = (unsigned char)((rgbVal >> 8) & 0xFF);
|
||||||
*b = (rgbVal) & 0xFF;
|
*b = (unsigned char)((rgbVal) & 0xFF);
|
||||||
*isNone = FALSE;
|
*isNone = FALSE;
|
||||||
free(name);
|
free(name);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Reference in New Issue
Block a user