]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/animate.h
Support renderer::LeftClick() in generic code, removed unsupported RightClick(),...
[wxWidgets.git] / include / wx / gtk / animate.h
index 1bc82afc180e147420f98fd6e603f561bae53ae8..67a5f6d1b3453fb6aa9066927747e07ff724b5cc 100644 (file)
@@ -27,6 +27,8 @@ typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter;
 class WXDLLIMPEXP_ADV wxAnimation : public wxAnimationBase
 {
 public:
+    wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY)
+        : m_pixbuf(NULL) { LoadFile(name, type); }
     wxAnimation(GdkPixbufAnimation *p = NULL);
     wxAnimation(const wxAnimation&);
     ~wxAnimation() { UnRef(); }