Removing most of level 4 warnings, particulary in 16 bits mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// a convenient wrapper around TV_ITEM struct which adds a ctor
|
||||
#pragma warning( disable : 4097 )
|
||||
struct wxTreeViewItem : public TV_ITEM
|
||||
{
|
||||
wxTreeViewItem(const wxTreeItemId& item, // the item handle
|
||||
@@ -78,6 +79,7 @@ struct wxTreeViewItem : public TV_ITEM
|
||||
hItem = (HTREEITEM) (WXHTREEITEM) item;
|
||||
}
|
||||
};
|
||||
#pragma warning( default : 4097 )
|
||||
|
||||
// a class which encapsulates the tree traversal logic: it vists all (unless
|
||||
// OnVisit() returns FALSE) items under the given one
|
||||
|
Reference in New Issue
Block a user