wxOS2 night build warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5429cf2455
commit
45abfa7137
@ -608,7 +608,7 @@ void wxListBox::SetString(int N, const wxString& rsString)
|
||||
|
||||
int nNewN = N;
|
||||
|
||||
if (N == m_nNumItems - 1)
|
||||
if (N == (int)(m_nNumItems - 1))
|
||||
nNewN = -1;
|
||||
|
||||
::WinSendMsg( GetHwnd()
|
||||
|
@ -423,7 +423,7 @@ void wxRadioBox::DoSetSize(
|
||||
//
|
||||
int n = i + 1;
|
||||
|
||||
bIsLastInTheRow = ((n % GetMajorDim()) == 0) || (n == m_nNoItems);
|
||||
bIsLastInTheRow = ((n % GetMajorDim()) == 0) || (n == (int)m_nNoItems);
|
||||
}
|
||||
else // winRA_SPECIFY_ROWS
|
||||
{
|
||||
|
@ -301,8 +301,11 @@ bool wxSystemSettingsNative::HasFeature( wxSystemFeature index )
|
||||
case wxSYS_CAN_ICONIZE_FRAME:
|
||||
return true;
|
||||
|
||||
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
|
||||
return false;
|
||||
// TODO case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
|
||||
// TODO case wxSYS_TABLET_PRESENT:
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user