X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf7ab431b85d817af39d1a19b6d392ff5bd9379..61d457caae3e33efe8e0953f79c4a94e366b22d7:/include/wx/motif/icon.h diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index 1f2fab60b9..eea99e4055 100644 --- a/include/wx/motif/icon.h +++ b/include/wx/motif/icon.h @@ -42,7 +42,7 @@ public: wxIcon(const wxIconLocation& loc) { - LoadFile(loc.GetFileName()); + LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY); } ~wxIcon();