fixing assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user