fixing assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-04-14 11:16:36 +00:00
parent a4c1cdc9dc
commit c97c00543b

View File

@@ -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 );