]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
Changed wxRectangle to wxRect. Sorry for the bandwidth...
[wxWidgets.git] / src / msw / checkbox.cpp
index 32b1b32e2c2163395355b1d91b585825701e75ea..7cc14b9f10e2e0ea1f8ffdb34f21cc51e6eee462 100644 (file)
@@ -83,9 +83,10 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
 
   // Even with extended styles, need to combine with WS_BORDER
   // for them to look right.
-  if (want3D && ((m_windowStyle & wxSIMPLE_BORDER) || (m_windowStyle & wxRAISED_BORDER) ||
-       (m_windowStyle & wxSUNKEN_BORDER) || (m_windowStyle & wxDOUBLE_BORDER)))
+/*
+  if ( want3D || wxStyleHasBorder(m_windowStyle) )
     msStyle |= WS_BORDER;
+*/
 
   m_hWnd = (WXHWND)CreateWindowEx(exStyle, "BUTTON", Label,
                                   msStyle,