<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year>
    <holder>Ericsson AB. All Rights Reserved.</holder></copyright>
  <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

  </legalnotice>
  <title>wxWindow</title>
</header>
<module>wxWindow</module>
<modulesummary>Functions for wxWindow class</modulesummary>
<description><p><seeerl marker="wxWindow"><c>wxWindow</c></seeerl> is the base class for all windows and represents any visible object on screen. All controls, top level windows and so on are windows. Sizers and device contexts are not, however, as they don't appear on screen themselves.
      </p><p>Please note that all children of the window will be deleted automatically by the destructor before the window itself is deleted which means that you don't have to worry about deleting them manually. Please see the window deletion overview for more information.
      </p><p>Also note that in this, and many others, wxWidgets classes some <c>GetXXX()</c> methods may be overloaded (as, for example, <seemfa marker="#getSize/1"><c>getSize/1</c></seemfa> or <seemfa marker="#getClientSize/1"><c>getClientSize/1</c></seemfa>). In this case, the overloads are non-virtual because having multiple virtual functions with the same name results in a virtual function name hiding at the derived class level (in English, this means that the derived class has to override all overloaded variants if it overrides any of them). To allow overriding them in the derived class, wxWidgets uses a unique protected virtual <c>DoGetXXX()</c> method and all <c>GetXXX()</c> ones are forwarded to it, so overriding the former changes the behaviour of the latter.
      </p><p>Styles</p><p>This class supports the following styles:
      </p><p>Extra Styles</p><p>This class supports the following extra styles:
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_events.html#overview_events">Overview events</url>, <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxEvtHandler"><c>wxEvtHandler</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_window.html">wxWindow</url></p>
  </description><section><title>Events</title><p>Event types emitted from this class: <seeerl marker="wxActivateEvent"><c>activate</c></seeerl>, <seeerl marker="wxChildFocusEvent"><c>child_focus</c></seeerl>, <seeerl marker="wxContextMenuEvent"><c>context_menu</c></seeerl>, <seeerl marker="wxHelpEvent"><c>help</c></seeerl>, <seeerl marker="wxDropFilesEvent"><c>drop_files</c></seeerl>, <seeerl marker="wxEraseEvent"><c>erase_background</c></seeerl>, <seeerl marker="wxFocusEvent"><c>set_focus</c></seeerl>, <seeerl marker="wxFocusEvent"><c>kill_focus</c></seeerl>, <seeerl marker="wxIdleEvent"><c>idle</c></seeerl>, <seeerl marker="wxJoystickEvent"><c>joy_button_down</c></seeerl>, <seeerl marker="wxJoystickEvent"><c>joy_button_up</c></seeerl>, <seeerl marker="wxJoystickEvent"><c>joy_move</c></seeerl>, <seeerl marker="wxJoystickEvent"><c>joy_zmove</c></seeerl>, <seeerl marker="wxKeyEvent"><c>key_down</c></seeerl>, <seeerl marker="wxKeyEvent"><c>key_up</c></seeerl>, <seeerl marker="wxKeyEvent"><c>char</c></seeerl>, <seeerl marker="wxKeyEvent"><c>char_hook</c></seeerl>, <seeerl marker="wxMouseCaptureLostEvent"><c>mouse_capture_lost</c></seeerl>, <seeerl marker="wxMouseCaptureChangedEvent"><c>mouse_capture_changed</c></seeerl>, <seeerl marker="wxMouseEvent"><c>left_down</c></seeerl>, <seeerl marker="wxMouseEvent"><c>left_up</c></seeerl>, <seeerl marker="wxMouseEvent"><c>middle_down</c></seeerl>, <seeerl marker="wxMouseEvent"><c>middle_up</c></seeerl>, <seeerl marker="wxMouseEvent"><c>right_down</c></seeerl>, <seeerl marker="wxMouseEvent"><c>right_up</c></seeerl>, <seeerl marker="wxMouseEvent"><c>motion</c></seeerl>, <seeerl marker="wxMouseEvent"><c>enter_window</c></seeerl>, <seeerl marker="wxMouseEvent"><c>leave_window</c></seeerl>, <seeerl marker="wxMouseEvent"><c>left_dclick</c></seeerl>, <seeerl marker="wxMouseEvent"><c>middle_dclick</c></seeerl>, <seeerl marker="wxMouseEvent"><c>right_dclick</c></seeerl>, <seeerl marker="wxMouseEvent"><c>mousewheel</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux1_down</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux1_up</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux1_dclick</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux2_down</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux2_up</c></seeerl>, <seeerl marker="wxMouseEvent"><c>aux2_dclick</c></seeerl>, <seeerl marker="wxPaintEvent"><c>paint</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_top</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_bottom</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_lineup</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_linedown</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_pageup</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_pagedown</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_thumbtrack</c></seeerl>, <seeerl marker="wxScrollWinEvent"><c>scrollwin_thumbrelease</c></seeerl>, <seeerl marker="wxSetCursorEvent"><c>set_cursor</c></seeerl>, <seeerl marker="wxSizeEvent"><c>size</c></seeerl>, <seeerl marker="wxSysColourChangedEvent"><c>sys_colour_changed</c></seeerl></p></section>
<datatypes><datatype><name name="wxWindow"/></datatype></datatypes>

<funcs>
  <func>
    <name name="new" arity="0" clause_i="1" since=""/>
    <fsummary>Default constructor. </fsummary>
    <desc><p>Default constructor. 
      </p></desc>
  </func>
  
  <func>
    <name name="new" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>new/3</c></fsummary>
  </func>
  
  <func>
    <name name="new" arity="3" clause_i="1" since=""/>
    <fsummary>Constructs a window, which can be a child of a frame, dialog or any other non-control window. </fsummary>
    <desc><p>Constructs a window, which can be a child of a frame, dialog or any other non-control window. 
      </p></desc>
  </func>
  
  <func>
    <name name="destroy" arity="1" clause_i="1" since=""/>
    <fsummary>Destructor. </fsummary>
    <desc><p>Destructor. 
      </p><p>Deletes all sub-windows, then deletes itself. Instead of using the <c>delete</c> operator explicitly, you should normally use <seemfa marker="#'Destroy'/1"><c>'Destroy'/1</c></seemfa> so that wxWidgets can delete a window only when it is safe to do so, in idle time.
      </p><p>See: Window Deletion Overview, <seemfa marker="#'Destroy'/1"><c>'Destroy'/1</c></seemfa>, <seeerl marker="wxCloseEvent"><c>wxCloseEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="create" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>create/4</c></fsummary>
  </func>
  
  <func>
    <name name="create" arity="4" clause_i="1" since=""/>
    <fsummary>Construct the actual window object after creating the C++ object. </fsummary>
    <desc><p>Construct the actual window object after creating the C++ object. 
      </p><p>The non-default constructor of <seeerl marker="wxWindow"><c>wxWindow</c></seeerl> class does two things: it initializes the C++ object and it also creates the window object in the underlying graphical toolkit. The <seemfa marker="#create/4"><c>create/4</c></seemfa> method can be used to perform the second part later, while the default constructor can be used to perform the first part only.
      </p><p>Please note that the underlying window must be created exactly once, i.e. if you use the default constructor, which doesn't do this, you <c>must</c> call <seemfa marker="#create/4"><c>create/4</c></seemfa> before using the window and if you use the non-default constructor, you can <c>not</c> call <seemfa marker="#create/4"><c>create/4</c></seemfa>, as the underlying window is already created.
      </p><p>Note that it is possible and, in fact, useful, to call some methods on the object between creating the C++ object itself and calling <seemfa marker="#create/4"><c>create/4</c></seemfa> on it, e.g. a common pattern to avoid showing the contents of a window before it is fully initialized is: 
      </p><p>Also note that it is possible to create an object of a derived type and then call <seemfa marker="#create/4"><c>create/4</c></seemfa> on it:  This is notably used by overview_xrc.
      </p><p>The parameters of this method have exactly the same meaning as the non-default constructor parameters, please refer to them for their description.
      </p><p>Return: true if window creation succeeded or false if it failed 
      </p></desc>
  </func>
  
  <func>
    <name name="cacheBestSize" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the cached best size value. </fsummary>
    <desc><p>Sets the cached best size value. 
      </p><p>See: <seemfa marker="#getBestSize/1"><c>getBestSize/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="captureMouse" arity="1" clause_i="1" since=""/>
    <fsummary>Directs all mouse input to this window. </fsummary>
    <desc><p>Directs all mouse input to this window. 
      </p><p>Call <seemfa marker="#releaseMouse/1"><c>releaseMouse/1</c></seemfa> to release the capture.
      </p><p>Note that wxWidgets maintains the stack of windows having captured the mouse and when the mouse is released the capture returns to the window which had had captured it previously and it is only really released if there were no previous window. In particular, this means that you must release the mouse as many times as you capture it, unless the window receives the <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl> event.
      </p><p>Any application which captures the mouse in the beginning of some operation must handle <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl> and cancel this operation when it receives the event. The event handler must not recapture mouse.
      </p><p>See: <seemfa marker="#releaseMouse/1"><c>releaseMouse/1</c></seemfa>, <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="center" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>center/2</c></fsummary>
  </func>
  
  <func>
    <name name="centre" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>centre/2</c></fsummary>
  </func>
  
  <func>
    <name name="center" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>centre/2</c></fsummary>
    <desc><p>See: <seemfa marker="#centre/2"><c>centre/2</c></seemfa>.</p>
    </desc>
  </func>
  
  <func>
    <name name="centre" arity="2" clause_i="1" since=""/>
    <fsummary>Centres the window. </fsummary>
    <desc><p>Centres the window. 
      </p><p>Remark: If the window is a top level one (i.e. doesn't have a parent), it will be centred relative to the screen anyhow.
      </p><p>See: <seemfa marker="#center/2"><c>center/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="centerOnParent" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>centerOnParent/2</c></fsummary>
  </func>
  
  <func>
    <name name="centreOnParent" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>centreOnParent/2</c></fsummary>
  </func>
  
  <func>
    <name name="centerOnParent" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>centreOnParent/2</c></fsummary>
    <desc><p>See: <seemfa marker="#centreOnParent/2"><c>centreOnParent/2</c></seemfa>.</p>
    </desc>
  </func>
  
  <func>
    <name name="centreOnParent" arity="2" clause_i="1" since=""/>
    <fsummary>Centres the window on its parent. </fsummary>
    <desc><p>Centres the window on its parent. 
      </p><p>This is a more readable synonym for <seemfa marker="#centre/2"><c>centre/2</c></seemfa>.
      </p><p>Remark: This methods provides for a way to centre top level windows over their parents instead of the entire screen. If there is no parent or if the window is not a top level window, then behaviour is the same as <seemfa marker="#centre/2"><c>centre/2</c></seemfa>.
      </p><p>See: <seemfa marker="wxTopLevelWindow#centreOnScreen/2"><c>wxTopLevelWindow:centreOnScreen/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="clearBackground" arity="1" clause_i="1" since=""/>
    <fsummary>Clears the window by filling it with the current background colour. </fsummary>
    <desc><p>Clears the window by filling it with the current background colour. 
      </p><p>Does not cause an erase background event to be generated.
      </p><p>Notice that this uses <seeerl marker="wxClientDC"><c>wxClientDC</c></seeerl> to draw on the window and the results of doing it while also drawing on <seeerl marker="wxPaintDC"><c>wxPaintDC</c></seeerl> for this window are undefined. Hence this method shouldn't be used from EVT_PAINT handlers, just use <seemfa marker="wxDC#clear/1"><c>wxDC:clear/1</c></seemfa> on the <seeerl marker="wxPaintDC"><c>wxPaintDC</c></seeerl> you already use there instead. 
      </p></desc>
  </func>
  
  <func>
    <name name="clientToScreen" arity="2" clause_i="1" since=""/>
    <fsummary>Converts to screen coordinates from coordinates relative to this window. </fsummary>
    <desc><p>Converts to screen coordinates from coordinates relative to this window. 
      </p></desc>
  </func>
  
  <func>
    <name name="clientToScreen" arity="3" clause_i="1" since=""/>
    <fsummary>Converts to screen coordinates from coordinates relative to this window. </fsummary>
    <desc><p>Converts to screen coordinates from coordinates relative to this window. 
      </p></desc>
  </func>
  
  <func>
    <name name="close" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>close/2</c></fsummary>
  </func>
  
  <func>
    <name name="close" arity="2" clause_i="1" since=""/>
    <fsummary>This function simply generates a <c>wxCloseEvent</c> whose handler usually tries to close the window. </fsummary>
    <desc><p>This function simply generates a <seeerl marker="wxCloseEvent"><c>wxCloseEvent</c></seeerl> whose handler usually tries to close the window. 
      </p><p>It doesn't close the window itself, however.
      </p><p>Return: true if the event was handled and not vetoed, false otherwise.
      </p><p>Remark: Close calls the close handler for the window, providing an opportunity for the window to choose whether to destroy the window. Usually it is only used with the top level windows (<seeerl marker="wxFrame"><c>wxFrame</c></seeerl> and <seeerl marker="wxDialog"><c>wxDialog</c></seeerl> classes) as the others are not supposed to have any special OnClose() logic. The close handler should check whether the window is being deleted forcibly, using <seemfa marker="wxCloseEvent#canVeto/1"><c>wxCloseEvent:canVeto/1</c></seemfa>, in which case it should destroy the window using <seemfa marker="#'Destroy'/1"><c>'Destroy'/1</c></seemfa>. Note that calling Close does not guarantee that the window will be destroyed; but it provides a way to simulate a manual close of a window, which may or may not be implemented by destroying the window. The default implementation of wxDialog::OnCloseWindow does not necessarily delete the dialog, since it will simply simulate an wxID_CANCEL event which is handled by the appropriate button event handler and may do anything at all. To guarantee that the window will be destroyed, call <seemfa marker="#'Destroy'/1"><c>'Destroy'/1</c></seemfa> instead
      </p><p>See: Window Deletion Overview, <seemfa marker="#'Destroy'/1"><c>'Destroy'/1</c></seemfa>, <seeerl marker="wxCloseEvent"><c>wxCloseEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="convertDialogToPixels" arity="2" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="convertPixelsToDialog" arity="2" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="'Destroy'" arity="1" clause_i="1" since=""/>
    <fsummary>Destroys the window safely. </fsummary>
    <desc><p>Destroys the window safely. 
      </p><p>Use this function instead of the delete operator, since different window classes can be destroyed differently. Frames and dialogs are not destroyed immediately when this function is called - they are added to a list of windows to be deleted on idle time, when all the window's events have been processed. This prevents problems with events being sent to non-existent windows.
      </p><p>Return: true if the window has either been successfully deleted, or it has been added to the list of windows pending real deletion. 
      </p></desc>
  </func>
  
  <func>
    <name name="destroyChildren" arity="1" clause_i="1" since=""/>
    <fsummary>Destroys all children of a window. </fsummary>
    <desc><p>Destroys all children of a window. 
      </p><p>Called automatically by the destructor. 
      </p></desc>
  </func>
  
  <func>
    <name name="disable" arity="1" clause_i="1" since=""/>
    <fsummary>Disables the window. </fsummary>
    <desc><p>Disables the window. 
      </p><p>Same as <seemfa marker="#enable/2"><c>enable/2</c></seemfa> Enable(false).
      </p><p>Return: Returns true if the window has been disabled, false if it had been already disabled before the call to this function. 
      </p></desc>
  </func>
  
  <func>
    <name name="dragAcceptFiles" arity="2" clause_i="1" since=""/>
    <fsummary>Enables or disables eligibility for drop file events (OnDropFiles). </fsummary>
    <desc><p>Enables or disables eligibility for drop file events (OnDropFiles). 
      </p><p>Remark: Windows only until version 2.8.9, available on all platforms since 2.8.10. Cannot be used together with <seemfa marker="#setDropTarget/2"><c>setDropTarget/2</c></seemfa> on non-Windows platforms.
      </p><p>See: <seemfa marker="#setDropTarget/2"><c>setDropTarget/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="enable" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>enable/2</c></fsummary>
  </func>
  
  <func>
    <name name="enable" arity="2" clause_i="1" since=""/>
    <fsummary>Enable or disable the window for user input. </fsummary>
    <desc><p>Enable or disable the window for user input. 
      </p><p>Note that when a parent window is disabled, all of its children are disabled as well and they are re-enabled again when the parent is.
      </p><p>A window can be created initially disabled by calling this method on it <c>before</c> calling <seemfa marker="#create/4"><c>create/4</c></seemfa> to create the actual underlying window, e.g. 
      </p><p>Return: Returns true if the window has been enabled or disabled, false if nothing was done, i.e. if the window had already been in the specified state.
      </p><p>See: <seemfa marker="#isEnabled/1"><c>isEnabled/1</c></seemfa>, <seemfa marker="#disable/1"><c>disable/1</c></seemfa>, <seemfa marker="wxRadioBox#enable/3"><c>wxRadioBox:enable/3</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="findFocus" arity="0" clause_i="1" since=""/>
    <fsummary>Finds the window or control which currently has the keyboard focus. </fsummary>
    <desc><p>Finds the window or control which currently has the keyboard focus. 
      </p><p>Remark: Note that this is a static function, so it can be called without needing a <seeerl marker="wxWindow"><c>wxWindow</c></seeerl> pointer.
      </p><p>See: <seemfa marker="#setFocus/1"><c>setFocus/1</c></seemfa>, <c>HasFocus()</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="findWindow" arity="2" clause_i="1" since=""/>
  
    <name name="findWindow" arity="2" clause_i="2" since=""/>
    <fsummary>Find a child of this window, by name. </fsummary>
    <desc><p>Find a child of this window, by name. 
      </p><p>May return <c>this</c> if it matches itself.
      </p><p>Notice that only real children, not top level windows using this window as parent, are searched by this function. 
      </p></desc>
  </func>
  
  <func>
    <name name="findWindowById" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>findWindowById/2</c></fsummary>
  </func>
  
  <func>
    <name name="findWindowById" arity="2" clause_i="1" since=""/>
    <fsummary>Find the first window with the given <c>id</c>. </fsummary>
    <desc><p>Find the first window with the given <c>id</c>. 
      </p><p>If <c>parent</c> is NULL, the search will start from all top-level frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy. The search is recursive in both cases.
      </p><p>See: <seemfa marker="#findWindow/2"><c>findWindow/2</c></seemfa>
      </p><p>Return: Window with the given <c>id</c> or NULL if not found. 
      </p></desc>
  </func>
  
  <func>
    <name name="findWindowByName" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>findWindowByName/2</c></fsummary>
  </func>
  
  <func>
    <name name="findWindowByName" arity="2" clause_i="1" since=""/>
    <fsummary>Find a window by its name (as given in a window constructor or <c>create/4</c> function call). </fsummary>
    <desc><p>Find a window by its name (as given in a window constructor or <seemfa marker="#create/4"><c>create/4</c></seemfa> function call). 
      </p><p>If <c>parent</c> is NULL, the search will start from all top-level frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
      </p><p>The search is recursive in both cases and, unlike <seemfa marker="#findWindow/2"><c>findWindow/2</c></seemfa>, recurses into top level child windows too.
      </p><p>If no window with such name is found, <seemfa marker="#findWindowByLabel/2"><c>findWindowByLabel/2</c></seemfa> is called, i.e. the name is interpreted as (internal) name first but if this fails, it's internal as (user-visible) label. As this behaviour may be confusing, it is usually better to use either the <seemfa marker="#findWindow/2"><c>findWindow/2</c></seemfa> overload taking the name or <seemfa marker="#findWindowByLabel/2"><c>findWindowByLabel/2</c></seemfa> directly.
      </p><p>Return: Window with the given <c>name</c> or NULL if not found. 
      </p></desc>
  </func>
  
  <func>
    <name name="findWindowByLabel" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>findWindowByLabel/2</c></fsummary>
  </func>
  
  <func>
    <name name="findWindowByLabel" arity="2" clause_i="1" since=""/>
    <fsummary>Find a window by its label. </fsummary>
    <desc><p>Find a window by its label. 
      </p><p>Depending on the type of window, the label may be a window title or panel item label. If <c>parent</c> is NULL, the search will start from all top-level frames and dialog boxes; if non-NULL, the search will be limited to the given window hierarchy.
      </p><p>The search is recursive in both cases and, unlike with <seemfa marker="#findWindow/2"><c>findWindow/2</c></seemfa>, recurses into top level child windows too.
      </p><p>See: <seemfa marker="#findWindow/2"><c>findWindow/2</c></seemfa>
      </p><p>Return: Window with the given <c>label</c> or NULL if not found. 
      </p></desc>
  </func>
  
  <func>
    <name name="fit" arity="1" clause_i="1" since=""/>
    <fsummary>Sizes the window to fit its best size. </fsummary>
    <desc><p>Sizes the window to fit its best size. 
      </p><p>Using this function is equivalent to setting window size to the return value of <seemfa marker="#getBestSize/1"><c>getBestSize/1</c></seemfa>.
      </p><p>Note that, unlike <seemfa marker="#setSizerAndFit/3"><c>setSizerAndFit/3</c></seemfa>, this function only changes the current window size and doesn't change its minimal size.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="fitInside" arity="1" clause_i="1" since=""/>
    <fsummary>Similar to <c>fit/1</c>, but sizes the interior (virtual) size of a window. </fsummary>
    <desc><p>Similar to <seemfa marker="#fit/1"><c>fit/1</c></seemfa>, but sizes the interior (virtual) size of a window. 
      </p><p>Mainly useful with scrolled windows to reset scrollbars after sizing changes that do not trigger a size event, and/or scrolled windows without an interior sizer. This function similarly won't do anything if there are no subwindows. 
      </p></desc>
  </func>
  
  <func>
    <name name="freeze" arity="1" clause_i="1" since=""/>
    <fsummary>Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. </fsummary>
    <desc><p>Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. 
      </p><p><seemfa marker="#thaw/1"><c>thaw/1</c></seemfa> must be called to re-enable window redrawing. Calls to these two functions may be nested but to ensure that the window is properly repainted again, you must thaw it exactly as many times as you froze it.
      </p><p>If the window has any children, they are recursively frozen too.
      </p><p>This method is useful for visual appearance optimization (for example, it is a good idea to use it before doing many large text insertions in a row into a <seeerl marker="wxTextCtrl"><c>wxTextCtrl</c></seeerl> under wxGTK) but is not implemented on all platforms nor for all controls so it is mostly just a hint to wxWidgets and not a mandatory directive.
      </p><p>See: <c>wxWindowUpdateLocker</c> (not implemented in wx), <seemfa marker="#thaw/1"><c>thaw/1</c></seemfa>, <seemfa marker="#isFrozen/1"><c>isFrozen/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getAcceleratorTable" arity="1" clause_i="1" since=""/>
    <fsummary>Gets the accelerator table for this window. </fsummary>
    <desc><p>Gets the accelerator table for this window. 
      </p><p>See <seeerl marker="wxAcceleratorTable"><c>wxAcceleratorTable</c></seeerl>. 
      </p></desc>
  </func>
  
  <func>
    <name name="getBackgroundColour" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the background colour of the window. </fsummary>
    <desc><p>Returns the background colour of the window. 
      </p><p>See: <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#setForegroundColour/2"><c>setForegroundColour/2</c></seemfa>, <seemfa marker="#getForegroundColour/1"><c>getForegroundColour/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getBackgroundStyle" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the background style of the window. </fsummary>
    <desc><p>Returns the background style of the window. 
      </p><p>See: <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#getForegroundColour/1"><c>getForegroundColour/1</c></seemfa>, <seemfa marker="#setBackgroundStyle/2"><c>setBackgroundStyle/2</c></seemfa>, <seemfa marker="#setTransparent/2"><c>setTransparent/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getBestSize" arity="1" clause_i="1" since=""/>
    <fsummary>This functions returns the best acceptable minimal size for the window. </fsummary>
    <desc><p>This functions returns the best acceptable minimal size for the window. 
      </p><p>For example, for a static control, it will be the minimal size such that the control label is not truncated. For windows containing subwindows (typically <seeerl marker="wxPanel"><c>wxPanel</c></seeerl>), the size returned by this function will be the same as the size the window would have had after calling <seemfa marker="#fit/1"><c>fit/1</c></seemfa>.
      </p><p>Override virtual <c>DoGetBestSize()</c> (not implemented in wx) or, better, because it's usually more convenient, <c>DoGetBestClientSize()</c> (not implemented in wx) when writing your own custom window class to change the value returned by this public non-virtual method.
      </p><p>Notice that the best size respects the minimal and maximal size explicitly set for the window, if any. So even if some window believes that it needs 200 pixels horizontally, calling <seemfa marker="#setMaxSize/2"><c>setMaxSize/2</c></seemfa> with a width of 100 would ensure that <seemfa marker="#getBestSize/1"><c>getBestSize/1</c></seemfa> returns the width of at most 100 pixels.
      </p><p>See: <seemfa marker="#cacheBestSize/2"><c>cacheBestSize/2</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getCaret" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the caret() associated with the window. </fsummary>
    <desc><p>Returns the caret() associated with the window. 
      </p></desc>
  </func>
  
  <func>
    <name name="getCapture" arity="0" clause_i="1" since=""/>
    <fsummary>Returns the currently captured window. </fsummary>
    <desc><p>Returns the currently captured window. 
      </p><p>See: <seemfa marker="#hasCapture/1"><c>hasCapture/1</c></seemfa>, <seemfa marker="#captureMouse/1"><c>captureMouse/1</c></seemfa>, <seemfa marker="#releaseMouse/1"><c>releaseMouse/1</c></seemfa>, <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl>, <seeerl marker="wxMouseCaptureChangedEvent"><c>wxMouseCaptureChangedEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="getCharHeight" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the character height for this window. </fsummary>
    <desc><p>Returns the character height for this window. 
      </p></desc>
  </func>
  
  <func>
    <name name="getCharWidth" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the average character width for this window. </fsummary>
    <desc><p>Returns the average character width for this window. 
      </p></desc>
  </func>
  
  <func>
    <name name="getChildren" arity="1" clause_i="1" since=""/>
    <fsummary>Returns a const reference to the list of the window's children. </fsummary>
    <desc><p>Returns a const reference to the list of the window's children. 
      </p><p><c>wxWindowList</c> is a type-safe wxList-like class whose elements are of type <c>wxWindow*</c>. 
      </p></desc>
  </func>
  
  <func>
    <name name="getClientSize" arity="1" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="getContainingSizer" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the sizer of which this window is a member, if any, otherwise NULL. </fsummary>
    <desc><p>Returns the sizer of which this window is a member, if any, otherwise NULL. 
      </p></desc>
  </func>
  
  <func>
    <name name="getCursor" arity="1" clause_i="1" since=""/>
    <fsummary>Return the cursor associated with this window. </fsummary>
    <desc><p>Return the cursor associated with this window. 
      </p><p>See: <seemfa marker="#setCursor/2"><c>setCursor/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getDropTarget" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the associated drop target, which may be NULL. </fsummary>
    <desc><p>Returns the associated drop target, which may be NULL. 
      </p><p>See: <seemfa marker="#setDropTarget/2"><c>setDropTarget/2</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_dnd.html#overview_dnd">Overview dnd</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getDPIScaleFactor" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the ratio of the DPI used by this window to the standard DPI. </fsummary>
    <desc><p>Returns the ratio of the DPI used by this window to the standard DPI. 
      </p><p>The returned value is 1 for standard DPI screens or 2 for "200% scaling" and, unlike for <seemfa marker="#getContentScaleFactor/1"><c>getContentScaleFactor/1</c></seemfa>, is the same under all platforms.
      </p><p>This factor should be used to increase the size of icons and similar windows whose best size is not based on text metrics when using DPI scaling.
      </p><p>E.g. the program may load a 32px bitmap if the content scale factor is 1.0 or 64px version of the same bitmap if it is 2.0 or bigger.
      </p><p>Notice that this method should <c>not</c> be used for window sizes expressed in pixels, as they are already scaled by this factor by the underlying toolkit under some platforms. Use <seemfa marker="#fromDIP/2"><c>fromDIP/2</c></seemfa> for anything window-related instead.
      </p><p>Since: 3.1.4 
      </p></desc>
  </func>
  
  <func>
    <name name="getExtraStyle" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the extra style bits for the window. </fsummary>
    <desc><p>Returns the extra style bits for the window. 
      </p></desc>
  </func>
  
  <func>
    <name name="getFont" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the font for this window. </fsummary>
    <desc><p>Returns the font for this window. 
      </p><p>See: <seemfa marker="#setFont/2"><c>setFont/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getForegroundColour" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the foreground colour of the window. </fsummary>
    <desc><p>Returns the foreground colour of the window. 
      </p><p>Remark: The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all.
      </p><p>See: <seemfa marker="#setForegroundColour/2"><c>setForegroundColour/2</c></seemfa>, <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#getBackgroundColour/1"><c>getBackgroundColour/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getGrandParent" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the grandparent of a window, or NULL if there isn't one. </fsummary>
    <desc><p>Returns the grandparent of a window, or NULL if there isn't one. 
      </p></desc>
  </func>
  
  <func>
    <name name="getHandle" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the platform-specific handle of the physical window. </fsummary>
    <desc><p>Returns the platform-specific handle of the physical window. 
      </p><p>Cast it to an appropriate handle, such as <c>HWND</c> for Windows, <c>Widget</c> for Motif or <c>GtkWidget</c> for GTK. 
      </p></desc>
  </func>
  
  <func>
    <name name="getHelpText" arity="1" clause_i="1" since=""/>
    <fsummary>Gets the help text to be used as context-sensitive help for this window. </fsummary>
    <desc><p>Gets the help text to be used as context-sensitive help for this window. 
      </p><p>Note that the text is actually stored by the current <c>wxHelpProvider</c> (not implemented in wx) implementation, and not in the window object itself.
      </p><p>See: <seemfa marker="#setHelpText/2"><c>setHelpText/2</c></seemfa>, <c>GetHelpTextAtPoint()</c> (not implemented in wx), <c>wxHelpProvider</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="getId" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the identifier of the window. </fsummary>
    <desc><p>Returns the identifier of the window. 
      </p><p>Remark: Each window has an integer identifier. If the application has not provided one (or the default wxID_ANY) a unique identifier with a negative value will be generated.
      </p><p>See: <seemfa marker="#setId/2"><c>setId/2</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowids.html#overview_windowids">Overview windowids</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getLabel" arity="1" clause_i="1" since=""/>
    <fsummary>Generic way of getting a label from any window, for identification purposes. </fsummary>
    <desc><p>Generic way of getting a label from any window, for identification purposes. 
      </p><p>Remark: The interpretation of this function differs from class to class. For frames and dialogs, the value returned is the title. For buttons or static text controls, it is the button text. This function can be useful for meta-programs (such as testing tools or special-needs access programs) which need to identify windows by name. 
      </p></desc>
  </func>
  
  <func>
    <name name="getMaxSize" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the maximum size of the window. </fsummary>
    <desc><p>Returns the maximum size of the window. 
      </p><p>This is an indication to the sizer layout mechanism that this is the maximum possible size as well as the upper bound on window's size settable using <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa>.
      </p><p>See: <c>GetMaxClientSize()</c> (not implemented in wx), <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getMinSize" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the minimum required size. </fsummary>
    <desc><p>Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the minimum required size. 
      </p><p>This method normally just returns the value set by <seemfa marker="#setMinSize/2"><c>setMinSize/2</c></seemfa>, but it can be overridden to do the calculation on demand.
      </p><p>See: <c>GetMinClientSize()</c> (not implemented in wx), <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getName" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the window's name. </fsummary>
    <desc><p>Returns the window's name. 
      </p><p>Remark: This name is not guaranteed to be unique; it is up to the programmer to supply an appropriate name in the window constructor or via <seemfa marker="#setName/2"><c>setName/2</c></seemfa>.
      </p><p>See: <seemfa marker="#setName/2"><c>setName/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getParent" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the parent of the window, or NULL if there is no parent. </fsummary>
    <desc><p>Returns the parent of the window, or NULL if there is no parent. 
      </p></desc>
  </func>
  
  <func>
    <name name="getPosition" arity="1" clause_i="1" since=""/>
    <fsummary>This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. </fsummary>
    <desc><p>This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. 
      </p><p>See: <seemfa marker="#getScreenPosition/1"><c>getScreenPosition/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getRect" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the position and size of the window as a {X,Y,W,H} object. </fsummary>
    <desc><p>Returns the position and size of the window as a {X,Y,W,H} object. 
      </p><p>See: <seemfa marker="#getScreenRect/1"><c>getScreenRect/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getScreenPosition" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the window position in screen coordinates, whether the window is a child window or a top level one. </fsummary>
    <desc><p>Returns the window position in screen coordinates, whether the window is a child window or a top level one. 
      </p><p>See: <seemfa marker="#getPosition/1"><c>getPosition/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getScreenRect" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the position and size of the window on the screen as a {X,Y,W,H} object. </fsummary>
    <desc><p>Returns the position and size of the window on the screen as a {X,Y,W,H} object. 
      </p><p>See: <seemfa marker="#getRect/1"><c>getRect/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getScrollPos" arity="2" clause_i="1" since=""/>
    <fsummary>Returns the built-in scrollbar position. </fsummary>
    <desc><p>Returns the built-in scrollbar position. 
      </p><p>See: <seemfa marker="#setScrollbar/6"><c>setScrollbar/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getScrollRange" arity="2" clause_i="1" since=""/>
    <fsummary>Returns the built-in scrollbar range. </fsummary>
    <desc><p>Returns the built-in scrollbar range. 
      </p><p>See: <seemfa marker="#setScrollbar/6"><c>setScrollbar/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getScrollThumb" arity="2" clause_i="1" since=""/>
    <fsummary>Returns the built-in scrollbar thumb size. </fsummary>
    <desc><p>Returns the built-in scrollbar thumb size. 
      </p><p>See: <seemfa marker="#setScrollbar/6"><c>setScrollbar/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getSize" arity="1" clause_i="1" since=""/>
    <fsummary>See the GetSize(int*,int*) overload for more info. </fsummary>
    <desc><p>See the GetSize(int*,int*) overload for more info. 
      </p></desc>
  </func>
  
  <func>
    <name name="getSizer" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the sizer associated with the window by a previous call to <c>setSizer/3</c>, or NULL. </fsummary>
    <desc><p>Returns the sizer associated with the window by a previous call to <seemfa marker="#setSizer/3"><c>setSizer/3</c></seemfa>, or NULL. 
      </p></desc>
  </func>
  
  <func>
    <name name="getTextExtent" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>getTextExtent/3</c></fsummary>
  </func>
  
  <func>
    <name name="getTextExtent" arity="3" clause_i="1" since=""/>
    <fsummary>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. </fsummary>
    <desc><p>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. 
      </p><p>The text extent is returned in the <c>w</c> and <c>h</c> pointers.
      </p></desc>
  </func>
  
  <func>
    <name name="getThemeEnabled" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window uses the system theme for drawing its background. </fsummary>
    <desc><p>Returns true if the window uses the system theme for drawing its background. 
      </p><p>See: <seemfa marker="#setThemeEnabled/2"><c>setThemeEnabled/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getToolTip" arity="1" clause_i="1" since=""/>
    <fsummary>Get the associated tooltip or NULL if none. </fsummary>
    <desc><p>Get the associated tooltip or NULL if none. 
      </p></desc>
  </func>
  
  <func>
    <name name="getUpdateRegion" arity="1" clause_i="1" since=""/>
    <fsummary>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. </fsummary>
    <desc><p>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. 
      </p><p>Returns the region specifying which parts of the window have been damaged. Should only be called within an <seeerl marker="wxPaintEvent"><c>wxPaintEvent</c></seeerl> handler.
      </p><p>See: <seeerl marker="wxRegion"><c>wxRegion</c></seeerl>, <c>wxRegionIterator</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="getVirtualSize" arity="1" clause_i="1" since=""/>
    <fsummary>This gets the virtual size of the window in pixels. </fsummary>
    <desc><p>This gets the virtual size of the window in pixels. 
      </p><p>By default it returns the client size of the window, but after a call to <seemfa marker="#setVirtualSize/3"><c>setVirtualSize/3</c></seemfa> it will return the size set with that method.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="getWindowStyleFlag" arity="1" clause_i="1" since=""/>
    <fsummary>Gets the window style that was passed to the constructor or <c>create/4</c> method. </fsummary>
    <desc><p>Gets the window style that was passed to the constructor or <seemfa marker="#create/4"><c>create/4</c></seemfa> method. 
      </p><p><c>GetWindowStyle()</c> (not implemented in wx) is another name for the same function. 
      </p></desc>
  </func>
  
  <func>
    <name name="getWindowVariant" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the value previously passed to <c>setWindowVariant/2</c>. </fsummary>
    <desc><p>Returns the value previously passed to <seemfa marker="#setWindowVariant/2"><c>setWindowVariant/2</c></seemfa>. 
      </p></desc>
  </func>
  
  <func>
    <name name="hasCapture" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if this window has the current mouse capture. </fsummary>
    <desc><p>Returns true if this window has the current mouse capture. 
      </p><p>See: <seemfa marker="#captureMouse/1"><c>captureMouse/1</c></seemfa>, <seemfa marker="#releaseMouse/1"><c>releaseMouse/1</c></seemfa>, <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl>, <seeerl marker="wxMouseCaptureChangedEvent"><c>wxMouseCaptureChangedEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="hasScrollbar" arity="2" clause_i="1" since=""/>
    <fsummary>Returns true if this window currently has a scroll bar for this orientation. </fsummary>
    <desc><p>Returns true if this window currently has a scroll bar for this orientation. 
      </p><p>This method may return false even when <c>CanScroll()</c> (not implemented in wx) for the same orientation returns true, but if <c>CanScroll()</c> (not implemented in wx) returns false, i.e. scrolling in this direction is not enabled at all, <seemfa marker="#hasScrollbar/2"><c>hasScrollbar/2</c></seemfa> always returns false as well.
      </p></desc>
  </func>
  
  <func>
    <name name="hasTransparentBackground" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if this window background is transparent (as, for example, for <c>wxStaticText</c>) and should show the parent window background. </fsummary>
    <desc><p>Returns true if this window background is transparent (as, for example, for <seeerl marker="wxStaticText"><c>wxStaticText</c></seeerl>) and should show the parent window background. 
      </p><p>This method is mostly used internally by the library itself and you normally shouldn't have to call it. You may, however, have to override it in your wxWindow-derived class to ensure that background is painted correctly. 
      </p></desc>
  </func>
  
  <func>
    <name name="hide" arity="1" clause_i="1" since=""/>
    <fsummary>Equivalent to calling <c>show/2</c>(false). </fsummary>
    <desc><p>Equivalent to calling <seemfa marker="#show/2"><c>show/2</c></seemfa>(false). 
      </p></desc>
  </func>
  
  <func>
    <name name="inheritAttributes" arity="1" clause_i="1" since=""/>
    <fsummary>This function is (or should be, in case of custom controls) called during window creation to intelligently set up the window visual attributes, that is the font and the foreground and background colours. </fsummary>
    <desc><p>This function is (or should be, in case of custom controls) called during window creation to intelligently set up the window visual attributes, that is the font and the foreground and background colours. 
      </p><p>By "intelligently" the following is meant: by default, all windows use their own <c>GetClassDefaultAttributes()</c> (not implemented in wx) default attributes. However if some of the parents attributes are explicitly (that is, using <seemfa marker="#setFont/2"><c>setFont/2</c></seemfa> and not <seemfa marker="#setOwnFont/2"><c>setOwnFont/2</c></seemfa>) changed and if the corresponding attribute hadn't been explicitly set for this window itself, then this window takes the same value as used by the parent. In addition, if the window overrides <seemfa marker="#shouldInheritColours/1"><c>shouldInheritColours/1</c></seemfa> to return false, the colours will not be changed no matter what and only the font might.
      </p><p>This rather complicated logic is necessary in order to accommodate the different usage scenarios. The most common one is when all default attributes are used and in this case, nothing should be inherited as in modern GUIs different controls use different fonts (and colours) than their siblings so they can't inherit the same value from the parent. However it was also deemed desirable to allow to simply change the attributes of all children at once by just changing the font or colour of their common parent, hence in this case we do inherit the parents attributes. 
      </p></desc>
  </func>
  
  <func>
    <name name="initDialog" arity="1" clause_i="1" since=""/>
    <fsummary>Sends an <c>wxEVT_INIT_DIALOG</c> event, whose handler usually transfers data to the dialog via validators. </fsummary>
    <desc><p>Sends an <c>wxEVT_INIT_DIALOG</c> event, whose handler usually transfers data to the dialog via validators. 
      </p></desc>
  </func>
  
  <func>
    <name name="invalidateBestSize" arity="1" clause_i="1" since=""/>
    <fsummary>Resets the cached best size value so it will be recalculated the next time it is needed. </fsummary>
    <desc><p>Resets the cached best size value so it will be recalculated the next time it is needed. 
      </p><p>See: <seemfa marker="#cacheBestSize/2"><c>cacheBestSize/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isFrozen" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window is currently frozen by a call to <c>freeze/1</c>. </fsummary>
    <desc><p>Returns true if the window is currently frozen by a call to <seemfa marker="#freeze/1"><c>freeze/1</c></seemfa>. 
      </p><p>See: <seemfa marker="#freeze/1"><c>freeze/1</c></seemfa>, <seemfa marker="#thaw/1"><c>thaw/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isEnabled" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window is enabled, i.e. if it accepts user input, false otherwise. </fsummary>
    <desc><p>Returns true if the window is enabled, i.e. if it accepts user input, false otherwise. 
      </p><p>Notice that this method can return false even if this window itself hadn't been explicitly disabled when one of its parent windows is disabled. To get the intrinsic status of this window, use <c>IsThisEnabled()</c> (not implemented in wx)
      </p><p>See: <seemfa marker="#enable/2"><c>enable/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isExposed" arity="2" clause_i="1" since=""/>
  
    <name name="isExposed" arity="2" clause_i="2" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="isExposed" arity="3" clause_i="1" since=""/>
    <fsummary>Returns true if the given point or rectangle area has been exposed since the last repaint. </fsummary>
    <desc><p>Returns true if the given point or rectangle area has been exposed since the last repaint. 
      </p><p>Call this in an paint event handler to optimize redrawing by only redrawing those areas, which have been exposed. 
      </p></desc>
  </func>
  
  <func>
    <name name="isExposed" arity="5" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="isRetained" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window is retained, false otherwise. </fsummary>
    <desc><p>Returns true if the window is retained, false otherwise. 
      </p><p>Remark: Retained windows are only available on X platforms. 
      </p></desc>
  </func>
  
  <func>
    <name name="isShown" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window is shown, false if it has been hidden. </fsummary>
    <desc><p>Returns true if the window is shown, false if it has been hidden. 
      </p><p>See: <seemfa marker="#isShownOnScreen/1"><c>isShownOnScreen/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isTopLevel" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the given window is a top-level one. </fsummary>
    <desc><p>Returns true if the given window is a top-level one. 
      </p><p>Currently all frames and dialogs are considered to be top-level windows (even if they have a parent window). 
      </p></desc>
  </func>
  
  <func>
    <name name="isShownOnScreen" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well. </fsummary>
    <desc><p>Returns true if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well. 
      </p><p>See: <seemfa marker="#isShown/1"><c>isShown/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="layout" arity="1" clause_i="1" since=""/>
    <fsummary>Lays out the children of this window using the associated sizer. </fsummary>
    <desc><p>Lays out the children of this window using the associated sizer. 
      </p><p>If a sizer hadn't been associated with this window (see <seemfa marker="#setSizer/3"><c>setSizer/3</c></seemfa>), this function doesn't do anything, unless this is a top level window (see <seemfa marker="#layout/1"><c>layout/1</c></seemfa>).
      </p><p>Note that this method is called automatically when the window size changes if it has the associated sizer (or if <seemfa marker="#setAutoLayout/2"><c>setAutoLayout/2</c></seemfa> with true argument had been explicitly called), ensuring that it is always laid out correctly.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p><p>Return: Always returns true, the return value is not useful. 
      </p></desc>
  </func>
  
  <func>
    <name name="lineDown" arity="1" clause_i="1" since=""/>
    <fsummary>Same as <c>scrollLines/2</c> (1). </fsummary>
    <desc><p>Same as <seemfa marker="#scrollLines/2"><c>scrollLines/2</c></seemfa> (1). 
      </p></desc>
  </func>
  
  <func>
    <name name="lineUp" arity="1" clause_i="1" since=""/>
    <fsummary>Same as <c>scrollLines/2</c> (-1). </fsummary>
    <desc><p>Same as <seemfa marker="#scrollLines/2"><c>scrollLines/2</c></seemfa> (-1). 
      </p></desc>
  </func>
  
  <func>
    <name name="lower" arity="1" clause_i="1" since=""/>
    <fsummary>Lowers the window to the bottom of the window hierarchy (Z-order). </fsummary>
    <desc><p>Lowers the window to the bottom of the window hierarchy (Z-order). 
      </p><p>Remark: This function only works for wxTopLevelWindow-derived classes.
      </p><p>See: <seemfa marker="#raise/1"><c>raise/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="move" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>move/3</c></fsummary>
  </func>
  
  <func>
    <name name="move" arity="3" clause_i="1" since=""/>
  
    <name name="move" arity="3" clause_i="2" since=""/>
    <fsummary>Moves the window to the given position. </fsummary>
    <desc><p>Moves the window to the given position. 
      </p><p>Remark: Implementations of <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa> can also implicitly implement the <seemfa marker="#move/4"><c>move/4</c></seemfa> function, which is defined in the base <seeerl marker="wxWindow"><c>wxWindow</c></seeerl> class as the call: 
      </p><p>See: <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="move" arity="4" clause_i="1" since=""/>
    <fsummary>Moves the window to the given position. </fsummary>
    <desc><p>Moves the window to the given position. 
      </p><p>Remark: Implementations of SetSize can also implicitly implement the <seemfa marker="#move/4"><c>move/4</c></seemfa> function, which is defined in the base <seeerl marker="wxWindow"><c>wxWindow</c></seeerl> class as the call: 
      </p><p>See: <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="moveAfterInTabOrder" arity="2" clause_i="1" since=""/>
    <fsummary>Moves this window in the tab navigation order after the specified <c>win</c>. </fsummary>
    <desc><p>Moves this window in the tab navigation order after the specified <c>win</c>. 
      </p><p>This means that when the user presses <c>TAB</c> key on that other window, the focus switches to this window.
      </p><p>Default tab order is the same as creation order, this function and <seemfa marker="#moveBeforeInTabOrder/2"><c>moveBeforeInTabOrder/2</c></seemfa> allow to change it after creating all the windows.
      </p></desc>
  </func>
  
  <func>
    <name name="moveBeforeInTabOrder" arity="2" clause_i="1" since=""/>
    <fsummary>Same as <c>moveAfterInTabOrder/2</c> except that it inserts this window just before <c>win</c> instead of putting it right after it. </fsummary>
    <desc><p>Same as <seemfa marker="#moveAfterInTabOrder/2"><c>moveAfterInTabOrder/2</c></seemfa> except that it inserts this window just before <c>win</c> instead of putting it right after it. 
      </p></desc>
  </func>
  
  <func>
    <name name="navigate" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>navigate/2</c></fsummary>
  </func>
  
  <func>
    <name name="navigate" arity="2" clause_i="1" since=""/>
    <fsummary>Performs a keyboard navigation action starting from this window. </fsummary>
    <desc><p>Performs a keyboard navigation action starting from this window. 
      </p><p>This method is equivalent to calling <c>NavigateIn()</c> (not implemented in wx) method on the parent window.
      </p><p>Return: Returns true if the focus was moved to another window or false if nothing changed.
      </p><p>Remark: You may wish to call this from a text control custom keypress handler to do the default navigation behaviour for the tab key, since the standard default behaviour for a multiline text control with the wxTE_PROCESS_TAB style is to insert a tab and not navigate to the next control. See also <seeerl marker="wxNavigationKeyEvent"><c>wxNavigationKeyEvent</c></seeerl> and HandleAsNavigationKey. 
      </p></desc>
  </func>
  
  <func>
    <name name="pageDown" arity="1" clause_i="1" since=""/>
    <fsummary>Same as <c>scrollPages/2</c> (1). </fsummary>
    <desc><p>Same as <seemfa marker="#scrollPages/2"><c>scrollPages/2</c></seemfa> (1). 
      </p></desc>
  </func>
  
  <func>
    <name name="pageUp" arity="1" clause_i="1" since=""/>
    <fsummary>Same as <c>scrollPages/2</c> (-1). </fsummary>
    <desc><p>Same as <seemfa marker="#scrollPages/2"><c>scrollPages/2</c></seemfa> (-1). 
      </p></desc>
  </func>
  
  <func>
    <name name="popupMenu" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>popupMenu/3</c></fsummary>
  </func>
  
  <func>
    <name name="popupMenu" arity="3" clause_i="1" since=""/>
    <fsummary>Pops up the given menu at the specified coordinates, relative to this window, and returns control when the user has dismissed the menu. </fsummary>
    <desc><p>Pops up the given menu at the specified coordinates, relative to this window, and returns control when the user has dismissed the menu. 
      </p><p>If a menu item is selected, the corresponding menu event is generated and will be processed as usual. If coordinates are not specified, the current mouse cursor position is used.
      </p><p><c>menu</c> is the menu to pop up.
      </p><p>The position where the menu will appear can be specified either as a {X,Y} <c>pos</c> or by two integers (<c>x</c> and <c>y</c>).
      </p><p>Note that this function switches focus to this window before showing the menu.
      </p><p>Remark: Just before the menu is popped up, <c>wxMenu::UpdateUI</c> (not implemented in wx) is called to ensure that the menu items are in the correct state. The menu does not get deleted by the window. It is recommended to not explicitly specify coordinates when calling PopupMenu in response to mouse click, because some of the ports (namely, wxGTK) can do a better job of positioning the menu in that case.
      </p><p>See: <seeerl marker="wxMenu"><c>wxMenu</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="popupMenu" arity="4" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="raise" arity="1" clause_i="1" since=""/>
    <fsummary>Raises the window to the top of the window hierarchy (Z-order). </fsummary>
    <desc><p>Raises the window to the top of the window hierarchy (Z-order). 
      </p><p>Notice that this function only requests the window manager to raise this window to the top of Z-order. Depending on its configuration, the window manager may raise the window, not do it at all or indicate that a window requested to be raised in some other way, e.g. by flashing its icon if it is minimized.
      </p><p>Remark: This function only works for wxTopLevelWindow-derived classes.
      </p><p>See: <seemfa marker="#lower/1"><c>lower/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="refresh" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>refresh/2</c></fsummary>
  </func>
  
  <func>
    <name name="refresh" arity="2" clause_i="1" since=""/>
    <fsummary>Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted. </fsummary>
    <desc><p>Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted. 
      </p><p>Note that repainting doesn't happen immediately but only during the next event loop iteration, if you need to update the window immediately you should use <seemfa marker="#update/1"><c>update/1</c></seemfa> instead.
      </p><p>See: <seemfa marker="#refreshRect/3"><c>refreshRect/3</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="refreshRect" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>refreshRect/3</c></fsummary>
  </func>
  
  <func>
    <name name="refreshRect" arity="3" clause_i="1" since=""/>
    <fsummary>Redraws the contents of the given rectangle: only the area inside it will be repainted. </fsummary>
    <desc><p>Redraws the contents of the given rectangle: only the area inside it will be repainted. 
      </p><p>This is the same as <seemfa marker="#refresh/2"><c>refresh/2</c></seemfa> but has a nicer syntax as it can be called with a temporary {X,Y,W,H} object as argument like this <c>RefreshRect(wxRect(x, y, w, h))</c>. 
      </p></desc>
  </func>
  
  <func>
    <name name="releaseMouse" arity="1" clause_i="1" since=""/>
    <fsummary>Releases mouse input captured with <c>captureMouse/1</c>. </fsummary>
    <desc><p>Releases mouse input captured with <seemfa marker="#captureMouse/1"><c>captureMouse/1</c></seemfa>. 
      </p><p>See: <seemfa marker="#captureMouse/1"><c>captureMouse/1</c></seemfa>, <seemfa marker="#hasCapture/1"><c>hasCapture/1</c></seemfa>, <seemfa marker="#releaseMouse/1"><c>releaseMouse/1</c></seemfa>, <seeerl marker="wxMouseCaptureLostEvent"><c>wxMouseCaptureLostEvent</c></seeerl>, <seeerl marker="wxMouseCaptureChangedEvent"><c>wxMouseCaptureChangedEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="removeChild" arity="2" clause_i="1" since=""/>
    <fsummary>Removes a child window. </fsummary>
    <desc><p>Removes a child window. 
      </p><p>This is called automatically by window deletion functions so should not be required by the application programmer. Notice that this function is mostly internal to wxWidgets and shouldn't be called by the user code.
      </p></desc>
  </func>
  
  <func>
    <name name="reparent" arity="2" clause_i="1" since=""/>
    <fsummary>Reparents the window, i.e. the window will be removed from its current parent window (e.g. </fsummary>
    <desc><p>Reparents the window, i.e. the window will be removed from its current parent window (e.g. 
      </p><p>a non-standard toolbar in a <seeerl marker="wxFrame"><c>wxFrame</c></seeerl>) and then re-inserted into another.
      </p><p>Notice that currently you need to explicitly call <seemfa marker="wxBookCtrlBase#removePage/2"><c>wxBookCtrlBase:removePage/2</c></seemfa> before reparenting a notebook page.
      </p></desc>
  </func>
  
  <func>
    <name name="screenToClient" arity="1" clause_i="1" since=""/>
    <fsummary>Converts from screen to client window coordinates. </fsummary>
    <desc><p>Converts from screen to client window coordinates. 
      </p></desc>
  </func>
  
  <func>
    <name name="screenToClient" arity="2" clause_i="1" since=""/>
    <fsummary>Converts from screen to client window coordinates. </fsummary>
    <desc><p>Converts from screen to client window coordinates. 
      </p></desc>
  </func>
  
  <func>
    <name name="scrollLines" arity="2" clause_i="1" since=""/>
    <fsummary>Scrolls the window by the given number of lines down (if <c>lines</c> is positive) or up. </fsummary>
    <desc><p>Scrolls the window by the given number of lines down (if <c>lines</c> is positive) or up. 
      </p><p>Return: Returns true if the window was scrolled, false if it was already on top/bottom and nothing was done.
      </p><p>Remark: This function is currently only implemented under MSW and <seeerl marker="wxTextCtrl"><c>wxTextCtrl</c></seeerl> under wxGTK (it also works for <c>wxScrolled</c> (not implemented in wx) classes under all platforms).
      </p><p>See: <seemfa marker="#scrollPages/2"><c>scrollPages/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="scrollPages" arity="2" clause_i="1" since=""/>
    <fsummary>Scrolls the window by the given number of pages down (if <c>pages</c> is positive) or up. </fsummary>
    <desc><p>Scrolls the window by the given number of pages down (if <c>pages</c> is positive) or up. 
      </p><p>Return: Returns true if the window was scrolled, false if it was already on top/bottom and nothing was done.
      </p><p>Remark: This function is currently only implemented under MSW and wxGTK.
      </p><p>See: <seemfa marker="#scrollLines/2"><c>scrollLines/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="scrollWindow" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>scrollWindow/4</c></fsummary>
  </func>
  
  <func>
    <name name="scrollWindow" arity="4" clause_i="1" since=""/>
    <fsummary>Physically scrolls the pixels in the window and move child windows accordingly. </fsummary>
    <desc><p>Physically scrolls the pixels in the window and move child windows accordingly. 
      </p><p>Remark: Note that you can often use <c>wxScrolled</c> (not implemented in wx) instead of using this function directly. 
      </p></desc>
  </func>
  
  <func>
    <name name="setAcceleratorTable" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the accelerator table for this window. </fsummary>
    <desc><p>Sets the accelerator table for this window. 
      </p><p>See <seeerl marker="wxAcceleratorTable"><c>wxAcceleratorTable</c></seeerl>. 
      </p></desc>
  </func>
  
  <func>
    <name name="setAutoLayout" arity="2" clause_i="1" since=""/>
    <fsummary>Determines whether the <c>layout/1</c> function will be called automatically when the window is resized. </fsummary>
    <desc><p>Determines whether the <seemfa marker="#layout/1"><c>layout/1</c></seemfa> function will be called automatically when the window is resized. 
      </p><p>This method is called implicitly by <seemfa marker="#setSizer/3"><c>setSizer/3</c></seemfa> but if you use <c>SetConstraints()</c> (not implemented in wx) you should call it manually or otherwise the window layout won't be correctly updated when its size changes.
      </p><p>See: <seemfa marker="#setSizer/3"><c>setSizer/3</c></seemfa>, <c>SetConstraints()</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="setBackgroundColour" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the background colour of the window. </fsummary>
    <desc><p>Sets the background colour of the window. 
      </p><p>Notice that as with <seemfa marker="#setForegroundColour/2"><c>setForegroundColour/2</c></seemfa>, setting the background colour of a native control may not affect the entire control and could be not supported at all depending on the control and platform.
      </p><p>Please see <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa> for explanation of the difference between this method and <seemfa marker="#setOwnBackgroundColour/2"><c>setOwnBackgroundColour/2</c></seemfa>.
      </p><p>Remark: The background colour is usually painted by the default <seeerl marker="wxEraseEvent"><c>wxEraseEvent</c></seeerl> event handler function under Windows and automatically under GTK. Note that setting the background colour does not cause an immediate refresh, so you may wish to call <seemfa marker="#clearBackground/1"><c>clearBackground/1</c></seemfa> or <seemfa marker="#refresh/2"><c>refresh/2</c></seemfa> after calling this function. Using this function will disable attempts to use themes for this window, if the system supports them. Use with care since usually the themes represent the appearance chosen by the user to be used for all applications on the system.
      </p><p>Return: true if the colour was really changed, false if it was already set to this colour and nothing was done.
      </p><p>See: <seemfa marker="#getBackgroundColour/1"><c>getBackgroundColour/1</c></seemfa>, <seemfa marker="#setForegroundColour/2"><c>setForegroundColour/2</c></seemfa>, <seemfa marker="#getForegroundColour/1"><c>getForegroundColour/1</c></seemfa>, <seemfa marker="#clearBackground/1"><c>clearBackground/1</c></seemfa>, <seemfa marker="#refresh/2"><c>refresh/2</c></seemfa>, <seeerl marker="wxEraseEvent"><c>wxEraseEvent</c></seeerl>, <seeerl marker="wxSystemSettings"><c>wxSystemSettings</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="setBackgroundStyle" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the background style of the window. </fsummary>
    <desc><p>Sets the background style of the window. 
      </p><p>The default background style is <c>wxBG_STYLE_ERASE</c> which indicates that the window background may be erased in <c>EVT_ERASE_BACKGROUND</c> handler. This is a safe, compatibility default; however you may want to change it to <c>wxBG_STYLE_SYSTEM</c> if you don't define any erase background event handlers at all, to avoid unnecessary generation of erase background events and always let system erase the background. And you should change the background style to <c>wxBG_STYLE_PAINT</c> if you define an <c>EVT_PAINT</c> handler which completely overwrites the window background as in this case erasing it previously, either in <c>EVT_ERASE_BACKGROUND</c> handler or in the system default handler, would result in flicker as the background pixels will be repainted twice every time the window is redrawn. Do ensure that the background is entirely erased by your <c>EVT_PAINT</c> handler in this case however as otherwise garbage may be left on screen.
      </p><p>Notice that in previous versions of wxWidgets a common way to work around the above mentioned flickering problem was to define an empty <c>EVT_ERASE_BACKGROUND</c> handler. Setting background style to <c>wxBG_STYLE_PAINT</c> is a simpler and more efficient solution to the same problem.
      </p><p>Under wxGTK and wxOSX, you can use ?wxBG_STYLE_TRANSPARENT to obtain full transparency of the window background. Note that wxGTK supports this only since GTK 2.12 with a compositing manager enabled, call <c>IsTransparentBackgroundSupported()</c> (not implemented in wx) to check whether this is the case.
      </p><p>Also, in order for <c>SetBackgroundStyle(wxBG_STYLE_TRANSPARENT)</c> to work, it must be called before <seemfa marker="#create/4"><c>create/4</c></seemfa>. If you're using your own wxWindow-derived class you should write your code in the following way: 
      </p><p>See: <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#getForegroundColour/1"><c>getForegroundColour/1</c></seemfa>, <seemfa marker="#setTransparent/2"><c>setTransparent/2</c></seemfa>, <c>IsTransparentBackgroundSupported()</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="setCaret" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the caret() associated with the window. </fsummary>
    <desc><p>Sets the caret() associated with the window. 
      </p></desc>
  </func>
  
  <func>
    <name name="setClientSize" arity="2" clause_i="1" since=""/>
  
    <name name="setClientSize" arity="2" clause_i="2" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="setClientSize" arity="3" clause_i="1" since=""/>
    <fsummary>This sets the size of the window client area in pixels. </fsummary>
    <desc><p>This sets the size of the window client area in pixels. 
      </p><p>Using this function to size a window tends to be more device-independent than <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa>, since the application need not worry about what dimensions the border or title bar have when trying to fit the window around panel items, for example.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setContainingSizer" arity="2" clause_i="1" since=""/>
    <fsummary>Used by <c>wxSizer</c> internally to notify the window about being managed by the given sizer. </fsummary>
    <desc><p>Used by <seeerl marker="wxSizer"><c>wxSizer</c></seeerl> internally to notify the window about being managed by the given sizer. 
      </p><p>This method should not be called from outside the library, unless you're implementing a custom sizer class - and in the latter case you must call this method with the pointer to the sizer itself whenever a window is added to it and with NULL argument when the window is removed from it. 
      </p></desc>
  </func>
  
  <func>
    <name name="setCursor" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the window's cursor. </fsummary>
    <desc><p>Sets the window's cursor. 
      </p><p>Notice that the window cursor also sets it for the children of the window implicitly.
      </p><p>The <c>cursor</c> may be <c>wxNullCursor</c> in which case the window cursor will be reset back to default.
      </p><p>See: <seemfa marker="wx_misc#setCursor/1"><c>wx_misc:setCursor/1</c></seemfa>, <seeerl marker="wxCursor"><c>wxCursor</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="setMaxSize" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size. </fsummary>
    <desc><p>Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size. 
      </p><p>See: <c>SetMaxClientSize()</c> (not implemented in wx), <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setMinSize" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minimum required size. </fsummary>
    <desc><p>Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minimum required size. 
      </p><p>You may need to call this if you change the window size after construction and before adding to its parent sizer.
      </p><p>Notice that calling this method doesn't prevent the program from making the window explicitly smaller than the specified size by calling <seemfa marker="#setSize/6"><c>setSize/6</c></seemfa>, it just ensures that it won't become smaller than this size during the automatic layout.
      </p><p>See: <c>SetMinClientSize()</c> (not implemented in wx), <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setOwnBackgroundColour" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the background colour of the window but prevents it from being inherited by the children of this window. </fsummary>
    <desc><p>Sets the background colour of the window but prevents it from being inherited by the children of this window. 
      </p><p>See: <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setOwnFont" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the font of the window but prevents it from being inherited by the children of this window. </fsummary>
    <desc><p>Sets the font of the window but prevents it from being inherited by the children of this window. 
      </p><p>See: <seemfa marker="#setFont/2"><c>setFont/2</c></seemfa>, <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setOwnForegroundColour" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the foreground colour of the window but prevents it from being inherited by the children of this window. </fsummary>
    <desc><p>Sets the foreground colour of the window but prevents it from being inherited by the children of this window. 
      </p><p>See: <seemfa marker="#setForegroundColour/2"><c>setForegroundColour/2</c></seemfa>, <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setDropTarget" arity="2" clause_i="1" since=""/>
    <fsummary>Associates a drop target with this window. </fsummary>
    <desc><p>Associates a drop target with this window. 
      </p><p>If the window already has a drop target, it is deleted.
      </p><p>See: <seemfa marker="#getDropTarget/1"><c>getDropTarget/1</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_dnd.html#overview_dnd">Overview dnd</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setExtraStyle" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the extra style bits for the window. </fsummary>
    <desc><p>Sets the extra style bits for the window. 
      </p><p>The currently defined extra style bits are reported in the class description. 
      </p></desc>
  </func>
  
  <func>
    <name name="setFocus" arity="1" clause_i="1" since=""/>
    <fsummary>This sets the window to receive keyboard input. </fsummary>
    <desc><p>This sets the window to receive keyboard input. 
      </p><p>See: <c>HasFocus()</c> (not implemented in wx), <seeerl marker="wxFocusEvent"><c>wxFocusEvent</c></seeerl>, <seemfa marker="#setFocus/1"><c>setFocus/1</c></seemfa>, <seemfa marker="wxPanel#setFocusIgnoringChildren/1"><c>wxPanel:setFocusIgnoringChildren/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setFocusFromKbd" arity="1" clause_i="1" since=""/>
    <fsummary>This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. using <c>TAB</c> key). </fsummary>
    <desc><p>This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. using <c>TAB</c> key). 
      </p><p>By default this method simply calls <seemfa marker="#setFocus/1"><c>setFocus/1</c></seemfa> but can be overridden to do something in addition to this in the derived classes. 
      </p></desc>
  </func>
  
  <func>
    <name name="setFont" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the font for this window. </fsummary>
    <desc><p>Sets the font for this window. 
      </p><p>This function should not be called for the parent window if you don't want its font to be inherited by its children, use <seemfa marker="#setOwnFont/2"><c>setOwnFont/2</c></seemfa> instead in this case and see <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa> for more explanations.
      </p><p>Please notice that the given font is not automatically used for <seeerl marker="wxPaintDC"><c>wxPaintDC</c></seeerl> objects associated with this window, you need to call <seemfa marker="wxDC#setFont/2"><c>wxDC:setFont/2</c></seemfa> too. However this font is used by any standard controls for drawing their text as well as by <seemfa marker="#getTextExtent/3"><c>getTextExtent/3</c></seemfa>.
      </p><p>Return: true if the font was really changed, false if it was already set to this font and nothing was done.
      </p><p>See: <seemfa marker="#getFont/1"><c>getFont/1</c></seemfa>, <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setForegroundColour" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the foreground colour of the window. </fsummary>
    <desc><p>Sets the foreground colour of the window. 
      </p><p>The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all. Additionally, not all native controls support changing their foreground colour so this method may change their colour only partially or even not at all.
      </p><p>Please see <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa> for explanation of the difference between this method and <seemfa marker="#setOwnForegroundColour/2"><c>setOwnForegroundColour/2</c></seemfa>.
      </p><p>Return: true if the colour was really changed, false if it was already set to this colour and nothing was done.
      </p><p>See: <seemfa marker="#getForegroundColour/1"><c>getForegroundColour/1</c></seemfa>, <seemfa marker="#setBackgroundColour/2"><c>setBackgroundColour/2</c></seemfa>, <seemfa marker="#getBackgroundColour/1"><c>getBackgroundColour/1</c></seemfa>, <seemfa marker="#shouldInheritColours/1"><c>shouldInheritColours/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setHelpText" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the help text to be used as context-sensitive help for this window. </fsummary>
    <desc><p>Sets the help text to be used as context-sensitive help for this window. 
      </p><p>Note that the text is actually stored by the current <c>wxHelpProvider</c> (not implemented in wx) implementation, and not in the window object itself.
      </p><p>See: <seemfa marker="#getHelpText/1"><c>getHelpText/1</c></seemfa>, <c>wxHelpProvider::AddHelp()</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="setId" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the identifier of the window. </fsummary>
    <desc><p>Sets the identifier of the window. 
      </p><p>Remark: Each window has an integer identifier. If the application has not provided one, an identifier will be generated. Normally, the identifier should be provided on creation and should not be modified subsequently.
      </p><p>See: <seemfa marker="#getId/1"><c>getId/1</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowids.html#overview_windowids">Overview windowids</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setLabel" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the window's label. </fsummary>
    <desc><p>Sets the window's label. 
      </p><p>See: <seemfa marker="#getLabel/1"><c>getLabel/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setName" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the window's name. </fsummary>
    <desc><p>Sets the window's name. 
      </p><p>See: <seemfa marker="#getName/1"><c>getName/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setPalette" arity="2" clause_i="1" since=""/>
    <fsummary/>
    <desc><p>Deprecated: use <seemfa marker="wxDC#setPalette/2"><c>wxDC:setPalette/2</c></seemfa> instead.
      
      </p></desc>
  </func>
  
  <func>
    <name name="setScrollbar" arity="5" clause_i="1" since=""/>
    <fsummary>See: <c>setScrollbar/6</c></fsummary>
  </func>
  
  <func>
    <name name="setScrollbar" arity="6" clause_i="1" since=""/>
    <fsummary>Sets the scrollbar properties of a built-in scrollbar. </fsummary>
    <desc><p>Sets the scrollbar properties of a built-in scrollbar. 
      </p><p>Remark: Let's say you wish to display 50 lines of text, using the same font. The window is sized so that you can only see 16 lines at a time. You would use:  Note that with the window at this size, the thumb position can never go above 50 minus 16, or 34. You can determine how many lines are currently visible by dividing the current view size by the character height in pixels. When defining your own scrollbar behaviour, you will always need to recalculate the scrollbar settings when the window size changes. You could therefore put your scrollbar calculations and SetScrollbar call into a function named AdjustScrollbars, which can be called initially and also from your <seeerl marker="wxSizeEvent"><c>wxSizeEvent</c></seeerl> handler function.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_scrolling.html#overview_scrolling">Overview scrolling</url>, <seeerl marker="wxScrollBar"><c>wxScrollBar</c></seeerl>, <c>wxScrolled</c> (not implemented in wx), <seeerl marker="wxScrollWinEvent"><c>wxScrollWinEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="setScrollPos" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>setScrollPos/4</c></fsummary>
  </func>
  
  <func>
    <name name="setScrollPos" arity="4" clause_i="1" since=""/>
    <fsummary>Sets the position of one of the built-in scrollbars. </fsummary>
    <desc><p>Sets the position of one of the built-in scrollbars. 
      </p><p>Remark: This function does not directly affect the contents of the window: it is up to the application to take note of scrollbar attributes and redraw contents accordingly.
      </p><p>See: <seemfa marker="#setScrollbar/6"><c>setScrollbar/6</c></seemfa>, <seemfa marker="#getScrollPos/2"><c>getScrollPos/2</c></seemfa>, <seemfa marker="#getScrollThumb/2"><c>getScrollThumb/2</c></seemfa>, <seeerl marker="wxScrollBar"><c>wxScrollBar</c></seeerl>, <c>wxScrolled</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="setSize" arity="2" clause_i="1" since=""/>
  
    <name name="setSize" arity="2" clause_i="2" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="setSize" arity="3" clause_i="1" since=""/>
  
    <name name="setSize" arity="3" clause_i="2" since=""/>
    <fsummary>Sets the size of the window in pixels. </fsummary>
    <desc><p>Sets the size of the window in pixels. 
      </p><p>The size is specified using a {X,Y,W,H}, {Width,Height} or by a couple of <c>int</c> objects.
      </p><p>Remark: This form must be used with non-default width and height values.
      </p><p>See: <seemfa marker="#move/4"><c>move/4</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setSize" arity="5" clause_i="1" since=""/>
    <fsummary>See: <c>setSize/6</c></fsummary>
  </func>
  
  <func>
    <name name="setSize" arity="6" clause_i="1" since=""/>
    <fsummary>Sets the size of the window in pixels. </fsummary>
    <desc><p>Sets the size of the window in pixels. 
      </p><p>Remark: This overload sets the position and optionally size, of the window. Parameters may be wxDefaultCoord to indicate either that a default should be supplied by wxWidgets, or that the current value of the dimension should be used.
      </p><p>See: <seemfa marker="#move/4"><c>move/4</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setSizeHints" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>setSizeHints/3</c></fsummary>
  </func>
  
  <func>
    <name name="setSizeHints" arity="3" clause_i="1" since=""/>
  
    <name name="setSizeHints" arity="3" clause_i="2" since=""/>
    <fsummary>Use of this function for windows which are not toplevel windows (such as <c>wxDialog</c> or <c>wxFrame</c>) is discouraged. </fsummary>
    <desc><p>Use of this function for windows which are not toplevel windows (such as <seeerl marker="wxDialog"><c>wxDialog</c></seeerl> or <seeerl marker="wxFrame"><c>wxFrame</c></seeerl>) is discouraged. 
      </p><p>Please use <seemfa marker="#setMinSize/2"><c>setMinSize/2</c></seemfa> and <seemfa marker="#setMaxSize/2"><c>setMaxSize/2</c></seemfa> instead.
      </p><p>See: <seemfa marker="#setSizeHints/4"><c>setSizeHints/4</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setSizeHints" arity="4" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="setSizer" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>setSizer/3</c></fsummary>
  </func>
  
  <func>
    <name name="setSizer" arity="3" clause_i="1" since=""/>
    <fsummary>Sets the window to have the given layout sizer. </fsummary>
    <desc><p>Sets the window to have the given layout sizer. 
      </p><p>The window will then own the object, and will take care of its deletion. If an existing layout constraints object is already owned by the window, it will be deleted if the <c>deleteOld</c> parameter is true.
      </p><p>Note that this function will also call <seemfa marker="#setAutoLayout/2"><c>setAutoLayout/2</c></seemfa> implicitly with true parameter if the <c>sizer</c> is non-NULL and false otherwise so that the sizer will be effectively used to layout the window children whenever it is resized.
      </p><p>Remark: SetSizer enables and disables Layout automatically. 
      </p></desc>
  </func>
  
  <func>
    <name name="setSizerAndFit" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>setSizerAndFit/3</c></fsummary>
  </func>
  
  <func>
    <name name="setSizerAndFit" arity="3" clause_i="1" since=""/>
    <fsummary>Associate the sizer with the window and set the window size and minimal size accordingly. </fsummary>
    <desc><p>Associate the sizer with the window and set the window size and minimal size accordingly. 
      </p><p>This method calls <seemfa marker="#setSizer/3"><c>setSizer/3</c></seemfa> and then <seemfa marker="wxSizer#setSizeHints/2"><c>wxSizer:setSizeHints/2</c></seemfa> which sets the initial window size to the size needed to accommodate all sizer elements and sets the minimal size to the same size, this preventing the user from resizing this window to be less than this minimal size (if it's a top-level window which can be directly resized by the user). 
      </p></desc>
  </func>
  
  <func>
    <name name="setThemeEnabled" arity="2" clause_i="1" since=""/>
    <fsummary>This function tells a window if it should use the system's "theme" code to draw the windows' background instead of its own background drawing code. </fsummary>
    <desc><p>This function tells a window if it should use the system's "theme" code to draw the windows' background instead of its own background drawing code. 
      </p><p>This does not always have any effect since the underlying platform obviously needs to support the notion of themes in user defined windows. One such platform is GTK+ where windows can have (very colourful) backgrounds defined by a user's selected theme.
      </p><p>Dialogs, notebook pages and the status bar have this flag set to true by default so that the default look and feel is simulated best.
      </p><p>See: <seemfa marker="#getThemeEnabled/1"><c>getThemeEnabled/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setToolTip" arity="2" clause_i="1" since=""/>
  
    <name name="setToolTip" arity="2" clause_i="2" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="setVirtualSize" arity="2" clause_i="1" since=""/>
    <fsummary>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </fsummary>
    <desc><p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
      </p></desc>
  </func>
  
  <func>
    <name name="setVirtualSize" arity="3" clause_i="1" since=""/>
    <fsummary>Sets the virtual size of the window in pixels. </fsummary>
    <desc><p>Sets the virtual size of the window in pixels. 
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_windowsizing.html#overview_windowsizing">Overview windowsizing</url>
      </p></desc>
  </func>
  
  <func>
    <name name="setWindowStyle" arity="2" clause_i="1" since=""/>
    <fsummary>See <c>setWindowStyleFlag/2</c> for more info. </fsummary>
    <desc><p>See <seemfa marker="#setWindowStyleFlag/2"><c>setWindowStyleFlag/2</c></seemfa> for more info. 
      </p></desc>
  </func>
  
  <func>
    <name name="setWindowStyleFlag" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the style of the window. </fsummary>
    <desc><p>Sets the style of the window. 
      </p><p>Please note that some styles cannot be changed after the window creation and that <seemfa marker="#refresh/2"><c>refresh/2</c></seemfa> might need to be called after changing the others for the change to take place immediately.
      </p><p>See Window styles for more information about flags.
      </p><p>See: <seemfa marker="#getWindowStyleFlag/1"><c>getWindowStyleFlag/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setWindowVariant" arity="2" clause_i="1" since=""/>
    <fsummary>Chooses a different variant of the window display to use. </fsummary>
    <desc><p>Chooses a different variant of the window display to use. 
      </p><p>Window variants currently just differ in size, as can be seen from ?wxWindowVariant documentation. Under all platforms but macOS, this function does nothing more than change the font used by the window. However under macOS it is implemented natively and selects the appropriate variant of the native widget, which has better appearance than just scaled down or up version of the normal variant, so it should be preferred to directly tweaking the font size.
      </p><p>By default the controls naturally use the normal variant. 
      </p></desc>
  </func>
  
  <func>
    <name name="shouldInheritColours" arity="1" clause_i="1" since=""/>
    <fsummary>Return true from here to allow the colours of this window to be changed by <c>inheritAttributes/1</c>. </fsummary>
    <desc><p>Return true from here to allow the colours of this window to be changed by <seemfa marker="#inheritAttributes/1"><c>inheritAttributes/1</c></seemfa>. 
      </p><p>Returning false forbids inheriting them from the parent window.
      </p><p>The base class version returns false, but this method is overridden in <seeerl marker="wxControl"><c>wxControl</c></seeerl> where it returns true. 
      </p></desc>
  </func>
  
  <func>
    <name name="show" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>show/2</c></fsummary>
  </func>
  
  <func>
    <name name="show" arity="2" clause_i="1" since=""/>
    <fsummary>Shows or hides the window. </fsummary>
    <desc><p>Shows or hides the window. 
      </p><p>You may need to call <seemfa marker="#raise/1"><c>raise/1</c></seemfa> for a top level window if you want to bring it to top, although this is not needed if <seemfa marker="#show/2"><c>show/2</c></seemfa> is called immediately after the frame creation.
      </p><p>Notice that the default state of newly created top level windows is hidden (to allow you to create their contents without flicker) unlike for all the other, not derived from <seeerl marker="wxTopLevelWindow"><c>wxTopLevelWindow</c></seeerl>, windows that are by default created in the shown state.
      </p><p>Return: true if the window has been shown or hidden or false if nothing was done because it already was in the requested state.
      </p><p>See: <seemfa marker="#isShown/1"><c>isShown/1</c></seemfa>, <seemfa marker="#hide/1"><c>hide/1</c></seemfa>, <seemfa marker="wxRadioBox#show/3"><c>wxRadioBox:show/3</c></seemfa>, <seeerl marker="wxShowEvent"><c>wxShowEvent</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="thaw" arity="1" clause_i="1" since=""/>
    <fsummary>Re-enables window updating after a previous call to <c>freeze/1</c>. </fsummary>
    <desc><p>Re-enables window updating after a previous call to <seemfa marker="#freeze/1"><c>freeze/1</c></seemfa>. 
      </p><p>To really thaw the control, it must be called exactly the same number of times as <seemfa marker="#freeze/1"><c>freeze/1</c></seemfa>.
      </p><p>If the window has any children, they are recursively thawed too.
      </p><p>See: <c>wxWindowUpdateLocker</c> (not implemented in wx), <seemfa marker="#freeze/1"><c>freeze/1</c></seemfa>, <seemfa marker="#isFrozen/1"><c>isFrozen/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="transferDataFromWindow" arity="1" clause_i="1" since=""/>
    <fsummary>Transfers values from child controls to data areas specified by their validators. </fsummary>
    <desc><p>Transfers values from child controls to data areas specified by their validators. 
      </p><p>Returns false if a transfer failed.
      </p><p>Notice that this also calls <seemfa marker="#transferDataFromWindow/1"><c>transferDataFromWindow/1</c></seemfa> for all children recursively.
      </p><p>See: <seemfa marker="#transferDataToWindow/1"><c>transferDataToWindow/1</c></seemfa>, <c>wxValidator</c> (not implemented in wx), <seemfa marker="#validate/1"><c>validate/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="transferDataToWindow" arity="1" clause_i="1" since=""/>
    <fsummary>Transfers values to child controls from data areas specified by their validators. </fsummary>
    <desc><p>Transfers values to child controls from data areas specified by their validators. 
      </p><p>Notice that this also calls <seemfa marker="#transferDataToWindow/1"><c>transferDataToWindow/1</c></seemfa> for all children recursively.
      </p><p>Return: Returns false if a transfer failed.
      </p><p>See: <seemfa marker="#transferDataFromWindow/1"><c>transferDataFromWindow/1</c></seemfa>, <c>wxValidator</c> (not implemented in wx), <seemfa marker="#validate/1"><c>validate/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="update" arity="1" clause_i="1" since=""/>
    <fsummary>Calling this method immediately repaints the invalidated area of the window and all of its children recursively (this normally only happens when the flow of control returns to the event loop). </fsummary>
    <desc><p>Calling this method immediately repaints the invalidated area of the window and all of its children recursively (this normally only happens when the flow of control returns to the event loop). 
      </p><p>Notice that this function doesn't invalidate any area of the window so nothing happens if nothing has been invalidated (i.e. marked as requiring a redraw). Use <seemfa marker="#refresh/2"><c>refresh/2</c></seemfa> first if you want to immediately redraw the window unconditionally. 
      </p></desc>
  </func>
  
  <func>
    <name name="updateWindowUI" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>updateWindowUI/2</c></fsummary>
  </func>
  
  <func>
    <name name="updateWindowUI" arity="2" clause_i="1" since=""/>
    <fsummary>This function sends one or more <c>wxUpdateUIEvent</c> to the window. </fsummary>
    <desc><p>This function sends one or more <seeerl marker="wxUpdateUIEvent"><c>wxUpdateUIEvent</c></seeerl> to the window. 
      </p><p>The particular implementation depends on the window; for example a <seeerl marker="wxToolBar"><c>wxToolBar</c></seeerl> will send an update UI event for each toolbar button, and a <seeerl marker="wxFrame"><c>wxFrame</c></seeerl> will send an update UI event for each menubar menu item.
      </p><p>You can call this function from your application to ensure that your UI is up-to-date at this point (as far as your <seeerl marker="wxUpdateUIEvent"><c>wxUpdateUIEvent</c></seeerl> handlers are concerned). This may be necessary if you have called <seemfa marker="wxUpdateUIEvent#setMode/1"><c>wxUpdateUIEvent:setMode/1</c></seemfa> or <seemfa marker="wxUpdateUIEvent#setUpdateInterval/1"><c>wxUpdateUIEvent:setUpdateInterval/1</c></seemfa> to limit the overhead that wxWidgets incurs by sending update UI events in idle time. <c>flags</c> should be a bitlist of one or more of the ?wxUpdateUI enumeration.
      </p><p>If you are calling this function from an OnInternalIdle or OnIdle function, make sure you pass the wxUPDATE_UI_FROMIDLE flag, since this tells the window to only update the UI elements that need to be updated in idle time. Some windows update their elements only when necessary, for example when a menu is about to be shown. The following is an example of how to call UpdateWindowUI from an idle function.
      </p><p>See: <seeerl marker="wxUpdateUIEvent"><c>wxUpdateUIEvent</c></seeerl>, <c>DoUpdateWindowUI()</c> (not implemented in wx), <c>OnInternalIdle()</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="validate" arity="1" clause_i="1" since=""/>
    <fsummary>Validates the current values of the child controls using their validators. </fsummary>
    <desc><p>Validates the current values of the child controls using their validators. 
      </p><p>Notice that this also calls <seemfa marker="#validate/1"><c>validate/1</c></seemfa> for all children recursively.
      </p><p>Return: Returns false if any of the validations failed.
      </p><p>See: <seemfa marker="#transferDataFromWindow/1"><c>transferDataFromWindow/1</c></seemfa>, <seemfa marker="#transferDataToWindow/1"><c>transferDataToWindow/1</c></seemfa>, <c>wxValidator</c> (not implemented in wx)
      </p></desc>
  </func>
  
  <func>
    <name name="warpPointer" arity="3" clause_i="1" since=""/>
    <fsummary>Moves the pointer to the given position on the window. </fsummary>
    <desc><p>Moves the pointer to the given position on the window. 
      </p><p>Note: Apple Human Interface Guidelines forbid moving the mouse cursor programmatically so you should avoid using this function in Mac applications (and probably avoid using it under the other platforms without good reason as well).
      </p></desc>
  </func>
  
  <func>
    <name name="setTransparent" arity="2" clause_i="1" since=""/>
    <fsummary>Set the transparency of the window. </fsummary>
    <desc><p>Set the transparency of the window. 
      </p><p>If the system supports transparent windows, returns true, otherwise returns false and the window remains fully opaque. See also <seemfa marker="#canSetTransparent/1"><c>canSetTransparent/1</c></seemfa>.
      </p><p>The parameter <c>alpha</c> is in the range 0..255 where 0 corresponds to a fully transparent window and 255 to the fully opaque one. The constants <c>wxIMAGE_ALPHA_TRANSPARENT</c> and <c>wxIMAGE_ALPHA_OPAQUE</c> can be used. 
      </p></desc>
  </func>
  
  <func>
    <name name="canSetTransparent" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the system supports transparent windows and calling <c>setTransparent/2</c> may succeed. </fsummary>
    <desc><p>Returns true if the system supports transparent windows and calling <seemfa marker="#setTransparent/2"><c>setTransparent/2</c></seemfa> may succeed. 
      </p><p>If this function returns false, transparent windows are definitely not supported by the current system. 
      </p></desc>
  </func>
  
  <func>
    <name name="isDoubleBuffered" arity="1" clause_i="1" since=""/>
    <fsummary>Returns true if the window contents is double-buffered by the system, i.e. if any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later. </fsummary>
    <desc><p>Returns true if the window contents is double-buffered by the system, i.e. if any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later. 
      </p><p>See: <seeerl marker="wxBufferedDC"><c>wxBufferedDC</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="setDoubleBuffered" arity="2" clause_i="1" since=""/>
    <fsummary>Turn on or off double buffering of the window if the system supports it. </fsummary>
    <desc><p>Turn on or off double buffering of the window if the system supports it. 
      </p></desc>
  </func>
  
  <func>
    <name name="getContentScaleFactor" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the factor mapping logical pixels of this window to physical pixels. </fsummary>
    <desc><p>Returns the factor mapping logical pixels of this window to physical pixels. 
      </p><p>This function can be used to portably determine the number of physical pixels in a window of the given size, by multiplying the window size by the value returned from it. I.e. it returns the factor converting window coordinates to "content view" coordinates, where the view can be just a simple window displaying a <seeerl marker="wxBitmap"><c>wxBitmap</c></seeerl> or <seeerl marker="wxGLCanvas"><c>wxGLCanvas</c></seeerl> or any other kind of window rendering arbitrary "content" on screen.
      </p><p>For the platforms not doing any pixel mapping, i.e. where logical and physical pixels are one and the same, this function always returns 1.0 and so using it is, in principle, unnecessary and could be avoided by using preprocessor check for <c>wxHAVE_DPI_INDEPENDENT_PIXELS</c> <c>not</c> being defined, however using this function unconditionally under all platforms is usually simpler and so preferable.
      </p><p>Note: Current behaviour of this function is compatible with wxWidgets 3.0, but different from its behaviour in versions 3.1.0 to 3.1.3, where it returned the same value as <seemfa marker="#getDPIScaleFactor/1"><c>getDPIScaleFactor/1</c></seemfa>. Please use the other function if you need to use a scaling factor greater than 1.0 even for the platforms without <c>wxHAVE_DPI_INDEPENDENT_PIXELS</c>, such as wxMSW.
      </p><p>Since: 2.9.5 
      </p></desc>
  </func>
  
  <func>
    <name name="getDPI" arity="1" clause_i="1" since=""/>
    <fsummary>Return the DPI of the display used by this window. </fsummary>
    <desc><p>Return the DPI of the display used by this window. 
      </p><p>The returned value can be different for different windows on systems with support for per-monitor DPI values, such as Microsoft Windows 10.
      </p><p>If the DPI is not available, returns {Width,Height} object.
      </p><p>See: <seemfa marker="wxDisplay#getPPI/1"><c>wxDisplay:getPPI/1</c></seemfa>, <c>wxDPIChangedEvent</c> (not implemented in wx)
      </p><p>Since: 3.1.3 
      </p></desc>
  </func>
  
  <func>
    <name name="fromDIP" arity="2" clause_i="1" since=""/>
  
    <name name="fromDIP" arity="2" clause_i="2" since=""/>
  
    <name name="fromDIP" arity="2" clause_i="3" since=""/>
  
    <name name="fromDIP" arity="2" clause_i="4" since=""/>
    <fsummary>Convert DPI-independent pixel values to the value in pixels appropriate for the current toolkit. </fsummary>
    <desc><p>Convert DPI-independent pixel values to the value in pixels appropriate for the current toolkit. 
      </p><p>A DPI-independent pixel is just a pixel at the standard 96 DPI resolution. To keep the same physical size at higher resolution, the physical pixel value must be scaled by <seemfa marker="#getDPIScaleFactor/1"><c>getDPIScaleFactor/1</c></seemfa> but this scaling may be already done by the underlying toolkit (GTK+, Cocoa, ...) automatically. This method performs the conversion only if it is not already done by the lower level toolkit and so by using it with pixel values you can guarantee that the physical size of the corresponding elements will remain the same in all resolutions under all platforms. For example, instead of creating a bitmap of the hard coded size of 32 pixels you should use  to avoid using tiny bitmaps on high DPI screens.
      </p><p>Notice that this function is only needed when using hard coded pixel values. It is not necessary if the sizes are already based on the DPI-independent units such as dialog units or if you are relying on the controls automatic best size determination and using sizers to lay out them.
      </p><p>Also note that if either component of <c>sz</c> has the special value of -1, it is returned unchanged independently of the current DPI, to preserve the special value of -1 in wxWidgets API (it is often used to mean "unspecified").
      </p><p>Since: 3.1.0 
      </p></desc>
  </func>
  
  <func>
    <name name="toDIP" arity="2" clause_i="1" since=""/>
  
    <name name="toDIP" arity="2" clause_i="2" since=""/>
  
    <name name="toDIP" arity="2" clause_i="3" since=""/>
  
    <name name="toDIP" arity="2" clause_i="4" since=""/>
    <fsummary>Convert pixel values of the current toolkit to DPI-independent pixel values. </fsummary>
    <desc><p>Convert pixel values of the current toolkit to DPI-independent pixel values. 
      </p><p>A DPI-independent pixel is just a pixel at the standard 96 DPI resolution. To keep the same physical size at higher resolution, the physical pixel value must be scaled by <seemfa marker="#getDPIScaleFactor/1"><c>getDPIScaleFactor/1</c></seemfa> but this scaling may be already done by the underlying toolkit (GTK+, Cocoa, ...) automatically. This method performs the conversion only if it is not already done by the lower level toolkit, For example, you may want to use this to store window sizes and positions so that they can be re-used regardless of the display DPI: 
      </p><p>Also note that if either component of <c>sz</c> has the special value of -1, it is returned unchanged independently of the current DPI, to preserve the special value of -1 in wxWidgets API (it is often used to mean "unspecified").
      </p><p>Since: 3.1.0 
      </p></desc>
  </func>
  </funcs>
</erlref>
