summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-26 18:10:25 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-26 18:10:25 +0200
commitd044d38d32e86fae0184890e19de3dbcb2ab477d (patch)
tree1f095945a569542f44017eb87ab8cd81865d3500 /vcl
parent612fc199c3884b48770740acf8b441f3506b47e1 (diff)
Add reply to question in comment;)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/android/androidinst.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 82356033e48b..9791dbfcf255 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -421,6 +421,13 @@ int AndroidSalSystem::ShowNativeDialog( const rtl::OUString& rTitle,
if (AndroidSalInstance::getInstance() != NULL)
{
// Does Android have a native dialog ? if not,. we have to do this ...
+
+ // Of course it has. android.app.AlertDialog seems like a good
+ // choice, it even has one, two or three buttons. Naturally,
+ // it intended to be used from Java, so some verbose JNI
+ // horror would be needed to use it directly here. Probably we
+ // want some easier to use magic wrapper, hmm.
+
ErrorBox aVclErrBox( NULL, WB_OK, rTitle );
aVclErrBox.SetText( rMessage );
aVclErrBox.Execute();