diff options
author | Max Horn | 2008-11-15 14:39:23 +0000 |
---|---|---|
committer | Max Horn | 2008-11-15 14:39:23 +0000 |
commit | 674a6ecc16e56062bf71447e89d0eca0293c0639 (patch) | |
tree | 371d82d4f8289f35fe510125f0efba7719e64bd3 | |
parent | 28bd3e0af8e2f545d57648b8fe991767fe2b5abe (diff) | |
download | scummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.tar.gz scummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.tar.bz2 scummvm-rg350-674a6ecc16e56062bf71447e89d0eca0293c0639.zip |
DS: Replaced call to obsolete addButton method
svn-id: r35084
-rw-r--r-- | backends/platform/ds/arm9/source/dsoptions.cpp | 2 |
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"); |