diff --git a/src/msw/accel.cpp b/src/msw/accel.cpp index e433443dd3..3f2cb37684 100644 --- a/src/msw/accel.cpp +++ b/src/msw/accel.cpp @@ -162,7 +162,6 @@ WXHACCEL wxAcceleratorTable::GetHACCEL() const bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const { MSG *msg = (MSG *)wxmsg; - return Ok() && ::TranslateAccelerator(GetHwndOf(window), GetHaccel(), msg); } diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 8f73bf6e8c..c6aeabb79e 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -304,9 +304,11 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id, DWORD msflags = 0; if ( style & wxBORDER ) msflags |= WS_BORDER; +/* Not appropriate for non-frame/dialog windows, and + may clash with other window styles. if ( style & wxTHICK_FRAME ) msflags |= WS_THICKFRAME; - +*/ //msflags |= WS_CHILD /* | WS_CLIPSIBLINGS */ | WS_VISIBLE; msflags |= WS_CHILD | WS_VISIBLE; if ( style & wxCLIP_CHILDREN )