No changes, just remove unneeded variable initialization in carbon listctrl.
Closes #14997. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -685,7 +685,7 @@ bool wxListCtrl::Create(wxWindow *parent,
|
|||||||
(EventHandlerRef *)&m_macListCtrlEventHandler);
|
(EventHandlerRef *)&m_macListCtrlEventHandler);
|
||||||
|
|
||||||
m_renameTimer = new wxListCtrlRenameTimer( this );
|
m_renameTimer = new wxListCtrlRenameTimer( this );
|
||||||
|
|
||||||
Connect( wxID_ANY, wxEVT_CHAR, wxCharEventHandler(wxListCtrl::OnChar), NULL, this );
|
Connect( wxID_ANY, wxEVT_CHAR, wxCharEventHandler(wxListCtrl::OnChar), NULL, this );
|
||||||
Connect( wxID_ANY, wxEVT_LEFT_DOWN, wxMouseEventHandler(wxListCtrl::OnLeftDown), NULL, this );
|
Connect( wxID_ANY, wxEVT_LEFT_DOWN, wxMouseEventHandler(wxListCtrl::OnLeftDown), NULL, this );
|
||||||
Connect( wxID_ANY, wxEVT_LEFT_DCLICK, wxMouseEventHandler(wxListCtrl::OnDblClick), NULL, this );
|
Connect( wxID_ANY, wxEVT_LEFT_DCLICK, wxMouseEventHandler(wxListCtrl::OnDblClick), NULL, this );
|
||||||
@@ -803,8 +803,7 @@ void wxListCtrl::DoSetSize( int x, int y, int width, int height, int sizeFlags )
|
|||||||
|
|
||||||
bool wxListCtrl::SetFont(const wxFont& font)
|
bool wxListCtrl::SetFont(const wxFont& font)
|
||||||
{
|
{
|
||||||
bool rv = true;
|
bool rv = wxListCtrlBase::SetFont(font);
|
||||||
rv = wxListCtrlBase::SetFont(font);
|
|
||||||
if (m_genericImpl)
|
if (m_genericImpl)
|
||||||
rv = m_genericImpl->SetFont(font);
|
rv = m_genericImpl->SetFont(font);
|
||||||
return rv;
|
return rv;
|
||||||
|
Reference in New Issue
Block a user