From fdf1429eea5962a8da6134d37d3c12aac259a5c0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 27 Feb 2004 00:02:44 +0000 Subject: [PATCH] testing wxComboBox::SetBackgroundColour() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/controls/controls.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 6db8d56732..f8e67d62b7 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -692,7 +692,8 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) m_combo = new MyComboBox( panel, ID_COMBO, _T("This"), wxPoint(20,25), wxSize(120, -1), 5, choices, - /* wxCB_READONLY | */ wxPROCESS_ENTER); + wxCB_READONLY | wxPROCESS_ENTER); + m_combo->SetBackgroundColour(*wxBLUE); (void)new wxButton( panel, ID_COMBO_SEL_NUM, _T("Select #&2"), wxPoint(180,30), wxSize(140,30) ); (void)new wxButton( panel, ID_COMBO_SEL_STR, _T("&Select 'This'"), wxPoint(340,30), wxSize(140,30) ); -- 2.45.2