switch(nmsg) {
case WM_CLOSE:
if (Globals.saveSettings)
- save_registry_settings();
-
+ save_registry_settings();
+
DestroyWindow(hwnd);
/* clear handle variables */
WS_CHILD|WS_CLIPCHILDREN|WS_VSCROLL|WS_HSCROLL|WS_VISIBLE|WS_BORDER,
0, 0, 0, 0,
Globals.hMainWnd, 0, Globals.hInstance, &ccs);
-
+
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_DRIVE_BAR, MF_BYCOMMAND|MF_CHECKED);
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS, MF_BYCOMMAND);
#ifndef __WINE__
/* Shell Namespace as default: */
- child = alloc_child_window(path, get_path_pidl(path,Globals.hMainWnd), Globals.hMainWnd);
+ child = alloc_child_window(path, get_path_pidl((LPWSTR)path,Globals.hMainWnd), Globals.hMainWnd);
#else
child = alloc_child_window(path, NULL, Globals.hMainWnd);
#endif