use BTNS_SEP instead of TBSTYLE_SEP

svn path=/trunk/; revision=5671
This commit is contained in:
Martin Fuchs 2003-08-19 09:48:43 +00:00
parent 0fd6225404
commit 4f3b4c81e2
4 changed files with 7 additions and 5 deletions

View file

@ -59,7 +59,7 @@ MainFrame::MainFrame(HWND hwnd)
#endif
TBBUTTON toolbarBtns[] = {
{0, 0, 0, TBSTYLE_SEP, {0, 0}, 0, 0},
{0, 0, 0, BTNS_SEP, {0, 0}, 0, 0},
{0, ID_WINDOW_NEW, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},
{1, ID_WINDOW_CASCADE, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},
{2, ID_WINDOW_TILE_HORZ, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},
@ -75,7 +75,7 @@ MainFrame::MainFrame(HWND hwnd)
CheckMenuItem(_menu_info._hMenuOptions, ID_VIEW_TOOL_BAR, MF_BYCOMMAND|MF_CHECKED);
TBBUTTON drivebarBtn = {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, {0, 0}, 0, 0};
TBBUTTON drivebarBtn = {0, 0, TBSTATE_ENABLED, BTNS_SEP, {0, 0}, 0, 0};
int btn = 1;
PTSTR p;

View file

@ -46,7 +46,8 @@
#ifndef BTNS_BUTTON
#define BTNS_BUTTON TBSTYLE_BUTTON //@@ -> wingw headers
#define BTNS_BUTTON TBSTYLE_BUTTON //TODO: should be in mingw headers
#define BTNS_SEP TBSTYLE_SEP
#endif

View file

@ -3538,7 +3538,7 @@ void explorer_show_frame(HWND hwndParent, int cmdshow)
{
TBBUTTON drivebarBtn = {0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, {0, 0}, 0, 0};
TBBUTTON drivebarBtn = {0, 0, TBSTATE_ENABLED, BTNS_SEP, {0, 0}, 0, 0};
int btn = 1;
PTSTR p;
@ -3599,7 +3599,7 @@ void explorer_show_frame(HWND hwndParent, int cmdshow)
{
TBBUTTON toolbarBtns[] = {
{0, 0, 0, TBSTYLE_SEP, {0, 0}, 0, 0},
{0, 0, 0, BTNS_SEP, {0, 0}, 0, 0},
{0, ID_WINDOW_NEW, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},
{1, ID_WINDOW_CASCADE, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},
{2, ID_WINDOW_TILE_HORZ, TBSTATE_ENABLED, BTNS_BUTTON, {0, 0}, 0, 0},

View file

@ -62,6 +62,7 @@
#ifndef BTNS_BUTTON
#define BTNS_BUTTON TBSTYLE_BUTTON
#define BTNS_SEP TBSTYLE_SEP
#endif