Added icon to deployment manager
[public/netxms.git] / src / console / win32 / DeploymentView.cpp
index d8371e9..a070662 100644 (file)
@@ -53,8 +53,10 @@ END_MESSAGE_MAP()
 
 BOOL CDeploymentView::PreCreateWindow(CREATESTRUCT& cs) 
 {
-       // TODO: Add your specialized code here and/or call the base class
-       
+   if (cs.lpszClass == NULL)
+      cs.lpszClass = AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW, NULL, 
+                                         GetSysColorBrush(COLOR_WINDOW), 
+                                         AfxGetApp()->LoadIcon(IDI_DEPLOY));
        return CMDIChildWnd::PreCreateWindow(cs);
 }