X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc4211aa0c9f15cff97e3d69bfe8aa8eb4ae4633..a949e8fac2666418b2a6eb15e94959563cf8aad6:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 4ba466c395..de02d6a71f 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -216,7 +216,7 @@ bool wxResourceTable::DeleteResource(const wxString& name) bool wxResourceTable::ParseResourceFile( wxInputStream *is ) { wxExprDatabase db; - int len = is->StreamSize() ; + int len = is->GetSize() ; bool eof = FALSE; while ( is->TellI() + 10 < len) // it's a hack because the streams dont support EOF