Fixed OpenWatcom (strange) scope related crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
88060820ac
commit
b4446c2447
@ -314,6 +314,7 @@ wxDatePickerCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
switch ( hdr->code )
|
||||
{
|
||||
case DTN_DATETIMECHANGE:
|
||||
{
|
||||
NMDATETIMECHANGE *dtch = (NMDATETIMECHANGE *)hdr;
|
||||
wxDateTime dt;
|
||||
if ( dtch->dwFlags == GDT_VALID )
|
||||
@ -325,6 +326,7 @@ wxDatePickerCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
*result = 0;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return wxDatePickerCtrlBase::MSWOnNotify(idCtrl, lParam, result);
|
||||
|
Loading…
Reference in New Issue
Block a user