Warning suppressions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2004-03-01 06:24:20 +00:00
parent 52d9d823a1
commit 9923c37dcc
40 changed files with 118 additions and 344 deletions

View File

@@ -107,8 +107,6 @@ void wxRadioBox::AdjustButtons(
int nStartY;
int nMaxWidth;
int nMaxHeight;
int nTotWidth;
int nTotHeight;
wxGetCharSize( m_hWnd
,&nCx1
@@ -318,12 +316,6 @@ bool wxRadioBox::Create(
return FALSE;
wxAssociateWinWithHandle(m_hWnd, this);
#if RADIOBTN_PARENT_IS_RADIOBOX
HWND hWndParent = GetHwnd();
#else
HWND hWndParent = GetHwndOf(pParent);
#endif
HFONT hFont;
//
// Some radio boxes test consecutive id.
@@ -1041,8 +1033,6 @@ bool wxRadioBox::SetFont(
//
// Also set the font of our radio buttons
//
WXHFONT hFont = wxFont(rFont).GetResourceHandle();
for (int n = 0; n < (int)m_nNoItems; n++)
{
HWND hWndBtn = (HWND)m_ahRadioButtons[n];
@@ -1099,8 +1089,6 @@ bool wxRadioBox::Show(
bool bShow
)
{
int nCmdShow = 0;
if (!wxControl::Show(bShow))
return FALSE;
@@ -1127,8 +1115,6 @@ void wxRadioBox::SubclassRadioButton(
WXHWND hWndBtn
)
{
HWND hwndBtn = (HWND)hWndBtn;
fnWndProcRadioBtn = (WXFARPROC)::WinSubclassWindow(hWndBtn, (PFNWP)wxRadioBtnWndProc);
} // end of wxRadioBox::SubclassRadioButton