File 0228-Add-missing-specs-for-wx-functions.patch of Package erlang

From 2f9adce7deb1753015520625882f41be7929b9ae Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Thu, 21 Dec 2023 08:48:01 +0100
Subject: [PATCH 2/4] Add missing specs for wx functions

---
 lib/wx/src/wx.erl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/wx/src/wx.erl b/lib/wx/src/wx.erl
index 22fcf1f57b..91e5a9df2a 100644
--- a/lib/wx/src/wx.erl
+++ b/lib/wx/src/wx.erl
@@ -94,6 +94,7 @@
 -type wx_enum() :: integer().      %% Constant defined in wx.hrl
 -type wx_wxHtmlLinkInfo() :: #wxHtmlLinkInfo{}.
 
+-spec parent_class(wx_object()) -> boolean().
 parent_class(_) -> true. %% Let the null pointers be sent down.
 
 %% @doc Starts a wx server.
-- 
2.35.3

openSUSE Build Service is sponsored by