win32 - memwatch - save menu item is grayed if file hasn't changed
This commit is contained in:
parent
0fa27c49cd
commit
eb7cbc5673
|
@ -1,3 +1,4 @@
|
||||||
|
21-jun-2009 - adelikat - win32 - memwatch - save menu item is grayed if file hasn't changed
|
||||||
20-jun-2009 - adelikat - win32 - memwatch - fixed a regression I made in 2.0.1 that broke the Save As menu item
|
20-jun-2009 - adelikat - win32 - memwatch - fixed a regression I made in 2.0.1 that broke the Save As menu item
|
||||||
17-jun-2009 - qeed - Sound core fix, updated with the correct values for the noise and DMC table,
|
17-jun-2009 - qeed - Sound core fix, updated with the correct values for the noise and DMC table,
|
||||||
and also fixed the IRQ inhibit behavior for register $4017. Also fixed the CPU
|
and also fixed the IRQ inhibit behavior for register $4017. Also fixed the CPU
|
||||||
|
|
|
@ -714,6 +714,9 @@ static BOOL CALLBACK MemWatchCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA
|
||||||
|
|
||||||
switch(uMsg)
|
switch(uMsg)
|
||||||
{
|
{
|
||||||
|
case WM_ENTERMENULOOP:
|
||||||
|
EnableMenuItem(memwmenu,MEMW_FILE_SAVE,MF_BYCOMMAND | fileChanged ? MF_ENABLED:MF_GRAYED);
|
||||||
|
break;
|
||||||
case WM_MOVE: {
|
case WM_MOVE: {
|
||||||
RECT wrect;
|
RECT wrect;
|
||||||
GetWindowRect(hwndDlg,&wrect);
|
GetWindowRect(hwndDlg,&wrect);
|
||||||
|
|
Loading…
Reference in New Issue