]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
fixed parsing of comments before root node
[wxWidgets.git] / src / msw / control.cpp
index fd82221246087afa56984d9b2a196b6826d40218..689ed8f972b167afd21ecf735550a9a61b9650a7 100644 (file)
@@ -224,9 +224,16 @@ void wxControl::OnEraseBackground(wxEraseEvent& event)
 }
 
 WXHBRUSH wxControl::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 )