source: filezilla/trunk/fuentes/src/engine/msgbox.cpp @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 390 bytes
Line 
1#include <filezilla.h>
2
3#include "msgbox.h"
4
5namespace {
6int openMessageBoxes = 0;
7}
8
9bool IsShowingMessageBox()
10{
11        return openMessageBoxes != 0;
12}
13
14int wxMessageBoxEx(const wxString& message, const wxString& caption
15        , long style, wxWindow *parent
16        , int x, int y)
17{
18        ++openMessageBoxes;
19        int ret = wxMessageBox(message, caption, style, parent, x, y);
20        --openMessageBoxes;
21
22        return ret;
23}
Note: See TracBrowser for help on using the repository browser.