]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicbkg.cpp
for file load/save, always try wxImage first, fallback to pixbuf
[wxWidgets.git] / src / generic / choicbkg.cpp
index dc93e2b29254981953bd4344f2cbd0afa9dec05a..731ff90cabc313b147741cc7338b33f6bc6e45db 100644 (file)
@@ -176,14 +176,16 @@ wxString wxChoicebook::GetPageText(size_t n) const
 
 int wxChoicebook::GetPageImage(size_t WXUNUSED(n)) const
 {
-    wxFAIL_MSG( _T("wxChoicebook::GetPageImage() not implemented") );
-
     return wxNOT_FOUND;
 }
 
 bool wxChoicebook::SetPageImage(size_t WXUNUSED(n), int WXUNUSED(imageId))
 {
-    wxFAIL_MSG( _T("wxChoicebook::SetPageImage() not implemented") );
+    // fail silently, the code may be written to use one of several book
+    // classes and call SetPageImage() unconditionally, it's better to just
+    // ignore it (which is the best we can do short of rewriting this class to
+    // use wxBitmapComboBox anyhow) than complain loudly about a rather
+    // harmless problem
 
     return false;
 }