]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
Miscellaneous change log updates.
[wxWidgets.git] / src / gtk / choice.cpp
index 454348b56920f013cc1e181e810c4cbeb84839df..d1478144ebb6c278f762bb2bbe14e1d3e050e05e 100644 (file)
@@ -483,9 +483,13 @@ void wxChoice::DoApplyWidgetStyle(GtkRcStyle *style)
     }
 }
 
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
 int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item)
 {
-    wxCHECK_MSG((pos>=0) && (pos<=(int)m_clientList.GetCount()), -1, wxT("invalid index"));
+    wxCHECK_MSG((pos>=0) && (pos<=m_clientList.GetCount()), -1, wxT("invalid index"));
 
     GtkWidget *menu_item = gtk_menu_item_new_with_label( wxGTK_CONV( item ) );
 
@@ -551,6 +555,10 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item)
     return index;
 }
 
+#ifdef __VMS
+#pragma message enable unscomzer
+#endif
+
 wxSize wxChoice::DoGetBestSize() const
 {
     wxSize ret( wxControl::DoGetBestSize() );