From eb1d11607c1b1865049c69fdaa97d7ebc1af7a79 Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 5 Mar 2017 03:04:51 +0200 Subject: [PATCH] Remove check for BFFM_SETSELECTION --- src/msw/dirdlg.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index a2bffb09ba..092d9ef8d4 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -459,7 +459,6 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData) { switch(uMsg) { -#ifdef BFFM_SETSELECTION case BFFM_INITIALIZED: // sent immediately after initialisation and so we may set the // initial selection here @@ -467,8 +466,6 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData) // wParam = TRUE => lParam is a string and not a PIDL ::SendMessage(hwnd, BFFM_SETSELECTION, TRUE, pData); break; -#endif // BFFM_SETSELECTION - case BFFM_SELCHANGED: // note that this doesn't work with the new style UI (MSDN doesn't