Removed broken menu items.

This commit is contained in:
leo 2012-03-17 22:34:06 +00:00
parent 95382eb98f
commit 73e440c16c
3 changed files with 3 additions and 7 deletions

View file

@ -19,8 +19,6 @@ IMPLEMENT_DYNCREATE(CCADDoc, CDocument)
BEGIN_MESSAGE_MAP(CCADDoc, CDocument)
//{{AFX_MSG_MAP(CCADDoc)
//}}AFX_MSG_MAP
// ON_COMMAND(ID_FILE_SEND_MAIL, OnFileSendMail)
// ON_UPDATE_COMMAND_UI(ID_FILE_SEND_MAIL, OnUpdateFileSendMail)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////

View file

@ -225,7 +225,6 @@ BEGIN
MENUITEM "&Save", ID_FILE_SAVE
MENUITEM "Save &As...", ID_FILE_SAVE_AS
MENUITEM "Save Picture...", ID_FILE_SAVEPICTURE
MENUITEM "Sen&d...", ID_FILE_SEND_MAIL
POPUP "Export"
BEGIN
MENUITEM "3D Studio...", ID_FILE_EXPORT_3DSTUDIO
@ -306,7 +305,6 @@ BEGIN
MENUITEM "Insert\tIns", ID_PIECE_INSERT
MENUITEM "Delete\tDel", ID_PIECE_DELETE
MENUITEM "Array...", ID_PIECE_ARRAY
MENUITEM "Mirror...", ID_PIECE_MIRROR, GRAYED
MENUITEM "Minifig Wizard...", ID_PIECE_MINIFIGWIZARD
MENUITEM "Copy Keys", ID_PIECE_COPYKEYS
MENUITEM SEPARATOR

View file

@ -1522,9 +1522,9 @@ File* SystemImportClipboard()
return clip;
}
bool Sys_KeyDown (int key)
bool Sys_KeyDown(int key)
{
return GetKeyState (KEY_CONTROL) < 0;
return GetKeyState(key) < 0;
}
@ -1532,7 +1532,7 @@ void SystemPumpMessages()
{
MSG msg;
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{
TranslateMessage(&msg);
DispatchMessage(&msg);