summaryrefslogtreecommitdiff
path: root/lib/wx/src/gen/wxSplashScreen.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@Dan.localdomain>2020-08-26 10:16:52 +0200
committerDan Gudmundsson <dgud@erlang.org>2020-12-21 11:51:41 +0100
commit2d41154f6b2cd7413c97af69a45862b472625d5f (patch)
tree5564d4c151d5ad1280d2a0d97c14bdb9551ade7a /lib/wx/src/gen/wxSplashScreen.erl
parent31c707f5e8345a0dfb9fa677c76177e8308fcf60 (diff)
downloaderlang-2d41154f6b2cd7413c97af69a45862b472625d5f.tar.gz
Rewrite wx, use wxWidgets 3 as base and use nif interface
Complete overhaul of wx. Use nif interface instead of erlang driver interface. Use wxWidgets interface files as base for doxygen and code generation. This upgrades the base to 3.1.4. Change the interface files so we can generate code that is backward as compatible as possible. Compatibility with the old 2.8 API Reduce incompatibility with the old API as much as possible. Changes to the old API include: wxNotebookEvent have been replaced by the wxBookctrlEvent (NOTE) wxWindowDC default creators have been removed wxClientDC default creators have been removed wxPaintDC default creators have been removed wxWindow:setVirtualSizeHints(..) have been deprecated wxWindow:makeModal(..) have been deprecated wxWindow:makeModal(..) have been deprecated wxToolBar add/insertTool without label have been deprecated wxStyledTextCtrl some functions have changed args from boolean to int wxSizerItem:new() Some args have become options Removed depr wxSizerItem:setWindow() use assignWindow Removed depr wxSizerItem:setSpacer() use assignSpacer Removed depr wxSizerItem:setSpacer() use assignSpacer Removed depr wxSizerItem:setSizer() use assignSizer wxMenu append/insert/prepend have changed return value and lost IsCheckable argument wxListCtrl:setItem/4 changed return value wxListCtrl:setItem/4 changed return value wxImage::convertToGreyscale opts incompatible wxGridSizer::wxGridSizer opts incompatible wxGrid API have many changes wxGraphicsRenderer:create*GradientBrush(..) uses GradientStops now wxGraphicsRenderer:createPen(..) have been removed wxGraphicsRenderer:create*GradientBrush(..) uses GradientStops now wxGLCanvas API is incompatible wxFlexGridSizer::wxFlexGridSizer opts incompatible wxDisplay::wxDisplay opts incompatible wxCalendarDateAttr:new(ColText [,OptList]) have been removed wxBitmapButton:[g|s]etBitmapSelected have been removed
Diffstat (limited to 'lib/wx/src/gen/wxSplashScreen.erl')
-rw-r--r--lib/wx/src/gen/wxSplashScreen.erl158
1 files changed, 70 insertions, 88 deletions
diff --git a/lib/wx/src/gen/wxSplashScreen.erl b/lib/wx/src/gen/wxSplashScreen.erl
index ab3df68f07..782353e81f 100644
--- a/lib/wx/src/gen/wxSplashScreen.erl
+++ b/lib/wx/src/gen/wxSplashScreen.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2019. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2020. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@
-module(wxSplashScreen).
-include("wxe.hrl").
--export([destroy/1,getSplashStyle/1,getTimeout/1,new/0,new/5,new/6]).
+-export([destroy/1,getSplashStyle/1,getTimeout/1,new/5,new/6]).
%% inherited exports
-export([cacheBestSize/2,canSetTransparent/1,captureMouse/1,center/1,center/2,
@@ -42,7 +42,7 @@
createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
dragAcceptFiles/2,enable/1,enable/2,findWindow/2,fit/1,fitInside/1,
- freeze/1,fromDIP/2,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
+ freeze/1,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,
getClientAreaOrigin/1,getClientSize/1,getContainingSizer/1,getContentScaleFactor/1,
getCursor/1,getDPI/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,
@@ -57,30 +57,30 @@
inheritAttributes/1,initDialog/1,invalidateBestSize/1,isActive/1,
isDoubleBuffered/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,
isFullScreen/1,isIconized/1,isMaximized/1,isRetained/1,isShown/1,isShownOnScreen/1,
- isTopLevel/1,layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,
- maximize/1,maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ isTopLevel/1,layout/1,lineDown/1,lineUp/1,lower/1,maximize/1,maximize/2,
+ move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,
raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
removeChild/2,reparent/2,requestUserAttention/1,requestUserAttention/2,
screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,
- scrollWindow/4,sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,
- setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
- setClientSize/3,setContainingSizer/2,setCursor/2,setDoubleBuffered/2,
- setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
- setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,
- setMaxSize/2,setMenuBar/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
- setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setScrollPos/3,
- setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,
- setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
- setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setStatusBar/2,
- setStatusBarPane/2,setStatusText/2,setStatusText/3,setStatusWidths/2,
- setThemeEnabled/2,setTitle/2,setToolBar/2,setToolTip/2,setTransparent/2,
- setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,
- setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,
- shouldInheritColours/1,show/1,show/2,showFullScreen/2,showFullScreen/3,
- thaw/1,toDIP/2,transferDataFromWindow/1,transferDataToWindow/1,update/1,
- updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+ scrollWindow/4,sendSizeEvent/1,sendSizeEvent/2,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDoubleBuffered/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMenuBar/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setStatusBar/2,setStatusBarPane/2,setStatusText/2,setStatusText/3,
+ setStatusWidths/2,setThemeEnabled/2,setTitle/2,setToolBar/2,setToolTip/2,
+ setTransparent/2,setVirtualSize/2,setVirtualSize/3,setWindowStyle/2,
+ setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,show/1,
+ show/2,showFullScreen/2,showFullScreen/3,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
-export_type([wxSplashScreen/0]).
%% @hidden
@@ -91,12 +91,6 @@ parent_class(wxEvtHandler) -> true;
parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
-type wxSplashScreen() :: wx:wx_object().
-%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxsplashscreen.html#wxsplashscreenwxsplashscreen">external documentation</a>.
--spec new() -> wxSplashScreen().
-new() ->
- wxe_util:construct(?wxSplashScreen_new_0,
- <<>>).
-
%% @equiv new(Bitmap,SplashStyle,Milliseconds,Parent,Id, [])
-spec new(Bitmap, SplashStyle, Milliseconds, Parent, Id) -> wxSplashScreen() when
Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer().
@@ -111,43 +105,43 @@ new(Bitmap,SplashStyle,Milliseconds,Parent,Id)
Option :: {'pos', {X::integer(), Y::integer()}}
| {'size', {W::integer(), H::integer()}}
| {'style', integer()}.
-new(#wx_ref{type=BitmapT,ref=BitmapRef},SplashStyle,Milliseconds,#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+new(#wx_ref{type=BitmapT}=Bitmap,SplashStyle,Milliseconds,#wx_ref{type=ParentT}=Parent,Id, Options)
when is_integer(SplashStyle),is_integer(Milliseconds),is_integer(Id),is_list(Options) ->
?CLASS(BitmapT,wxBitmap),
?CLASS(ParentT,wxWindow),
- MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
- ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
- ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
- (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
- BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
- wxe_util:construct(?wxSplashScreen_new_6,
- <<BitmapRef:32/?UI,SplashStyle:32/?UI,Milliseconds:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+ MOpts = fun({pos, {_posX,_posY}} = Arg) -> Arg;
+ ({size, {_sizeW,_sizeH}} = Arg) -> Arg;
+ ({style, _style} = Arg) -> Arg;
+ (BadOpt) -> erlang:error({badoption, BadOpt}) end,
+ Opts = lists:map(MOpts, Options),
+ wxe_util:queue_cmd(Bitmap,SplashStyle,Milliseconds,Parent,Id, Opts,?get_env(),?wxSplashScreen_new),
+ wxe_util:rec(?wxSplashScreen_new).
%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxsplashscreen.html#wxsplashscreengetsplashstyle">external documentation</a>.
-spec getSplashStyle(This) -> integer() when
This::wxSplashScreen().
-getSplashStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+getSplashStyle(#wx_ref{type=ThisT}=This) ->
?CLASS(ThisT,wxSplashScreen),
- wxe_util:call(?wxSplashScreen_GetSplashStyle,
- <<ThisRef:32/?UI>>).
+ wxe_util:queue_cmd(This,?get_env(),?wxSplashScreen_GetSplashStyle),
+ wxe_util:rec(?wxSplashScreen_GetSplashStyle).
%% @doc See <a href="http://www.wxwidgets.org/manuals/2.8.12/wx_wxsplashscreen.html#wxsplashscreengettimeout">external documentation</a>.
-spec getTimeout(This) -> integer() when
This::wxSplashScreen().
-getTimeout(#wx_ref{type=ThisT,ref=ThisRef}) ->
+getTimeout(#wx_ref{type=ThisT}=This) ->
?CLASS(ThisT,wxSplashScreen),
- wxe_util:call(?wxSplashScreen_GetTimeout,
- <<ThisRef:32/?UI>>).
+ wxe_util:queue_cmd(This,?get_env(),?wxSplashScreen_GetTimeout),
+ wxe_util:rec(?wxSplashScreen_GetTimeout).
%% @doc Destroys this object, do not use object again
-spec destroy(This::wxSplashScreen()) -> 'ok'.
destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxSplashScreen),
- wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ wxe_util:queue_cmd(Obj, ?get_env(), ?DESTROY_OBJECT),
ok.
%% From wxFrame
%% @hidden
-setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+setToolBar(This,ToolBar) -> wxFrame:setToolBar(This,ToolBar).
%% @hidden
setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
%% @hidden
@@ -157,13 +151,15 @@ setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
%% @hidden
setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
%% @hidden
-setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+setStatusBar(This,StatusBar) -> wxFrame:setStatusBar(This,StatusBar).
+%% @hidden
+setMenuBar(This,MenuBar) -> wxFrame:setMenuBar(This,MenuBar).
%% @hidden
-setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+sendSizeEvent(This, Options) -> wxFrame:sendSizeEvent(This, Options).
%% @hidden
sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
%% @hidden
-processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+processCommand(This,Id) -> wxFrame:processCommand(This,Id).
%% @hidden
getToolBar(This) -> wxFrame:getToolBar(This).
%% @hidden
@@ -192,14 +188,14 @@ setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
%% @hidden
setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
%% @hidden
-centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
-%% @hidden
-centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
-%% @hidden
centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
%% @hidden
setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
@@ -231,10 +227,6 @@ getIcons(This) -> wxTopLevelWindow:getIcons(This).
getIcon(This) -> wxTopLevelWindow:getIcon(This).
%% From wxWindow
%% @hidden
-toDIP(This,Sz) -> wxWindow:toDIP(This,Sz).
-%% @hidden
-fromDIP(This,Sz) -> wxWindow:fromDIP(This,Sz).
-%% @hidden
getDPI(This) -> wxWindow:getDPI(This).
%% @hidden
getContentScaleFactor(This) -> wxWindow:getContentScaleFactor(This).
@@ -275,19 +267,13 @@ setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
%% @hidden
setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
%% @hidden
-setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
-%% @hidden
-setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
-%% @hidden
-setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
-%% @hidden
-setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+setVirtualSize(This,Width,Height) -> wxWindow:setVirtualSize(This,Width,Height).
%% @hidden
setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
%% @hidden
-setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+setToolTip(This,TipString) -> wxWindow:setToolTip(This,TipString).
%% @hidden
-setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+setThemeEnabled(This,Enable) -> wxWindow:setThemeEnabled(This,Enable).
%% @hidden
setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
%% @hidden
@@ -311,13 +297,13 @@ setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
%% @hidden
setSize(This,Rect) -> wxWindow:setSize(This,Rect).
%% @hidden
-setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+setScrollPos(This,Orientation,Pos, Options) -> wxWindow:setScrollPos(This,Orientation,Pos, Options).
%% @hidden
-setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+setScrollPos(This,Orientation,Pos) -> wxWindow:setScrollPos(This,Orientation,Pos).
%% @hidden
-setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+setScrollbar(This,Orientation,Position,ThumbSize,Range, Options) -> wxWindow:setScrollbar(This,Orientation,Position,ThumbSize,Range, Options).
%% @hidden
-setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+setScrollbar(This,Orientation,Position,ThumbSize,Range) -> wxWindow:setScrollbar(This,Orientation,Position,ThumbSize,Range).
%% @hidden
setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
%% @hidden
@@ -327,7 +313,7 @@ setLabel(This,Label) -> wxWindow:setLabel(This,Label).
%% @hidden
setId(This,Winid) -> wxWindow:setId(This,Winid).
%% @hidden
-setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+setHelpText(This,HelpText) -> wxWindow:setHelpText(This,HelpText).
%% @hidden
setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
%% @hidden
@@ -339,7 +325,7 @@ setFocus(This) -> wxWindow:setFocus(This).
%% @hidden
setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
%% @hidden
-setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+setDropTarget(This,Target) -> wxWindow:setDropTarget(This,Target).
%% @hidden
setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
%% @hidden
@@ -347,9 +333,9 @@ setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
%% @hidden
setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
%% @hidden
-setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+setMinSize(This,Size) -> wxWindow:setMinSize(This,Size).
%% @hidden
-setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+setMaxSize(This,Size) -> wxWindow:setMaxSize(This,Size).
%% @hidden
setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
%% @hidden
@@ -425,10 +411,6 @@ move(This,X,Y) -> wxWindow:move(This,X,Y).
%% @hidden
move(This,Pt) -> wxWindow:move(This,Pt).
%% @hidden
-makeModal(This, Options) -> wxWindow:makeModal(This, Options).
-%% @hidden
-makeModal(This) -> wxWindow:makeModal(This).
-%% @hidden
lower(This) -> wxWindow:lower(This).
%% @hidden
lineUp(This) -> wxWindow:lineUp(This).
@@ -485,11 +467,11 @@ getSizer(This) -> wxWindow:getSizer(This).
%% @hidden
getSize(This) -> wxWindow:getSize(This).
%% @hidden
-getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+getScrollThumb(This,Orientation) -> wxWindow:getScrollThumb(This,Orientation).
%% @hidden
-getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+getScrollRange(This,Orientation) -> wxWindow:getScrollRange(This,Orientation).
%% @hidden
-getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+getScrollPos(This,Orientation) -> wxWindow:getScrollPos(This,Orientation).
%% @hidden
getScreenRect(This) -> wxWindow:getScreenRect(This).
%% @hidden
@@ -555,7 +537,7 @@ fitInside(This) -> wxWindow:fitInside(This).
%% @hidden
fit(This) -> wxWindow:fit(This).
%% @hidden
-findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+findWindow(This,Id) -> wxWindow:findWindow(This,Id).
%% @hidden
enable(This, Options) -> wxWindow:enable(This, Options).
%% @hidden
@@ -581,22 +563,22 @@ clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
%% @hidden
clearBackground(This) -> wxWindow:clearBackground(This).
%% @hidden
-centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
-%% @hidden
-centreOnParent(This) -> wxWindow:centreOnParent(This).
-%% @hidden
-centre(This, Options) -> wxWindow:centre(This, Options).
-%% @hidden
-centre(This) -> wxWindow:centre(This).
-%% @hidden
centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
centerOnParent(This) -> wxWindow:centerOnParent(This).
%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
center(This, Options) -> wxWindow:center(This, Options).
%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
center(This) -> wxWindow:center(This).
%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
captureMouse(This) -> wxWindow:captureMouse(This).
%% @hidden
cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).