diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-04-24 21:52:13 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-04-24 21:52:13 +0000 |
commit | 712a95b62ed7ed6aef9ab078ccd4ac685f34b42c (patch) | |
tree | 748ea5e47f0abfb64de970d3b8993bfe2fb3acf2 /plugins/AutoShutdown/src/shutdownsvc.cpp | |
parent | 383d28b152438345e129963e6c1a40e8e4f04293 (diff) |
AutoShutdown - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13114 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/src/shutdownsvc.cpp')
-rw-r--r-- | plugins/AutoShutdown/src/shutdownsvc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/AutoShutdown/src/shutdownsvc.cpp b/plugins/AutoShutdown/src/shutdownsvc.cpp index dde2ed0716..3de69ba4d2 100644 --- a/plugins/AutoShutdown/src/shutdownsvc.cpp +++ b/plugins/AutoShutdown/src/shutdownsvc.cpp @@ -19,7 +19,7 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "common.h"
+#include "stdafx.h"
/* Shutdown Dialog */
static HWND hwndShutdownDlg;
@@ -343,7 +343,6 @@ static INT_PTR CALLBACK ShutdownDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR /* reallow foreground window changes (WinMe/2000+) */
LockSetForegroundWindow(LSFW_UNLOCK);
Utils_SaveWindowPosition(hwndDlg,NULL,"AutoShutdown","ConfirmDlg_");
- HICON hIcon=(HICON)SendDlgItemMessage(hwndDlg,IDC_ICON_HEADER,STM_SETIMAGE,IMAGE_ICON,0);
HFONT hFont=(HFONT)SendDlgItemMessage(hwndDlg,IDC_TEXT_HEADER,WM_GETFONT,0,0);
SendDlgItemMessage(hwndDlg,IDC_TEXT_HEADER,WM_SETFONT,0,FALSE); /* no return value */
if (hFont != NULL) DeleteObject(hFont);
|