X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c0d2cd3d0c59bf0114e0e10355bff86ddb116a0..a912e81f6409f4ae37ddb1f66d8474decd8da9aa:/src/msw/window.cpp diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 2632c1f730..d145e5f1d9 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1309,7 +1309,7 @@ wxBorder wxWindowMSW::GetDefaultBorderForControl() const wxBorder wxWindowMSW::GetDefaultBorder() const { - return GetDefaultBorderForControl(); + return GetDefaultBorderForControl(); } WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const @@ -1383,9 +1383,9 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const wxFAIL_MSG( _T("unknown border style") ); break; -// case wxBORDER_DOUBLE: -// *exstyle |= WS_EX_DLGMODALFRAME; -// break; + case wxBORDER_DOUBLE: + *exstyle |= WS_EX_DLGMODALFRAME; + break; } // wxUniv doesn't use Windows dialog navigation functions at all @@ -5417,7 +5417,7 @@ int wxWindowMSW::HandleMenuChar(int WXUNUSED_IN_WINCE(chAccel), // menu creation code wxMenuItem *item = (wxMenuItem*)mii.dwItemData; - const wxChar *p = wxStrchr(item->GetText().wx_str(), _T('&')); + const wxChar *p = wxStrchr(item->GetItemLabel().wx_str(), _T('&')); while ( p++ ) { if ( *p == _T('&') )