]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/artprov.h
extract event handler body in a separate function instead of using a hack to call...
[wxWidgets.git] / include / wx / artprov.h
index 2ece3c33b2e7f7c67b28b3bf877f7bbeb160d392..b32e34b37521e87da2d58648dd45e4a828a84aec 100644 (file)
@@ -205,7 +205,10 @@ protected:
     // only once per instance's lifetime for each requested wxArtID.
     virtual wxBitmap CreateBitmap(const wxArtID& WXUNUSED(id),
                                   const wxArtClient& WXUNUSED(client),
-                                  const wxSize& WXUNUSED(size)) { return wxNullBitmap; }
+                                  const wxSize& WXUNUSED(size))
+    {
+        return wxNullBitmap;
+    }
 
     virtual wxIconBundle CreateIconBundle(const wxArtID& WXUNUSED(id),
                                           const wxArtClient& WXUNUSED(client))
@@ -215,6 +218,8 @@ protected:
 
 private:
     static void CommonAddingProvider();
+    static wxIconBundle DoGetIconBundle(const wxArtID& id,
+                                        const wxArtClient& client);
 
 private:
     // list of providers: