aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxPanel.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-08-29 10:27:50 +0200
committerDan Gudmundsson <[email protected]>2013-08-29 10:27:50 +0200
commit3bda52be882c0e3888cc571067cd7350b4ac2cfd (patch)
tree01b4d32dede084b166626fb7bc12623514940e95 /lib/wx/src/gen/wxPanel.erl
parent62fd1f53269d988ce4b978dbe49857e4d20509cf (diff)
parentf910a7e636df45678c3f075172d4da5540e1b664 (diff)
downloadotp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.tar.gz
otp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.tar.bz2
otp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.zip
Merge branch 'dgud/wx/update-doxygen/OTP-11279' into maint
* dgud/wx/update-doxygen/OTP-11279: wx: Add toolbar testcase wx: Add character event test/example wx: Add wxPanel:setFocusIgnoringChildren/1 wx: Add wxClipboardTextEvent wx: Fix bug in wxStatusBar:getFieldRect/2 wx: Fix api generator
Diffstat (limited to 'lib/wx/src/gen/wxPanel.erl')
-rw-r--r--lib/wx/src/gen/wxPanel.erl12
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}) ->