X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaa2b34e816810e376a2cd471755c11713bcd481..d8ddee9c46a4e234262a11948eb2bc6e003d15af:/contrib/utils/wxrcedit/pe_adv.cpp diff --git a/contrib/utils/wxrcedit/pe_adv.cpp b/contrib/utils/wxrcedit/pe_adv.cpp index c5776cbb42..4f74f4094f 100644 --- a/contrib/utils/wxrcedit/pe_adv.cpp +++ b/contrib/utils/wxrcedit/pe_adv.cpp @@ -18,7 +18,7 @@ #endif #include "wx/wx.h" -#include "wx/xml/xml.h" +#include "wx/xrc/xml.h" #include "wx/tokenzr.h" #include "wx/wx.h" #include "wx/dialog.h" @@ -113,7 +113,7 @@ void PropEditCtrlColor::OnDetails() wxString txt = m_TextCtrl->GetValue(); long unsigned tmp; - if (txt.Length() == 7 && txt[0] == _T('#') && + if (txt.Length() == 7 && txt[0u] == _T('#') && wxSscanf(txt.c_str(), _T("#%lX"), &tmp) == 1) clr = wxColour((tmp & 0xFF0000) >> 16, (tmp & 0x00FF00) >> 8,