mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fix deprecated warning
This commit is contained in:
parent
f8b017ad45
commit
2d7ac600c0
25 changed files with 402 additions and 405 deletions
|
|
@ -191,7 +191,7 @@ void ctlTree::DrawDbName(const wxTreeItemId& item) {
|
|||
if (s) {
|
||||
if (!(s->GetColour().IsEmpty())) {
|
||||
c=s->GetColour();
|
||||
dc.SetBrush(wxBrush(c, wxSOLID));
|
||||
dc.SetBrush(*wxTheBrushList->FindOrCreateBrush(c));
|
||||
} else
|
||||
dc.SetBrush(*wxYELLOW_BRUSH);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue