mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:53:37 +00:00
winecfg: Make the open file dialogs resizable.
This commit is contained in:
parent
cdc82702ba
commit
64dbec13ef
|
@ -319,7 +319,8 @@ static void on_add_app_click(HWND dialog)
|
|||
OPENFILENAMEW ofn = { sizeof(OPENFILENAMEW),
|
||||
0, /*hInst*/0, 0, NULL, 0, 0, NULL,
|
||||
0, NULL, 0, pathC, 0,
|
||||
OFN_SHOWHELP | OFN_HIDEREADONLY, 0, 0, NULL, 0, NULL };
|
||||
OFN_SHOWHELP | OFN_HIDEREADONLY | OFN_ENABLESIZING,
|
||||
0, 0, NULL, 0, NULL };
|
||||
|
||||
LoadStringW (GetModuleHandle (NULL), IDS_SELECT_EXECUTABLE, selectExecutableStr,
|
||||
sizeof(selectExecutableStr)/sizeof(selectExecutableStr[0]));
|
||||
|
|
|
@ -642,7 +642,7 @@ static void on_theme_install(HWND dialog)
|
|||
ofn.nMaxFileTitle = sizeof(filetitle)/sizeof(filetitle[0]);
|
||||
ofn.lpstrInitialDir = NULL;
|
||||
ofn.lpstrTitle = title;
|
||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY;
|
||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_ENABLESIZING;
|
||||
ofn.nFileOffset = 0;
|
||||
ofn.nFileExtension = 0;
|
||||
ofn.lpstrDefExt = NULL;
|
||||
|
|
Loading…
Reference in a new issue