Add menu option to create blank disc image.
This commit is contained in:
parent
5fd2fd40aa
commit
0e37f08cb5
11 changed files with 1498 additions and 1330 deletions
|
|
@ -42,6 +42,8 @@
|
|||
#include "wx-common.h"
|
||||
#include "wx-display.h"
|
||||
|
||||
extern void creatediscimage_open(void *hwnd);
|
||||
|
||||
#define ID_IS(s) wParam == wx_xrcid(s)
|
||||
#define ID_RANGE(a, b) wParam >= wx_xrcid(a) && wParam <= wx_xrcid(b)
|
||||
|
||||
|
|
@ -856,6 +858,10 @@ int wx_handle_command(void* hwnd, int wParam, int checked)
|
|||
wx_checkmenuitem(hmenu, wParam, bpb_disable);
|
||||
saveconfig(NULL);
|
||||
}
|
||||
else if (ID_IS("IDM_DISC_CREATE"))
|
||||
{
|
||||
creatediscimage_open(hwnd);
|
||||
}
|
||||
else if (ID_IS("IDM_DISC_ZIP"))
|
||||
{
|
||||
char zip_fn[256] = "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue