biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / wxpython / 4.2-ctypes.patch
blob17fd8a9a8490c506046dd0afef9f16353eab5e0d
1 diff --git a/wx/lib/wxcairo/wx_pycairo.py b/wx/lib/wxcairo/wx_pycairo.py
2 index 7cfe3071..24d1120f 100644
3 --- a/wx/lib/wxcairo/wx_pycairo.py
4 +++ b/wx/lib/wxcairo/wx_pycairo.py
5 @@ -197,7 +197,12 @@ def _findCairoLib():
7 # For other DLLs we'll just use a dictionary to track them, as there
8 # probably isn't any need to use them outside of this module.
9 -_dlls = dict()
10 +_dlls = {
11 + "gdk": ctypes.CDLL("@libgdk@"),
12 + "pangocairo": ctypes.CDLL("@libpangocairo@"),
13 + "cairoLib": ctypes.CDLL("@libcairo@"),
14 + "appsvc": ctypes.CDLL(None),
17 def _findHelper(names, key, msg):
18 dll = _dlls.get(key, None)