diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 08:50:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 10:57:21 +0100 |
commit | a107bdfdfc1baf73f14055262d64bf616fc0a889 (patch) | |
tree | 2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /vcl/ios | |
parent | 3b6091ca42cd2d9f230e7d81648c34f3d7085107 (diff) |
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'vcl/ios')
-rw-r--r-- | vcl/ios/iosinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index af0df03b361b..61cc1b1a1969 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -22,7 +22,7 @@ #include <postmac.h> #include <basebmp/scanlineformats.hxx> -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> #include <touch/touch.h> #include <touch/touch-impl.h> @@ -30,6 +30,7 @@ #include "headless/svpdummies.hxx" #include "generic/gendata.hxx" #include "quartz/utils.h" +#include <vcl/layout.hxx> #include <vcl/settings.hxx> // Horrible hack @@ -236,9 +237,8 @@ int IosSalSystem::ShowNativeDialog( const OUString& rTitle, if (IosSalInstance::getInstance() != NULL) { // Temporary... - - ErrorBox aVclErrBox( NULL, WB_OK, rTitle ); - aVclErrBox.SetText( rMessage ); + MessageDialog aVclErrBox(NULL, rMessage); + aVclErrBox.SetTitle(rTitle); aVclErrBox.Execute(); } |