taskmgr: Avoid return type when the return value is not used.
This commit is contained in:
parent
5d58b92b73
commit
810fbdd222
@ -153,13 +153,12 @@ static void GraphCtrl_Resize(TGraphCtrl* this)
|
||||
this->m_dVerticalFactor = (double)this->m_nPlotHeight / this->m_dRange;
|
||||
}
|
||||
|
||||
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
|
||||
void GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
|
||||
{
|
||||
GraphCtrl_Init(this);
|
||||
this->m_hParentWnd = hParentWnd;
|
||||
this->m_hWnd = hWnd;
|
||||
GraphCtrl_Resize(this);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
|
||||
|
@ -89,8 +89,7 @@ extern WNDPROC OldGraphCtrlWndProc;
|
||||
double GraphCtrl_AppendPoint(TGraphCtrl* this,
|
||||
double dNewPoint0, double dNewPoint1,
|
||||
double dNewPoint2, double dNewPoint3);
|
||||
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd,
|
||||
UINT nID);
|
||||
void GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID);
|
||||
void GraphCtrl_Reset(TGraphCtrl* this);
|
||||
void GraphCtrl_SetBackgroundColor(TGraphCtrl* this, COLORREF
|
||||
color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user