]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gaugemsw.cpp
always pass WM_DESTROY to DefWindowProc() - this fixes memory/resource leak for wxListBox
[wxWidgets.git] / src / msw / gaugemsw.cpp
index 278fbfce57852f0ad779281bc4a1310a908fc7e5..ee41a2ac0ea19a4115d198f38d79906ff05601e3 100644 (file)
@@ -109,6 +109,9 @@ bool wxGaugeMSW::Create(wxWindow *parent, wxWindowID id,
   if (want3D)
     msFlags |= ZYZGS_3D;
 
+  if ( m_windowStyle & wxCLIP_SIBLINGS )
+    msFlags |= WS_CLIPSIBLINGS;
+
   HWND wx_button =
       CreateWindowEx(MakeExtendedStyle(m_windowStyle), wxT("zYzGauge"), NULL, msFlags,
                     0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,