fixing assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-04-14 11:41:16 +00:00
parent 0a3c4e03f4
commit af08919ae0

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