]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobut.cpp
removed dialup from list of files because of compilation problem with
[wxWidgets.git] / src / msw / radiobut.cpp
index c75402ceafcbcbc06e240b421efc5c2ca1888370..fe08f6318a82a7643175046da3e38f9d0e9b9854 100644 (file)
@@ -82,6 +82,10 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
 //  long msStyle = groupStyle | RADIO_FLAGS;
   long msStyle = groupStyle | BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */;
 
+  if ( m_windowStyle & wxCLIP_SIBLINGS )
+        msStyle |= WS_CLIPSIBLINGS;
+
+
   bool want3D;
   WXDWORD exStyle = Determine3DEffects(0, &want3D) ;
 
@@ -173,9 +177,16 @@ void wxRadioButton::Command (wxCommandEvent & event)
 }
 
 WXHBRUSH wxRadioButton::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor),
+#if wxUSE_CTL3D
+                               WXUINT message,
+                               WXWPARAM wParam,
+                               WXLPARAM lParam
+#else
                                WXUINT WXUNUSED(message),
                                WXWPARAM WXUNUSED(wParam),
-                               WXLPARAM WXUNUSED(lParam))
+                               WXLPARAM WXUNUSED(lParam)
+#endif
+    )
 {
 #if wxUSE_CTL3D
     if ( m_useCtl3D )