mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
3a05f09ba2
commit
a007eb0d68
@ -117,7 +117,7 @@ class TextBrowser(QWidget, dataget):
|
||||
# 而且SetCapture后会立即被父窗口把capture夺走,无法后面的释放&移动,所以只能开个线程来弄
|
||||
if not self.selectable:
|
||||
self.trackingthread()
|
||||
return windows.WNDPROCTYPE(orig)(hwnd, msg, wp, lp)
|
||||
return windows.WNDPROCTYPE_1(orig)(hwnd, msg, wp, lp)
|
||||
|
||||
@tryprint
|
||||
def showEvent(self, e):
|
||||
|
@ -861,6 +861,7 @@ IsZoomed.argtypes = (HWND,)
|
||||
IsZoomed.restype = BOOL
|
||||
|
||||
WNDPROCTYPE = WINFUNCTYPE(INT, HWND, INT, WPARAM, LPARAM)
|
||||
WNDPROCTYPE_1 = CFUNCTYPE(INT, HWND, INT, WPARAM, LPARAM)
|
||||
|
||||
GWLP_WNDPROC = -4
|
||||
if sizeof(c_void_p) == 8:
|
||||
|
Loading…
x
Reference in New Issue
Block a user