Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Change enum BTF_HIDEMOREBUTTON from 0x006 to 0x400, otherwise it will conflict with BTF_ATTACHREPORT. #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions source/Client/BugTrap.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
jimmyleocn marked this conversation as resolved.
Show resolved Hide resolved
* This is a part of the BugTrap package.
* Copyright (c) 2005-2009 IntelleSoft.
* All rights reserved.
Expand Down Expand Up @@ -105,12 +105,6 @@ typedef enum BUGTRAP_FLAGS_tag
* provider.
*/
BTF_ATTACHREPORT = 0x004,
/**
* @brief By default BugTrap show a "More..." button to open
* the advanced ui in the simple dialog. Enable this flag
* hide the button.
*/
BTF_HIDEMOREBUTTON = 0x006,
/**
* @brief Set this flag to add list of all processes and loaded
* modules to the report. Disable this option to speedup report
Expand Down Expand Up @@ -160,7 +154,13 @@ typedef enum BUGTRAP_FLAGS_tag
* @brief Automatically restart the application after the crash has been
* handled.
*/
BTF_RESTARTAPP = 0x200
BTF_RESTARTAPP = 0x200,
/**
* @brief By default BugTrap show a "More..." button to open
* the advanced ui in the simple dialog. Enable this flag
* hide the button.
*/
BTF_HIDEMOREBUTTON = 0x400
jimmyleocn marked this conversation as resolved.
Show resolved Hide resolved
}
BUGTRAP_FLAGS;

Expand Down
4 changes: 2 additions & 2 deletions source/Examples/BugTrapTest/BugTrapTest.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// BugTrapTest.cpp : Defines the class behaviors for the application.
// BugTrapTest.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
Expand Down Expand Up @@ -32,7 +32,7 @@ CBugTrapTestApp::CBugTrapTestApp()
// Setup exception handler
BT_SetAppName(_T("BugTrap Test"));
BT_SetSupportEMail(_T("[email protected]"));
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT| BTF_SCREENCAPTURE);
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT | BTF_SCREENCAPTURE);
BT_SetSupportURL(_T("http://www.intellesoft.net"));

// = BugTrapServer ===========================================
Expand Down