Mercurial > dwindows
changeset 2548:c4d75d30430c
Android: Minor fixes to that last commit... missed dw.h changes and remove test code.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 14 May 2021 11:41:31 +0000 |
parents | dbd15c13f5bb |
children | 736282fddac5 |
files | android/dw.cpp dw.h |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/android/dw.cpp Fri May 14 11:29:00 2021 +0000 +++ b/android/dw.cpp Fri May 14 11:41:31 2021 +0000 @@ -2599,8 +2599,7 @@ // Construct the string jstring jstr = env->NewStringUTF(text); // First get the class that contains the method you need to call - //jclass clazz = _dw_find_class(env, DW_CLASS_NAME); - jclass clazz = env->FindClass(DW_CLASS_NAME); + jclass clazz = _dw_find_class(env, DW_CLASS_NAME); // Get the method that you want to call jmethodID fontTextExtentsGet = env->GetMethodID(clazz, "fontTextExtentsGet", "(Lorg/dbsoft/dwindows/DWRender;Landroid/graphics/Bitmap;Ljava/lang/String;Landroid/graphics/Typeface;ILandroid/view/View;)J");