diff options
author | Dan Gudmundsson <[email protected]> | 2013-08-23 15:19:47 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-08-23 15:19:47 +0200 |
commit | e627c554272f3690bffbae0f34692b29c720e89e (patch) | |
tree | a36d841f37d34c6a60ea07ba8c8c2e659a587db8 /lib/wx/src/gen/wxPanel.erl | |
parent | 08a10c0a74c22e9a652ad86b77b224b255adf8a8 (diff) | |
download | otp-e627c554272f3690bffbae0f34692b29c720e89e.tar.gz otp-e627c554272f3690bffbae0f34692b29c720e89e.tar.bz2 otp-e627c554272f3690bffbae0f34692b29c720e89e.zip |
wx: Add wxPanel:setFocusIgnoringChildren/1
It was missing and needed
Diffstat (limited to 'lib/wx/src/gen/wxPanel.erl')
-rw-r--r-- | lib/wx/src/gen/wxPanel.erl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/wx/src/gen/wxPanel.erl b/lib/wx/src/gen/wxPanel.erl index 88c1b119a8..30a0e32ffc 100644 --- a/lib/wx/src/gen/wxPanel.erl +++ b/lib/wx/src/gen/wxPanel.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2012. All Rights Reserved. +%% Copyright Ericsson AB 2008-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -28,7 +28,7 @@ -module(wxPanel). -include("wxe.hrl"). --export([destroy/1,initDialog/1,new/0,new/1,new/2,new/5,new/6]). +-export([destroy/1,initDialog/1,new/0,new/1,new/2,new/5,new/6,setFocusIgnoringChildren/1]). %% inherited exports -export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1, @@ -137,6 +137,14 @@ initDialog(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:cast(?wxPanel_InitDialog, <<ThisRef:32/?UI>>). +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html#wxpanelsetfocusignoringchildren">external documentation</a>. +-spec setFocusIgnoringChildren(This) -> ok when + This::wxPanel(). +setFocusIgnoringChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxPanel), + wxe_util:cast(?wxPanel_SetFocusIgnoringChildren, + <<ThisRef:32/?UI>>). + %% @doc Destroys this object, do not use object again -spec destroy(This::wxPanel()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> |