git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32583
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (Value != m_Value)
{
#ifdef __WXDEBUG__
- if (!Value.IsEmpty())
+ if (!Value.empty())
{
for(size_t i=0; i<Value.Length(); i++) {
wxChar ch = Value[i];
if (Digit == DIGITALL)
{
- const int R = LineColor.Red() / 16;
- const int G = LineColor.Green() / 16;
- const int B = LineColor.Blue() / 16;
+ const unsigned char R = (unsigned char)(LineColor.Red() / 16);
+ const unsigned char G = (unsigned char)(LineColor.Green() / 16);
+ const unsigned char B = (unsigned char)(LineColor.Blue() / 16);
LineColor.Set(R, G, B);
}