Skip to content

Commit

Permalink
Remove values which were populating reserved fields
Browse files Browse the repository at this point in the history
  • Loading branch information
malxau committed Jul 2, 2021
1 parent 29620be commit d067bda
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions guiwin32/gwtoolb.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@
#include "elvisres.h"

static TBBUTTON buttons[] = {
{ 0, IDM_FILE_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_FILE_NEW, 0, },
{ 1, IDM_FILE_OPEN, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_FILE_OPEN, 0, },
{ 2, IDM_FILE_SAVE, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_FILE_SAVE, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{ 3, IDM_EDIT_CUT, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_EDIT_CUT, 0, },
{ 4, IDM_EDIT_COPY, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_EDIT_COPY, 0, },
{ 5, IDM_EDIT_PASTE, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_EDIT_PASTE, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{ 6, IDM_EDIT_UNDO, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_EDIT_UNDO, 0, },
{ 7, IDM_EDIT_REDO, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_EDIT_REDO, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{ 8, IDM_WINDOW_NFILE, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_WINDOW_NFILE, 0, },
{ 9, IDM_WINDOW_PFILE, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_WINDOW_PFILE, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{10, IDM_WINDOW_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_WINDOW_NEW, 0, },
{11, IDM_WINDOW_NEXT, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_WINDOW_NEXT, 0, },
{12, IDM_WINDOW_PREVIOUS,TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_WINDOW_PREVIOUS, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{13, IDM_FILE_PRINT, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_FILE_PRINT, 0, },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0, },
{14, IDM_HELP_INDEX, TBSTATE_ENABLED, TBSTYLE_BUTTON, IDM_HELP_INDEX, 0, },
{ 0, IDM_FILE_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 1, IDM_FILE_OPEN, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 2, IDM_FILE_SAVE, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{ 3, IDM_EDIT_CUT, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 4, IDM_EDIT_COPY, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 5, IDM_EDIT_PASTE, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{ 6, IDM_EDIT_UNDO, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 7, IDM_EDIT_REDO, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{ 8, IDM_WINDOW_NFILE, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 9, IDM_WINDOW_PFILE, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{10, IDM_WINDOW_NEW, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{11, IDM_WINDOW_NEXT, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{12, IDM_WINDOW_PREVIOUS,TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{13, IDM_FILE_PRINT, TBSTATE_ENABLED, TBSTYLE_BUTTON },
{ 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP },
{14, IDM_HELP_INDEX, TBSTATE_ENABLED, TBSTYLE_BUTTON },
};

static int cxborder;
Expand Down

0 comments on commit d067bda

Please sign in to comment.