From: Vadim Zeitlin Date: Mon, 3 Jan 2000 23:56:41 +0000 (+0000) Subject: added test of bg colour in the tree sample X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/31405c014d0c6724c1f3b032e943d4bd0ba2acde added test of bg colour in the tree sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index a29db54296..2bd8bfa646 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -206,6 +206,9 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h) wxTR_HAS_VARIABLE_ROW_HEIGHT | #endif wxSUNKEN_BORDER); + + m_treeCtrl->SetBackgroundColour(wxColour(204, 205, 79)); + wxTextCtrl *textCtrl = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxSUNKEN_BORDER);