mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
Change Windows Simulator from X86 to X64 (#3866)
* change simulator version from x86 to x64 * Fix some bugs for x64 version simulator
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ gulp.task('gen-simulator', async function () {
|
||||
var args = [];
|
||||
args.push('-G');
|
||||
if (isWin32) {
|
||||
args.push('Visual Studio 15 2017','-A','Win32');
|
||||
args.push('Visual Studio 15 2017','-A','x64');
|
||||
}
|
||||
else {
|
||||
args.push('Xcode');
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
|
||||
#pragma comment(lib, "comctl32.lib")
|
||||
#pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||
|
||||
#include "cocos/base/UTF8.h"
|
||||
#include "stdafx.h"
|
||||
|
||||
@@ -37,7 +37,7 @@ PlayerEditBoxServiceWin::PlayerEditBoxServiceWin(HWND hwnd)
|
||||
: _hfont(NULL)
|
||||
{
|
||||
_hwnd = hwnd;
|
||||
HINSTANCE instance = (HINSTANCE)GetWindowLong(_hwnd, GWL_HINSTANCE);
|
||||
HINSTANCE instance = (HINSTANCE)GetWindowLong(_hwnd, GWLP_HINSTANCE);
|
||||
DWORD style = WS_CHILD | ES_LEFT | ES_AUTOHSCROLL;
|
||||
_hwndSingle = CreateWindowEx(WS_EX_CLIENTEDGE, (LPCSTR)L"Edit", (LPCSTR)L"", style, 0, 0, 0, 0, _hwnd, NULL, instance, NULL);
|
||||
style = WS_CHILD | ES_MULTILINE | ES_LEFT | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL;
|
||||
|
||||
Reference in New Issue
Block a user