Dialog processing updates and some timer fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,9 +83,10 @@ MRESULT EXPENTRY wxDlgProc( HWND WXUNUSED(hWnd)
|
||||
case WM_INITDLG:
|
||||
//
|
||||
// For this message, returning TRUE tells system to set focus to
|
||||
// the first control in the dialog box, but as we set the focus
|
||||
// ourselves, we return FALSE from here as well, so fall through
|
||||
// the first control in the dialog box, but we set the focus
|
||||
// ourselves, however in OS/2 we must return true to enable the dialog
|
||||
//
|
||||
return (MRESULT)TRUE;
|
||||
default:
|
||||
//
|
||||
// For all the other ones, FALSE means that we didn't process the
|
||||
@@ -396,7 +397,7 @@ bool wxTopLevelWindowOS2::CreateDialog(
|
||||
,nY
|
||||
,nWidth
|
||||
,nHeight
|
||||
,SWP_MOVE | SWP_SIZE | SWP_ZORDER | SWP_SHOW
|
||||
,SWP_MOVE | SWP_SIZE | SWP_ZORDER | SWP_SHOW | SWP_ACTIVATE
|
||||
);
|
||||
::WinQueryWindowPos(GetHwnd(), GetSwp());
|
||||
m_hFrame = m_hWnd;
|
||||
|
Reference in New Issue
Block a user