mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Add CPU wait
This commit is contained in:
parent
6e70c87f3e
commit
fd61d111d5
6 changed files with 434 additions and 228 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue