X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fac9339629ddd9a2e34d0c405e7aa4fdb35bd49f..66e23ad2081689dad6e829b9667cdbc93ac45154:/src/msw/radiobox.cpp?ds=sidebyside diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 2d20f24418..ca437cd5d9 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -329,7 +329,7 @@ void wxRadioBox::SetLabel(int item, const wxString& label) SetWindowText((HWND)m_radioButtons[item], label.c_str()); } -void wxRadioBox::SetLabel(int item, wxBitmap *bitmap) +void wxRadioBox::SetLabel(int WXUNUSED(item), wxBitmap *WXUNUSED(bitmap)) { /* m_radioWidth[item] = bitmap->GetWidth() + FB_MARGIN; @@ -836,10 +836,10 @@ long wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return wxControl::MSWWindowProc(nMsg, wParam, lParam); } -WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, - WXWPARAM wParam, - WXLPARAM lParam) +WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor), + WXUINT WXUNUSED(message), + WXWPARAM WXUNUSED(wParam), + WXLPARAM WXUNUSED(lParam)) { #if wxUSE_CTL3D if ( m_useCtl3D ) @@ -1025,6 +1025,8 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, } } } + break; + #ifdef __WIN32__ case WM_HELP: {