aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-10-03 13:09:51 +0000
committernyamatongwe <devnull@localhost>2000-10-03 13:09:51 +0000
commitbdf580f771b496bd512983f345cf4a8db55e42e0 (patch)
treeaa22e888bb84d884bfb79a8e0aa56d5bacabc3f7 /win32/PlatWin.cxx
parentd22793be31487dc096cffb4696d393affe44e513 (diff)
downloadscintilla-mirror-bdf580f771b496bd512983f345cf4a8db55e42e0.tar.gz
Mouse down captures now optional.
Save and restore of assertion destination in paint.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 654cf3a27..d2f76c916 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -880,8 +880,10 @@ void Platform::DebugPrintf(const char *, ...) {
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) {