20#ifndef KICAD_WX_STL_COMPAT_H
21#define KICAD_WX_STL_COMPAT_H
29#define USE_KICAD_WXPOINT_LESS_AND_HASH
32 template <>
struct hash<wxPoint>
34 size_t operator() (
const wxPoint& k )
const =
delete;
40 template<>
struct less<wxPoint>
42 bool operator()(
const wxPoint& aA,
const wxPoint& aB )
const;
49wxString
TowxString(
const std::string_view& view );
56std::ostream&
operator<<( std::ostream& out,
const wxSize& size );
63std::ostream&
operator<<( std::ostream& out,
const wxPoint& pt );
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.
wxString TowxString(const std::string_view &view)