git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59075
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxScreenDC dc;
dc.SetLogicalFunction( wxINVERT );
wxScreenDC dc;
dc.SetLogicalFunction( wxINVERT );
- dc.SetPen( wxPen( *wxBLACK, 2, wxSOLID ) );
+ dc.SetPen( wxPen(*wxBLACK, 2) );
dc.SetBrush( *wxTRANSPARENT_BRUSH );
AdjustDC(dc);
dc.SetBrush( *wxTRANSPARENT_BRUSH );
AdjustDC(dc);
// wxListMainWindow
//-----------------------------------------------------------------------------
// wxListMainWindow
//-----------------------------------------------------------------------------
-BEGIN_EVENT_TABLE(wxListMainWindow,wxScrolledCanvas)
+BEGIN_EVENT_TABLE(wxListMainWindow, wxWindow)
EVT_PAINT (wxListMainWindow::OnPaint)
EVT_MOUSE_EVENTS (wxListMainWindow::OnMouse)
EVT_CHAR (wxListMainWindow::OnChar)
EVT_PAINT (wxListMainWindow::OnPaint)
EVT_MOUSE_EVENTS (wxListMainWindow::OnMouse)
EVT_CHAR (wxListMainWindow::OnChar)