editor: do not use MFC header
afxres.h is MFC-ism, and is not included in Visual Studio Express 2008. To avoid confusing the resource editor in other visual studio versions, let's implement a minimal version ourselves.
This commit is contained in:
parent
126fbe1c33
commit
f2c12d1351
12
editor/afxres.h
Normal file
12
editor/afxres.h
Normal file
@ -0,0 +1,12 @@
|
||||
#include <windows.h>
|
||||
#define ID_FILE_NEW 0xE100
|
||||
#define ID_FILE_OPEN 0xE101
|
||||
#define ID_FILE_SAVE 0xE103
|
||||
#define ID_FILE_SAVE_AS 0xE104
|
||||
#define ID_EDIT_CLEAR 0xE120
|
||||
#define ID_EDIT_COPY 0xE122
|
||||
#define ID_EDIT_CUT 0xE123
|
||||
#define ID_EDIT_PASTE 0xE125
|
||||
#define ID_EDIT_SELECT_ALL 0xE12A
|
||||
#define ID_EDIT_UNDO 0xE12B
|
||||
#define ID_EDIT_REDO 0xE12C
|
||||
@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include "../sync/base.h"
|
||||
#include <afxres.h>
|
||||
#include "afxres.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <commctrl.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user