]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scroll/scroll.cpp
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / samples / scroll / scroll.cpp
index 0ee088f4c7190fbe50e37cfda0da99df34864289..342bdfdf278ea785679aed851c6c430acb31be09 100644 (file)
@@ -1233,10 +1233,8 @@ MyAutoScrollingWindow::DCNormalize(int x, int y, int w, int h)
 void MyAutoScrollingWindow::OnDraw(wxDC& dc)
 {
     dc.SetFont(m_font);
-    wxBrush normBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)
-            , wxSOLID);
-    wxBrush selBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT)
-            , wxSOLID);
+    wxBrush normBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
+    wxBrush selBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT));
     dc.SetPen(*wxTRANSPARENT_PEN);
     const wxString str = sm_testData;
     size_t strLength = str.length();