To use "#pragma warning" a #ifdef __VISUALC__ guard should be used, not a #ifdef _MSC_VER one (CW defines _MSC_VER).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
03a90749df
commit
2b5dcd17c1
@ -31,7 +31,7 @@
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(csDiagramDocument, wxDocument)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef __VISUALC__
|
||||
#pragma warning(disable:4355)
|
||||
#endif
|
||||
|
||||
@ -39,7 +39,7 @@ csDiagramDocument::csDiagramDocument():m_diagram(this)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef __VISUALC__
|
||||
#pragma warning(default:4355)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user