Small changes incl. making wxTAB_TRAVERSAL always on in wxDialog (wxMSW)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-03-08 11:22:31 +00:00
parent 6e0e2e9ccd
commit 706bb5f973
5 changed files with 48 additions and 4 deletions

View File

@@ -111,6 +111,9 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id,
if (height < 0)
height = 500;
// All dialogs should really have this style
m_windowStyle |= wxTAB_TRAVERSAL;
WXDWORD extendedStyle = MakeExtendedStyle(m_windowStyle);
if (m_windowStyle & wxSTAY_ON_TOP)
extendedStyle |= WS_EX_TOPMOST;