]> git.saurik.com Git - wxWidgets.git/commitdiff
make wxArtProvider pure virtual (I was not so on
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 16 Apr 2002 23:03:24 +0000 (23:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 16 Apr 2002 23:03:24 +0000 (23:03 +0000)
a purpose in some early stage but I think that it is
relevant no more...)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/artprov.h

index 2b1a62b774cd7e329dc50c51969a0341fbd4c8ef..cd4821d5bc21c39d694e34038a0e7372d1fd54b3 100644 (file)
@@ -117,11 +117,7 @@ protected:
     // lifetime for each requested wxArtID.
     virtual wxBitmap CreateBitmap(const wxArtID& WXUNUSED(id),
                                   const wxArtClient& WXUNUSED(client),
-                                  const wxSize& WXUNUSED(size))
-    {
-        wxFAIL_MSG(_T("pure virtual method wxArtProvider::CreateBitmap called!"));
-        return wxNullBitmap;
-    }
+                                  const wxSize& WXUNUSED(size)) = 0;
 
 private:
     // list of providers: