Add CPU wait

This commit is contained in:
lsv 2024-09-29 15:58:35 +05:00
parent 6e70c87f3e
commit fd61d111d5
6 changed files with 434 additions and 228 deletions

View file

@ -197,7 +197,8 @@ wxColour getColorFromString(const wxString& str) {
unsigned long tmp;
int scanned = wxSscanf(strcolor, "%lx", &tmp);
if (scanned == 1) {
wxColour c(strc);
wxColour c;
c.Set((tmp>>16) & 0xFF | (tmp & 0x00FF00)| (tmp & 0xFF)<<16);
if (c.IsOk()) return c;
}
}