1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 14:32:58 +02:00

Allow the user to make the FileDialog smaller after enlarging it.

See http://bugzilla.audacityteam.org/show_bug.cgi?id=1110#c6 for
a bit more info.
This commit is contained in:
Leland Lucius
2015-08-24 23:46:04 -05:00
parent 6944ae9dff
commit 75ee0becd1
2 changed files with 36 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ private:
// Message handlers for the parent dialog
virtual void MSWOnSize(HWND hwnd, LPOPENFILENAME pOfn);
virtual void MSWOnGetMinMaxInfo(HWND hwnd, LPOPENFILENAME pOfn, LPMINMAXINFO pMmi);
// Child dialog hook
static UINT_PTR APIENTRY DialogHook(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
@@ -93,6 +94,7 @@ private:
HWND mParentDlg;
HWND mChildDlg;
WNDPROC mParentProc;
POINT mMinSize;
wxPanel *mRoot;