blob: 17fd8a9a8490c506046dd0afef9f16353eab5e0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff --git a/wx/lib/wxcairo/wx_pycairo.py b/wx/lib/wxcairo/wx_pycairo.py
index 7cfe3071..24d1120f 100644
--- a/wx/lib/wxcairo/wx_pycairo.py
+++ b/wx/lib/wxcairo/wx_pycairo.py
@@ -197,7 +197,12 @@ def _findCairoLib():
# For other DLLs we'll just use a dictionary to track them, as there
# probably isn't any need to use them outside of this module.
-_dlls = dict()
+_dlls = {
+ "gdk": ctypes.CDLL("@libgdk@"),
+ "pangocairo": ctypes.CDLL("@libpangocairo@"),
+ "cairoLib": ctypes.CDLL("@libcairo@"),
+ "appsvc": ctypes.CDLL(None),
+}
def _findHelper(names, key, msg):
dll = _dlls.get(key, None)
|