mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-19 21:34:05 +00:00
call InitCommonControls if no display has been created prior to Alert
This commit is contained in:
parent
2e07a03a4e
commit
63ed7b268e
2 changed files with 9 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "org_lwjgl_WindowsSysImplementation.h"
|
||||
#include "common_tools.h"
|
||||
#include <malloc.h>
|
||||
#include <commctrl.h>
|
||||
|
||||
JNIEXPORT jlong JNICALL Java_org_lwjgl_WindowsSysImplementation_nGetTime(JNIEnv * env, jclass unused) {
|
||||
DWORD time;
|
||||
|
|
@ -67,6 +68,10 @@ JNIEXPORT void JNICALL Java_org_lwjgl_WindowsSysImplementation_nAlert(JNIEnv * e
|
|||
free(cTitleBarText);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_org_lwjgl_WindowsSysImplementation_initCommonControls(JNIEnv * env, jclass unused) {
|
||||
InitCommonControls();
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL Java_org_lwjgl_WindowsSysImplementation_nGetClipboard
|
||||
(JNIEnv * env, jclass unused)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue