From: Stefan Csomor Date: Fri, 21 Sep 2001 05:43:21 +0000 (+0000) Subject: added wxSTD macro X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb71219dd04260a4e8b9f850c4e3ef1c1f3c82c7 added wxSTD macro git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/pnghand.cpp b/src/mac/carbon/pnghand.cpp index 358515d283..193676f195 100644 --- a/src/mac/carbon/pnghand.cpp +++ b/src/mac/carbon/pnghand.cpp @@ -823,7 +823,7 @@ bool wxPNGReader::SaveXPM(char *filename, char *name) if ( !GetPalette() ) return FALSE; - ofstream str(filename); + wxSTD ofstream str(filename); if ( str.bad() ) return FALSE; diff --git a/src/mac/pnghand.cpp b/src/mac/pnghand.cpp index 358515d283..193676f195 100644 --- a/src/mac/pnghand.cpp +++ b/src/mac/pnghand.cpp @@ -823,7 +823,7 @@ bool wxPNGReader::SaveXPM(char *filename, char *name) if ( !GetPalette() ) return FALSE; - ofstream str(filename); + wxSTD ofstream str(filename); if ( str.bad() ) return FALSE;