Fixed wxFileDialog::MSWOnInitDone and wxFileDialog::MSWOnSelChange never being called.
A condition was checking for the wrong CDN_XXX message range resulting in CDN_INITDONE and CDN_SELCHANGE no longer being processed. Broken since r75937 (branches/WX_3_0_BRANCH/) and r75941 (trunk/). See #16003. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -173,7 +173,7 @@ wxFileDialogHookFunction(HWND hDlg,
|
|||||||
case WM_NOTIFY:
|
case WM_NOTIFY:
|
||||||
{
|
{
|
||||||
NMHDR* const pNM = reinterpret_cast<NMHDR*>(lParam);
|
NMHDR* const pNM = reinterpret_cast<NMHDR*>(lParam);
|
||||||
if ( pNM->code >= CDN_FIRST && pNM->code < CDN_LAST )
|
if ( pNM->code > CDN_LAST && pNM->code <= CDN_FIRST )
|
||||||
{
|
{
|
||||||
OFNOTIFY* const
|
OFNOTIFY* const
|
||||||
pNotifyCode = reinterpret_cast<OFNOTIFY *>(lParam);
|
pNotifyCode = reinterpret_cast<OFNOTIFY *>(lParam);
|
||||||
|
Reference in New Issue
Block a user