From fd1dc2a7e6718503f71fd1b11da1dbdf94ffb826 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 21 Feb 2009 20:30:57 +0000 Subject: [PATCH] fix event table base for wxListMainWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 0c1f6b50bf..4e16824db1 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1227,7 +1227,7 @@ void wxListHeaderWindow::DrawCurrent() wxScreenDC dc; dc.SetLogicalFunction( wxINVERT ); - dc.SetPen( wxPen( *wxBLACK, 2, wxSOLID ) ); + dc.SetPen( wxPen(*wxBLACK, 2) ); dc.SetBrush( *wxTRANSPARENT_BRUSH ); AdjustDC(dc); @@ -1555,7 +1555,7 @@ void wxListTextCtrlWrapper::OnKillFocus( wxFocusEvent &event ) // wxListMainWindow //----------------------------------------------------------------------------- -BEGIN_EVENT_TABLE(wxListMainWindow,wxScrolledCanvas) +BEGIN_EVENT_TABLE(wxListMainWindow, wxWindow) EVT_PAINT (wxListMainWindow::OnPaint) EVT_MOUSE_EVENTS (wxListMainWindow::OnMouse) EVT_CHAR (wxListMainWindow::OnChar) -- 2.45.2