aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-10-03 13:03:13 +0000
committernyamatongwe <unknown>2000-10-03 13:03:13 +0000
commitf2eec7a2f49ce7b7dda18f92d0026cecf2a033d1 (patch)
treecea87796a2b93da40e665db96aa3f4672d29abf4 /gtk/PlatGTK.cxx
parenta3ad62da479a859b0df819ba74aa8b2d5ed71a60 (diff)
downloadscintilla-mirror-f2eec7a2f49ce7b7dda18f92d0026cecf2a033d1.tar.gz
Mouse down captures now optional.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 5276d75f2..d0c298685 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -867,8 +867,10 @@ void Platform::DebugPrintf(const char *, ...) {
// Not supported for GTK+
static bool assertionPopUps = true;
-void Platform::ShowAssertionPopUps(bool assertionPopUps_) {
+bool Platform::ShowAssertionPopUps(bool assertionPopUps_) {
+ bool ret = assertionPopUps;
assertionPopUps = assertionPopUps_;
+ return ret;
}
void Platform::Assert(const char *c, const char *file, int line) {