Nikolay Sivov nsivov@codeweavers.com writes:
@@ -1098,22 +1098,81 @@ INT WINAPI GetClassNameW( HWND hwnd, LPWSTR buffer, INT count ) return ret; }
+static const struct builtin_class_descr *builtin_classes[] = +{
- &BUTTON_builtin_class,
- &COMBO_builtin_class,
- &DIALOG_builtin_class,
- &EDIT_builtin_class,
- &LISTBOX_builtin_class,
- &MDICLIENT_builtin_class,
- &SCROLL_builtin_class,
- &STATIC_builtin_class
+};
There's no need to add this either, you can simply store the pointer.