]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/winprop.cpp
ConvertToImage: Check !Ok() (we may not have any ref data at all) and if
[wxWidgets.git] / utils / dialoged / src / winprop.cpp
index 5e853be147df632ea9e17f9e5f055c9980a6a5ff..ae117834009088122391d321cd56167d5e244de7 100644 (file)
@@ -2008,6 +2008,10 @@ bool wxScrollBarPropertyInfo::InstantiateResource(wxItemResource *resource)
 /*
 * Panels
 */
+#ifdef __VMS
+// next functions may contain unreacheable code
+# pragma message disable codcauunr
+#endif
 
 wxProperty *wxPanelPropertyInfo::GetProperty(wxString& name)
 {
@@ -2237,6 +2241,9 @@ bool wxPanelPropertyInfo::SetProperty(wxString& name, wxProperty *property)
     else
         return wxWindowPropertyInfo::SetProperty(name, property);
 }
+#ifdef __VMS
+# pragma message enable codcauunr
+#endif
 
 void wxPanelPropertyInfo::GetPropertyNames(wxStringList& names)
 {