X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a11672a469f036436838911c268cb2f8d5da5bf8..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/x11/bitmap.h?ds=inline diff --git a/include/wx/x11/bitmap.h b/include/wx/x11/bitmap.h index 4fa848590a..55043f8cb1 100644 --- a/include/wx/x11/bitmap.h +++ b/include/wx/x11/bitmap.h @@ -122,7 +122,7 @@ public: protected: bool CreateFromXpm(const char **bits); - bool CreateFromImage(const wxImage& image, int depth); + bool CreateFromImage(const wxImage& image, int depth = -1); private: DECLARE_DYNAMIC_CLASS(wxBitmap)