X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e193f384f7b98daef459653ddb8485173fba8ba..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/gtk1/data.cpp diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index db66e05e73..df4a1638a4 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -31,7 +31,7 @@ wxResourceCache *wxTheResourceCache = (wxResourceCache *) NULL; XrmDatabase wxResourceDatabase; /* Useful buffer, initialized in wxCommonInit */ -char *wxBuffer = (char *) NULL; +wxChar *wxBuffer = (wxChar *) NULL; /* Windows List */ wxWindowList wxTopLevelWindows; @@ -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;