Sync with trunk head (r49139)
[reactos.git] / base / applications / notepad / main.h
index 7b90fb7..fdc8c66 100644 (file)
 
 #include "notepad_res.h"
 
-#define EDIT_STYLE_WRAP (WS_CHILD | WS_VISIBLE | WS_VSCROLL \
+#define EDIT_STYLE_WRAP (WS_CHILD | WS_VSCROLL \
     | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL)
 #define EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL)
-#define EDIT_EXSTYLE (WS_EX_CLIENTEDGE)
+
+#define EDIT_CLASS          _T("EDIT")
 
 #define MAX_STRING_LEN      255
 
@@ -47,6 +48,7 @@ typedef struct
   HWND       hEdit;
   HWND       hStatusBar;
   HFONT      hFont; /* Font used by the edit control */
+  HMENU      hMenu;
   LOGFONT    lfFont;
   BOOL       bWrapLongLines;
   BOOL       bShowStatusBar;