diff --git a/clientgui/DlgEventLog.cpp b/clientgui/DlgEventLog.cpp index 0545e0d676..b3e879ef9a 100644 --- a/clientgui/DlgEventLog.cpp +++ b/clientgui/DlgEventLog.cpp @@ -887,7 +887,7 @@ void CDlgEventLog::OnButtonHelp( wxCommandEvent& event ) { } -void CDlgEventLog::OnColResize( wxCommandEvent& ) { +void CDlgEventLog::OnColResize( wxListEvent& ) { // Register the new column widths immediately SaveState(); } diff --git a/clientgui/DlgEventLog.h b/clientgui/DlgEventLog.h index 44d3c1c96a..1035309fd9 100644 --- a/clientgui/DlgEventLog.h +++ b/clientgui/DlgEventLog.h @@ -119,7 +119,7 @@ public: void OnButtonHelp( wxCommandEvent& event ); /// EVT_LIST_COL_END_DRAG event handler for ID_SIMPLE_MESSAGESVIEW - void OnColResize( wxCommandEvent& event ); + void OnColResize( wxListEvent& event ); /// called from CMainDocument::HandleCompletedRPC() after wxEVT_RPC_FINISHED event void OnRefresh(); diff --git a/clientgui/ViewProjects.cpp b/clientgui/ViewProjects.cpp index d9ea2445a6..91909fefe7 100644 --- a/clientgui/ViewProjects.cpp +++ b/clientgui/ViewProjects.cpp @@ -555,13 +555,13 @@ void CViewProjects::OnProjectWebsiteClicked( wxEvent& event ) { wxLogTrace(wxT("Function Start/End"), wxT("CViewProjects::OnProjectWebsiteClicked - Function End")); } -bool CViewProjects::OnColResize( wxCommandEvent& ) { +void CViewProjects::OnColResize( wxListEvent& ) { // Register the new column widths immediately CAdvancedFrame* pFrame = wxDynamicCast(GetParent()->GetParent()->GetParent(), CAdvancedFrame); wxASSERT(pFrame); wxASSERT(wxDynamicCast(pFrame, CAdvancedFrame)); - return pFrame->SaveState(); + pFrame->SaveState(); } diff --git a/clientgui/ViewProjects.h b/clientgui/ViewProjects.h index d528c4bea4..c75547431d 100644 --- a/clientgui/ViewProjects.h +++ b/clientgui/ViewProjects.h @@ -73,7 +73,7 @@ public: void OnShowItemProperties( wxCommandEvent& event ); void OnProjectWebsiteClicked( wxEvent& event ); - bool OnColResize( wxCommandEvent& event); + void OnColResize( wxListEvent& event); std::vector m_ProjectCache; diff --git a/clientgui/ViewTransfers.cpp b/clientgui/ViewTransfers.cpp index aadef6a5b5..a14431b7dd 100644 --- a/clientgui/ViewTransfers.cpp +++ b/clientgui/ViewTransfers.cpp @@ -365,13 +365,13 @@ void CViewTransfers::OnTransfersAbort( wxCommandEvent& WXUNUSED(event) ) { } -bool CViewTransfers::OnColResize( wxCommandEvent& ) { +void CViewTransfers::OnColResize( wxListEvent& ) { // Register the new column widths immediately CAdvancedFrame* pFrame = wxDynamicCast(GetParent()->GetParent()->GetParent(), CAdvancedFrame); wxASSERT(pFrame); wxASSERT(wxDynamicCast(pFrame, CAdvancedFrame)); - return pFrame->SaveState(); + pFrame->SaveState(); } diff --git a/clientgui/ViewTransfers.h b/clientgui/ViewTransfers.h index 35b1dcdc5c..16f694ad0d 100644 --- a/clientgui/ViewTransfers.h +++ b/clientgui/ViewTransfers.h @@ -67,7 +67,7 @@ public: void OnTransfersRetryNow( wxCommandEvent& event ); void OnTransfersAbort( wxCommandEvent& event ); - bool OnColResize( wxCommandEvent& event); + void OnColResize( wxListEvent& event); std::vector m_TransferCache; diff --git a/clientgui/ViewWork.cpp b/clientgui/ViewWork.cpp index d58cfdaa8c..102f9abf88 100644 --- a/clientgui/ViewWork.cpp +++ b/clientgui/ViewWork.cpp @@ -612,13 +612,13 @@ void CViewWork::OnProjectWebsiteClicked( wxEvent& event ) { } -bool CViewWork::OnColResize( wxCommandEvent& ) { +void CViewWork::OnColResize( wxListEvent& ) { // Register the new column widths immediately CAdvancedFrame* pFrame = wxDynamicCast(GetParent()->GetParent()->GetParent(), CAdvancedFrame); wxASSERT(pFrame); wxASSERT(wxDynamicCast(pFrame, CAdvancedFrame)); - return pFrame->SaveState(); + pFrame->SaveState(); } diff --git a/clientgui/ViewWork.h b/clientgui/ViewWork.h index cc92ec4574..41231f6cbd 100644 --- a/clientgui/ViewWork.h +++ b/clientgui/ViewWork.h @@ -75,7 +75,7 @@ public: void OnActiveTasksOnly( wxCommandEvent& event ); void OnProjectWebsiteClicked( wxEvent& event ); - bool OnColResize( wxCommandEvent& event); + void OnColResize( wxListEvent& event); std::vector m_WorkCache;