aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source
diff options
context:
space:
mode:
authorMax Horn2008-11-15 14:39:23 +0000
committerMax Horn2008-11-15 14:39:23 +0000
commit674a6ecc16e56062bf71447e89d0eca0293c0639 (patch)
tree371d82d4f8289f35fe510125f0efba7719e64bd3 /backends/platform/ds/arm9/source
parent28bd3e0af8e2f545d57648b8fe991767fe2b5abe (diff)
downloadscummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.tar.gz
scummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.tar.bz2
scummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.zip
DS: Replaced call to obsolete addButton method
svn-id: r35084
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r--backends/platform/ds/arm9/source/dsoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/dsoptions.cpp b/backends/platform/ds/arm9/source/dsoptions.cpp
index 2dbc4b842b..5c06d32fa6 100644
--- a/backends/platform/ds/arm9/source/dsoptions.cpp
+++ b/backends/platform/ds/arm9/source/dsoptions.cpp
@@ -44,7 +44,7 @@ namespace DS {
DSOptionsDialog::DSOptionsDialog() : GUI::Dialog(0, 0, 320 - 10, 230 - 40) {
- addButton(this, 10, 170, "Close", GUI::kCloseCmd, 'C');
+ new ButtonWidget(this, 10, 170, 72, 16, "Close", GUI::kCloseCmd, 'C');
_tab = new GUI::TabWidget(this, 5, 5, 300, 230 - 20 - 40 - 10);
_tab->addTab("Controls");