Skip to content

Commit

Permalink
Set assert dialog top most
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 5, 2023
1 parent a9e9994 commit a65c240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ bool debugger::launch() {
}

int_least32_t debugger::show_assert_dialog(const std::string& text, const std::string& caption) {
return MessageBox(nullptr, win32::strings::to_wstring(text).c_str(), win32::strings::to_wstring(caption).c_str(), MB_ICONERROR | MB_ABORTRETRYIGNORE | MB_DEFBUTTON3);
return MessageBox(nullptr, win32::strings::to_wstring(text).c_str(), win32::strings::to_wstring(caption).c_str(), MB_TOPMOST | MB_ICONERROR | MB_ABORTRETRYIGNORE | MB_DEFBUTTON3);
}

void debugger::log(int_least32_t level, const std::string& category, const std::string& message) {
Expand Down

0 comments on commit a65c240

Please sign in to comment.