mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
removed warnings
svn path=/trunk/; revision=5495
This commit is contained in:
parent
6d16724ea7
commit
2306a321ef
3 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -73,7 +73,7 @@ void explorer_show_frame(HWND hwndParent, int cmdshow)
|
|||
|
||||
// create main window
|
||||
g_Globals._hMainWnd = Window::Create(WINDOW_CREATOR(MainFrame), 0,
|
||||
(LPCTSTR)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW,
|
||||
(LPCTSTR)(int)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
hwndParent, hMenuFrame);
|
||||
|
||||
|
|
|
@ -320,7 +320,7 @@ int MainFrame::Command(int id, int code)
|
|||
break;
|
||||
|
||||
case ID_EXECUTE: {
|
||||
ExecuteDialog dlg = {{0}};
|
||||
ExecuteDialog dlg = {{0}, 0};
|
||||
|
||||
if (DialogBoxParam(g_Globals._hInstance, MAKEINTRESOURCE(IDD_EXECUTE), _hwnd, ExecuteDialog::WndProg, (LPARAM)&dlg) == IDOK) {
|
||||
HINSTANCE hinst = ShellExecute(_hwnd, NULL/*operation*/, dlg.cmd/*file*/, NULL/*parameters*/, NULL/*dir*/, dlg.cmdshow);
|
||||
|
|
Loading…
Reference in a new issue