mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
RegisterClass -> RegisterClassW
This commit is contained in:
@@ -167,7 +167,7 @@ LCUI_AppDriver LCUI_CreateWinAppDriver( void )
|
||||
wndclass.hCursor = LoadCursor( NULL, IDC_ARROW );
|
||||
wndclass.hIcon = LoadIcon( win.dll_instance,
|
||||
MAKEINTRESOURCE( IDI_LCUI_ICON ) );
|
||||
if( !RegisterClass( &wndclass ) ) {
|
||||
if( !RegisterClassW( &wndclass ) ) {
|
||||
wchar_t str[256];
|
||||
swprintf( str, 255, __FUNCTIONW__
|
||||
L": error code: %d\n", GetLastError() );
|
||||
|
||||
Reference in New Issue
Block a user