From c97c00543bbb78ddc34ad0118f46585ebdf735e8 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 14 Apr 2007 11:16:36 +0000 Subject: [PATCH] fixing assert git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/metafile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/metafile.cpp b/src/mac/carbon/metafile.cpp index a99899b188..07a905760f 100644 --- a/src/mac/carbon/metafile.cpp +++ b/src/mac/carbon/metafile.cpp @@ -215,7 +215,7 @@ wxMetaFileDC::wxMetaFileDC( int width, int height, const wxString& WXUNUSED(description) ) { - wxASSERT_MSG( width <= 0 || height <= 0, wxT("no arbitration of metafile size supported") ); + wxASSERT_MSG( width != 0 || height != 0, wxT("no arbitration of metafile size supported") ); wxASSERT_MSG( filename.empty(), wxT("no file based metafile support yet")); m_metaFile = new wxMetaFile( filename ); -- 2.45.2