https://github.com/libsdl-org/Maelstrom/commit/a6f7aa150ee2e266b349215c3cd5f0ec65bc3e01
From a6f7aa150ee2e266b349215c3cd5f0ec65bc3e01 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 7 Nov 2011 20:43:45 -0500
Subject: [PATCH] It turns out that's not the behavior we want, at least for
Maelstrom.
---
screenlib/UIDialog.cpp | 7 -------
screenlib/UIDialog.h | 1 -
2 files changed, 8 deletions(-)
diff --git a/screenlib/UIDialog.cpp b/screenlib/UIDialog.cpp
index 2c2ed851..5b0a04e6 100644
--- a/screenlib/UIDialog.cpp
+++ b/screenlib/UIDialog.cpp
@@ -57,13 +57,6 @@ UIDialog::Hide()
}
}
-bool
-UIDialog::ShouldSaveData()
-{
- // FIXME: Is this the behavior we want?
- return (m_status > 0);
-}
-
bool
UIDialog::HandleEvent(const SDL_Event &event)
{
diff --git a/screenlib/UIDialog.h b/screenlib/UIDialog.h
index c8994f0c..8dd31cac 100644
--- a/screenlib/UIDialog.h
+++ b/screenlib/UIDialog.h
@@ -66,7 +66,6 @@ DECLARE_TYPESAFE_CLASS(UIPanel)
override void Show();
override void Hide();
- override bool ShouldSaveData();
override bool HandleEvent(const SDL_Event &event);
protected: