From 45abfa7137a340f98a0528cde6c49954d4f3013c Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 15 Mar 2006 15:33:34 +0000 Subject: [PATCH] wxOS2 night build warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/listbox.cpp | 2 +- src/os2/radiobox.cpp | 2 +- src/os2/settings.cpp | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index bdc00bfefe..4a057dea63 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -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() diff --git a/src/os2/radiobox.cpp b/src/os2/radiobox.cpp index 7730459f64..d2ef991a12 100644 --- a/src/os2/radiobox.cpp +++ b/src/os2/radiobox.cpp @@ -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 { diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 5e94ed37e1..c75d66794f 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -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; -- 2.50.0