X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a11672a469f036436838911c268cb2f8d5da5bf8..4daa4d665a4297b112f5ab279cc2aa2b4653b6f4:/include/wx/x11/bitmap.h 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)