20#ifndef KICAD_WX_STL_COMPAT_H
21#define KICAD_WX_STL_COMPAT_H
28#if !wxCHECK_VERSION( 3, 1, 0 )
29#define USE_KICAD_WXSTRING_HASH
33 template<>
struct hash<wxString>
41#define USE_KICAD_WXPOINT_LESS_AND_HASH
44 template <>
struct hash<wxPoint>
46 size_t operator() (
const wxPoint& k )
const =
delete;
52 template<>
struct less<wxPoint>
54 bool operator()(
const wxPoint& aA,
const wxPoint& aB )
const;
63std::ostream&
operator<<( std::ostream& out,
const wxSize& size );
70std::ostream&
operator<<( std::ostream& out,
const wxPoint& pt );
size_t operator()(const wxString &s) const
bool operator()(const wxPoint &aA, const wxPoint &aB) const
std::ostream & operator<<(std::ostream &out, const wxSize &size)
Helper function to print the given wxSize to a stream.