Goldwave helped find more missing functionality.
This commit is contained in:
1 parent
df7879acb5
commit
67ebc28d15
9 files changed
+134
-8
No files matched your search
@@ -7,6 +7,16 @@
|
||||
// not edits merely because their name contains EDIT somewhere.
|
||||
static inline BOOL wine_access_class_matches(const WCHAR *className, const WCHAR *nativeName) {
|
||||
if (lstrcmpiW(className, nativeName) == 0) return TRUE;
|
||||
// Delphi VCL registers native subclasses under its own class names.
|
||||
// Keep aliases explicit: an arbitrary T-prefixed custom control need not
|
||||
// implement the corresponding Windows control messages.
|
||||
if (lstrcmpiW(nativeName, L"SysListView32") == 0 &&
|
||||
lstrcmpiW(className, L"TListView") == 0) return TRUE;
|
||||
if (lstrcmpiW(nativeName, L"Button") == 0 &&
|
||||
(lstrcmpiW(className, L"TButton") == 0 ||
|
||||
lstrcmpiW(className, L"TBitBtn") == 0)) return TRUE;
|
||||
if (lstrcmpiW(nativeName, L"Static") == 0 &&
|
||||
lstrcmpiW(className, L"TStaticText") == 0) return TRUE;
|
||||
if (lstrlenW(className) > 4 &&
|
||||
CompareStringOrdinal(className, 4, L"ATL:", 4, TRUE) == CSTR_EQUAL &&
|
||||
lstrcmpiW(className + 4, nativeName) == 0) return TRUE;
|
||||
|
||||
Reference in new issue
Block a user