applied modified patch #424894 (wxrcedit & bcc compilation fixes)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-05-18 18:34:34 +00:00
parent 8e49dc6301
commit 0d832cf788
4 changed files with 6 additions and 4 deletions

View File

@@ -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,