aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-10-03 13:03:13 +0000
committernyamatongwe <devnull@localhost>2000-10-03 13:03:13 +0000
commitd22793be31487dc096cffb4696d393affe44e513 (patch)
treecea87796a2b93da40e665db96aa3f4672d29abf4 /gtk/PlatGTK.cxx
parent6fffdce88450575c94b05f2d71708590bf266254 (diff)
downloadscintilla-mirror-d22793be31487dc096cffb4696d393affe44e513.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) {