X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..faec5a4383bb54f846c1eae142353804eb88d956:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index e80276a71e..e2aae813d7 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -227,7 +227,7 @@ bool wxResourceTable::ParseResourceFile(const wxString& filename) { wxExprDatabase db; -#ifdef __WXMAC__ +#if defined(__WXMAC__) && !defined(__UNIX__) FILE *fd = fopen(wxUnix2MacFilename(filename.fn_str()), "r"); #else FILE *fd = wxFopen(filename, _T("r")); @@ -2210,6 +2210,7 @@ static wxResourceBitListStruct wxResourceBitListTable[] = { wxT("wxTRANSPARENT_WINDOW"), wxTRANSPARENT_WINDOW}, { wxT("wxNO_BORDER"), wxNO_BORDER}, { wxT("wxCLIP_CHILDREN"), wxCLIP_CHILDREN}, + { wxT("wxCLIP_SIBLINGS"), wxCLIP_SIBLINGS}, { wxT("wxTAB_TRAVERSAL"), 0}, // Compatibility only { wxT("wxTINY_CAPTION_HORIZ"), wxTINY_CAPTION_HORIZ}, @@ -2482,7 +2483,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table } default: { - return wxBitmap(name, bitmapType); + return wxBitmap(name, (wxBitmapType)bitmapType); } } #ifndef __WXGTK__