~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/win32/uimon.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.1.7 upstream) (9.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090331003715-i5yisvcfv7mgz3eh
Tags: 2.1.dfsg-1
* New major upstream release (closes: #495937).
* Add desktop files (closes: #501181).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include <commctrl.h>
35
35
 
36
36
#include "console.h"
 
37
#include "debug.h"
37
38
#include "fullscrn.h"
38
39
#include "lib.h"
39
40
#include "mon_register.h"
669
670
    {
670
671
        ret = GetByte(&(pwd->pMonitorDimensions),&pwd->MonitorLen);
671
672
 
672
 
        if (pwd->MonitorLen < sizeof(WINDOWPLACEMENT))
 
673
        if (pwd->MonitorLen < (int)sizeof(WINDOWPLACEMENT))
673
674
        {
674
675
            ret = WT_END;
675
676
 
1153
1154
        hwndToolbar = CreateAToolbar(hwnd);
1154
1155
 
1155
1156
        EnableCommands(GetMenu(hwnd),hwndToolbar);
1156
 
 
 
1157
        ui_translate_monitor_menu(GetMenu(hwnd));
1157
1158
        {
1158
1159
            CLIENTCREATESTRUCT ccs;
1159
1160
            ccs.hWindowMenu  = GetSubMenu(GetMenu(hwnd),3);
2011
2012
        wc.hIcon         = LoadIcon(winmain_instance, MAKEINTRESOURCE(IDI_ICON1));
2012
2013
        wc.hCursor       = LoadCursor(NULL, IDC_ARROW);
2013
2014
        wc.hbrBackground = (HBRUSH)CreateSolidBrush(RGB(0xc0, 0xc0, 0xc0));
2014
 
        wc.lpszMenuName  = MAKEINTRESOURCE(translate_res(IDR_MENUMONITOR));
 
2015
        wc.lpszMenuName  = MAKEINTRESOURCE(IDR_MENUMONITOR);
2015
2016
        wc.lpszClassName = MONITOR_CLASS;
2016
2017
        wc.hIconSm       = NULL;
2017
2018