X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c0d2cd3d0c59bf0114e0e10355bff86ddb116a0..ea29564c40a8566e99841eca0d82316c22050f79:/src/msw/window.cpp?ds=sidebyside 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('&') )