]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
Corrected some wxAccessible mistakes
[wxWidgets.git] / src / msw / combobox.cpp
index a2a49d7f786bf7ef5837890eb87de90f8b2ddfd8..5082a9b72847d65aeed1e0dd7b30baa1d4542957 100644 (file)
@@ -156,25 +156,11 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd,
 }
 
 WXHBRUSH wxComboBox::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)
-#endif
     )
 {
-#if wxUSE_CTL3D
-    if ( m_useCtl3D )
-    {
-        HBRUSH hbrush = Ctl3dCtlColorEx(message, wParam, lParam);
-        return (WXHBRUSH) hbrush;
-    }
-#endif // wxUSE_CTL3D
-
     HDC hdc = (HDC)pDC;
     if (GetParent()->GetTransparentBackground())
         SetBkMode(hdc, TRANSPARENT);