4275 compiler warning resolved

This commit is contained in:
Simon Rozman 2016-10-07 13:39:59 +02:00
parent 2453c88389
commit 2fff163aea
2 changed files with 21 additions and 0 deletions

View File

@ -276,6 +276,12 @@ protected:
};
#ifdef __VISUALC__
// non dll-interface class 'xxx' used as base for dll-interface class 'yyy'
#pragma warning (push)
#pragma warning (disable:4275)
#endif
///
/// Dockable application bar frame
///
@ -333,6 +339,10 @@ public:
const wxString& name = wxDialogNameStr);
};
#ifdef __VISUALC__
#pragma warning(pop)
#endif
///
/// Returns if the application bar state represents docked state.

View File

@ -34,6 +34,13 @@ enum wxHexValidatorStyle
};
#ifdef __VISUALC__
// non dll-interface class 'xxx' used as base for dll-interface class 'yyy'
#pragma warning (push)
#pragma warning (disable:4275)
#endif
///
/// Base class for hexadecimal validator
///
@ -61,6 +68,10 @@ private:
unsigned int m_width; ///< Preferred width of the string - zero padding (<=1 disables padding)
};
#ifdef __VISUALC__
#pragma warning(pop)
#endif
///
/// Validator for hexadecimal entries