X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7dd62924826c2015d9c2563ce0e9443e73dbddc1..8b260fbe33b67311ab69043e8fb1bc4c4d7ac1f2:/src/gtk1/data.cpp diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index 4ac9238294..90253fce34 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -49,6 +49,9 @@ bool g_blockEventsOnDrag = FALSE; /* Don't allow mouse event propagation during scroll */ bool g_blockEventsOnScroll = FALSE; +/* Don't allow window closing if there are open dialogs */ +int g_openDialogs = 0; + /* TRUE when the message queue is empty. this gets set to FALSE by all event callbacks before anything else is done */ bool g_isIdle = FALSE; @@ -171,6 +174,7 @@ const wxChar *wxInternalErrorStr = wxT("wxWindows Internal Error"); const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error"); const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl"); const wxChar *wxDirDialogDefaultFolderStr = wxT("/"); +const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl"); /* See wx/utils.h */ const wxChar *wxFloatToStringStr = wxT("%.2f");