aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/src/gen')
-rw-r--r--lib/wx/src/gen/gl.erl4034
-rw-r--r--lib/wx/src/gen/gl_debug.hrl697
-rw-r--r--lib/wx/src/gen/glu.erl231
-rw-r--r--lib/wx/src/gen/wxAcceleratorEntry.erl109
-rw-r--r--lib/wx/src/gen/wxAcceleratorTable.erl62
-rw-r--r--lib/wx/src/gen/wxArtProvider.erl72
-rw-r--r--lib/wx/src/gen/wxAuiDockArt.erl34
-rw-r--r--lib/wx/src/gen/wxAuiManager.erl316
-rw-r--r--lib/wx/src/gen/wxAuiManagerEvent.erl163
-rw-r--r--lib/wx/src/gen/wxAuiNotebook.erl666
-rw-r--r--lib/wx/src/gen/wxAuiNotebookEvent.erl138
-rw-r--r--lib/wx/src/gen/wxAuiPaneInfo.erl785
-rw-r--r--lib/wx/src/gen/wxAuiTabArt.erl34
-rw-r--r--lib/wx/src/gen/wxBitmap.erl299
-rw-r--r--lib/wx/src/gen/wxBitmapButton.erl564
-rw-r--r--lib/wx/src/gen/wxBitmapDataObject.erl87
-rw-r--r--lib/wx/src/gen/wxBoxSizer.erl161
-rw-r--r--lib/wx/src/gen/wxBrush.erl142
-rw-r--r--lib/wx/src/gen/wxBufferedDC.erl348
-rw-r--r--lib/wx/src/gen/wxBufferedPaintDC.erl309
-rw-r--r--lib/wx/src/gen/wxButton.erl518
-rw-r--r--lib/wx/src/gen/wxCalendarCtrl.erl680
-rw-r--r--lib/wx/src/gen/wxCalendarDateAttr.erl227
-rw-r--r--lib/wx/src/gen/wxCalendarEvent.erl99
-rw-r--r--lib/wx/src/gen/wxCaret.erl181
-rw-r--r--lib/wx/src/gen/wxCheckBox.erl554
-rw-r--r--lib/wx/src/gen/wxCheckListBox.erl564
-rw-r--r--lib/wx/src/gen/wxChildFocusEvent.erl92
-rw-r--r--lib/wx/src/gen/wxChoice.erl574
-rw-r--r--lib/wx/src/gen/wxChoicebook.erl698
-rw-r--r--lib/wx/src/gen/wxClientDC.erl267
-rw-r--r--lib/wx/src/gen/wxClipboard.erl138
-rw-r--r--lib/wx/src/gen/wxCloseEvent.erl110
-rw-r--r--lib/wx/src/gen/wxColourData.erl100
-rw-r--r--lib/wx/src/gen/wxColourDialog.erl570
-rw-r--r--lib/wx/src/gen/wxColourPickerCtrl.erl560
-rw-r--r--lib/wx/src/gen/wxColourPickerEvent.erl92
-rw-r--r--lib/wx/src/gen/wxComboBox.erl693
-rw-r--r--lib/wx/src/gen/wxCommandEvent.erl129
-rw-r--r--lib/wx/src/gen/wxContextMenuEvent.erl100
-rw-r--r--lib/wx/src/gen/wxControl.erl449
-rw-r--r--lib/wx/src/gen/wxControlWithItems.erl612
-rw-r--r--lib/wx/src/gen/wxCursor.erl131
-rw-r--r--lib/wx/src/gen/wxDC.erl831
-rw-r--r--lib/wx/src/gen/wxDataObject.erl34
-rw-r--r--lib/wx/src/gen/wxDateEvent.erl92
-rw-r--r--lib/wx/src/gen/wxDatePickerCtrl.erl540
-rw-r--r--lib/wx/src/gen/wxDialog.erl630
-rw-r--r--lib/wx/src/gen/wxDirDialog.erl574
-rw-r--r--lib/wx/src/gen/wxDirPickerCtrl.erl550
-rw-r--r--lib/wx/src/gen/wxDisplayChangedEvent.erl62
-rw-r--r--lib/wx/src/gen/wxEraseEvent.erl69
-rw-r--r--lib/wx/src/gen/wxEvent.erl103
-rw-r--r--lib/wx/src/gen/wxEvtHandler.erl203
-rw-r--r--lib/wx/src/gen/wxFileDataObject.erl67
-rw-r--r--lib/wx/src/gen/wxFileDialog.erl658
-rw-r--r--lib/wx/src/gen/wxFileDirPickerEvent.erl92
-rw-r--r--lib/wx/src/gen/wxFilePickerCtrl.erl552
-rw-r--r--lib/wx/src/gen/wxFindReplaceData.erl101
-rw-r--r--lib/wx/src/gen/wxFindReplaceDialog.erl574
-rw-r--r--lib/wx/src/gen/wxFlexGridSizer.erl281
-rw-r--r--lib/wx/src/gen/wxFocusEvent.erl69
-rw-r--r--lib/wx/src/gen/wxFont.erl227
-rw-r--r--lib/wx/src/gen/wxFontData.erl153
-rw-r--r--lib/wx/src/gen/wxFontDialog.erl550
-rw-r--r--lib/wx/src/gen/wxFontPickerCtrl.erl563
-rw-r--r--lib/wx/src/gen/wxFontPickerEvent.erl92
-rw-r--r--lib/wx/src/gen/wxFrame.erl699
-rw-r--r--lib/wx/src/gen/wxGBSizerItem.erl110
-rw-r--r--lib/wx/src/gen/wxGLCanvas.erl524
-rw-r--r--lib/wx/src/gen/wxGauge.erl571
-rw-r--r--lib/wx/src/gen/wxGenericDirCtrl.erl618
-rw-r--r--lib/wx/src/gen/wxGraphicsBrush.erl43
-rw-r--r--lib/wx/src/gen/wxGraphicsContext.erl461
-rw-r--r--lib/wx/src/gen/wxGraphicsFont.erl43
-rw-r--r--lib/wx/src/gen/wxGraphicsMatrix.erl149
-rw-r--r--lib/wx/src/gen/wxGraphicsObject.erl48
-rw-r--r--lib/wx/src/gen/wxGraphicsPath.erl236
-rw-r--r--lib/wx/src/gen/wxGraphicsPen.erl43
-rw-r--r--lib/wx/src/gen/wxGraphicsRenderer.erl136
-rw-r--r--lib/wx/src/gen/wxGrid.erl2264
-rw-r--r--lib/wx/src/gen/wxGridBagSizer.erl525
-rw-r--r--lib/wx/src/gen/wxGridCellAttr.erl207
-rw-r--r--lib/wx/src/gen/wxGridCellBoolEditor.erl99
-rw-r--r--lib/wx/src/gen/wxGridCellBoolRenderer.erl55
-rw-r--r--lib/wx/src/gen/wxGridCellChoiceEditor.erl96
-rw-r--r--lib/wx/src/gen/wxGridCellEditor.erl135
-rw-r--r--lib/wx/src/gen/wxGridCellFloatEditor.erl94
-rw-r--r--lib/wx/src/gen/wxGridCellFloatRenderer.erl109
-rw-r--r--lib/wx/src/gen/wxGridCellNumberEditor.erl104
-rw-r--r--lib/wx/src/gen/wxGridCellNumberRenderer.erl58
-rw-r--r--lib/wx/src/gen/wxGridCellRenderer.erl56
-rw-r--r--lib/wx/src/gen/wxGridCellStringRenderer.erl55
-rw-r--r--lib/wx/src/gen/wxGridCellTextEditor.erl83
-rw-r--r--lib/wx/src/gen/wxGridEvent.erl151
-rw-r--r--lib/wx/src/gen/wxGridSizer.erl233
-rw-r--r--lib/wx/src/gen/wxHelpEvent.erl96
-rw-r--r--lib/wx/src/gen/wxHtmlEasyPrinting.erl196
-rw-r--r--lib/wx/src/gen/wxHtmlLinkEvent.erl92
-rw-r--r--lib/wx/src/gen/wxHtmlWindow.erl695
-rw-r--r--lib/wx/src/gen/wxIcon.erl131
-rw-r--r--lib/wx/src/gen/wxIconBundle.erl113
-rw-r--r--lib/wx/src/gen/wxIconizeEvent.erl69
-rw-r--r--lib/wx/src/gen/wxIdleEvent.erl111
-rw-r--r--lib/wx/src/gen/wxImage.erl905
-rw-r--r--lib/wx/src/gen/wxImageList.erl200
-rw-r--r--lib/wx/src/gen/wxJoystickEvent.erl174
-rw-r--r--lib/wx/src/gen/wxKeyEvent.erl162
-rw-r--r--lib/wx/src/gen/wxLayoutAlgorithm.erl104
-rw-r--r--lib/wx/src/gen/wxListBox.erl615
-rw-r--r--lib/wx/src/gen/wxListCtrl.erl1100
-rw-r--r--lib/wx/src/gen/wxListEvent.erl186
-rw-r--r--lib/wx/src/gen/wxListItem.erl242
-rw-r--r--lib/wx/src/gen/wxListView.erl513
-rw-r--r--lib/wx/src/gen/wxListbook.erl698
-rw-r--r--lib/wx/src/gen/wxLogNull.erl46
-rw-r--r--lib/wx/src/gen/wxMDIChildFrame.erl618
-rw-r--r--lib/wx/src/gen/wxMDIClientWindow.erl486
-rw-r--r--lib/wx/src/gen/wxMDIParentFrame.erl654
-rw-r--r--lib/wx/src/gen/wxMask.erl103
-rw-r--r--lib/wx/src/gen/wxMaximizeEvent.erl62
-rw-r--r--lib/wx/src/gen/wxMemoryDC.erl285
-rw-r--r--lib/wx/src/gen/wxMenu.erl624
-rw-r--r--lib/wx/src/gen/wxMenuBar.erl662
-rw-r--r--lib/wx/src/gen/wxMenuEvent.erl83
-rw-r--r--lib/wx/src/gen/wxMenuItem.erl245
-rw-r--r--lib/wx/src/gen/wxMessageDialog.erl541
-rw-r--r--lib/wx/src/gen/wxMiniFrame.erl590
-rw-r--r--lib/wx/src/gen/wxMirrorDC.erl259
-rw-r--r--lib/wx/src/gen/wxMouseCaptureChangedEvent.erl69
-rw-r--r--lib/wx/src/gen/wxMouseEvent.erl348
-rw-r--r--lib/wx/src/gen/wxMoveEvent.erl69
-rw-r--r--lib/wx/src/gen/wxMultiChoiceDialog.erl565
-rw-r--r--lib/wx/src/gen/wxNavigationKeyEvent.erl123
-rw-r--r--lib/wx/src/gen/wxNcPaintEvent.erl62
-rw-r--r--lib/wx/src/gen/wxNotebook.erl720
-rw-r--r--lib/wx/src/gen/wxNotebookEvent.erl122
-rw-r--r--lib/wx/src/gen/wxNotifyEvent.erl102
-rw-r--r--lib/wx/src/gen/wxPageSetupDialog.erl72
-rw-r--r--lib/wx/src/gen/wxPageSetupDialogData.erl294
-rw-r--r--lib/wx/src/gen/wxPaintDC.erl267
-rw-r--r--lib/wx/src/gen/wxPaintEvent.erl62
-rw-r--r--lib/wx/src/gen/wxPalette.erl98
-rw-r--r--lib/wx/src/gen/wxPaletteChangedEvent.erl77
-rw-r--r--lib/wx/src/gen/wxPanel.erl493
-rw-r--r--lib/wx/src/gen/wxPasswordEntryDialog.erl550
-rw-r--r--lib/wx/src/gen/wxPen.erl156
-rw-r--r--lib/wx/src/gen/wxPickerBase.erl552
-rw-r--r--lib/wx/src/gen/wxPostScriptDC.erl277
-rw-r--r--lib/wx/src/gen/wxPreviewCanvas.erl475
-rw-r--r--lib/wx/src/gen/wxPreviewControlBar.erl497
-rw-r--r--lib/wx/src/gen/wxPreviewFrame.erl593
-rw-r--r--lib/wx/src/gen/wxPrintData.erl207
-rw-r--r--lib/wx/src/gen/wxPrintDialog.erl564
-rw-r--r--lib/wx/src/gen/wxPrintDialogData.erl243
-rw-r--r--lib/wx/src/gen/wxPrintPreview.erl192
-rw-r--r--lib/wx/src/gen/wxPrinter.erl135
-rw-r--r--lib/wx/src/gen/wxPrintout.erl274
-rw-r--r--lib/wx/src/gen/wxProgressDialog.erl571
-rw-r--r--lib/wx/src/gen/wxQueryNewPaletteEvent.erl77
-rw-r--r--lib/wx/src/gen/wxRadioBox.erl663
-rw-r--r--lib/wx/src/gen/wxRadioButton.erl512
-rw-r--r--lib/wx/src/gen/wxRegion.erl305
-rw-r--r--lib/wx/src/gen/wxSashEvent.erl110
-rw-r--r--lib/wx/src/gen/wxSashLayoutWindow.erl566
-rw-r--r--lib/wx/src/gen/wxSashWindow.erl552
-rw-r--r--lib/wx/src/gen/wxScreenDC.erl257
-rw-r--r--lib/wx/src/gen/wxScrollBar.erl546
-rw-r--r--lib/wx/src/gen/wxScrollEvent.erl99
-rw-r--r--lib/wx/src/gen/wxScrollWinEvent.erl76
-rw-r--r--lib/wx/src/gen/wxScrolledWindow.erl590
-rw-r--r--lib/wx/src/gen/wxSetCursorEvent.erl98
-rw-r--r--lib/wx/src/gen/wxShowEvent.erl77
-rw-r--r--lib/wx/src/gen/wxSingleChoiceDialog.erl571
-rw-r--r--lib/wx/src/gen/wxSizeEvent.erl69
-rw-r--r--lib/wx/src/gen/wxSizer.erl761
-rw-r--r--lib/wx/src/gen/wxSizerFlags.erl134
-rw-r--r--lib/wx/src/gen/wxSizerItem.erl354
-rw-r--r--lib/wx/src/gen/wxSlider.erl579
-rw-r--r--lib/wx/src/gen/wxSpinButton.erl533
-rw-r--r--lib/wx/src/gen/wxSpinCtrl.erl562
-rw-r--r--lib/wx/src/gen/wxSpinEvent.erl109
-rw-r--r--lib/wx/src/gen/wxSplashScreen.erl582
-rw-r--r--lib/wx/src/gen/wxSplitterEvent.erl130
-rw-r--r--lib/wx/src/gen/wxSplitterWindow.erl680
-rw-r--r--lib/wx/src/gen/wxStaticBitmap.erl510
-rw-r--r--lib/wx/src/gen/wxStaticBox.erl495
-rw-r--r--lib/wx/src/gen/wxStaticBoxSizer.erl189
-rw-r--r--lib/wx/src/gen/wxStaticLine.erl509
-rw-r--r--lib/wx/src/gen/wxStaticText.erl515
-rw-r--r--lib/wx/src/gen/wxStatusBar.erl625
-rw-r--r--lib/wx/src/gen/wxStdDialogButtonSizer.erl198
-rw-r--r--lib/wx/src/gen/wxStyledTextCtrl.erl3980
-rw-r--r--lib/wx/src/gen/wxStyledTextEvent.erl252
-rw-r--r--lib/wx/src/gen/wxSysColourChangedEvent.erl62
-rw-r--r--lib/wx/src/gen/wxTextAttr.erl253
-rw-r--r--lib/wx/src/gen/wxTextCtrl.erl876
-rw-r--r--lib/wx/src/gen/wxTextDataObject.erl84
-rw-r--r--lib/wx/src/gen/wxTextEntryDialog.erl558
-rw-r--r--lib/wx/src/gen/wxToggleButton.erl512
-rw-r--r--lib/wx/src/gen/wxToolBar.erl919
-rw-r--r--lib/wx/src/gen/wxToolTip.erl85
-rw-r--r--lib/wx/src/gen/wxToolbook.erl698
-rw-r--r--lib/wx/src/gen/wxTopLevelWindow.erl631
-rw-r--r--lib/wx/src/gen/wxTreeCtrl.erl1146
-rw-r--r--lib/wx/src/gen/wxTreeEvent.erl153
-rw-r--r--lib/wx/src/gen/wxTreebook.erl746
-rw-r--r--lib/wx/src/gen/wxUpdateUIEvent.erl219
-rw-r--r--lib/wx/src/gen/wxWindow.erl1708
-rw-r--r--lib/wx/src/gen/wxWindowCreateEvent.erl85
-rw-r--r--lib/wx/src/gen/wxWindowDC.erl264
-rw-r--r--lib/wx/src/gen/wxWindowDestroyEvent.erl85
-rw-r--r--lib/wx/src/gen/wxXmlResource.erl326
-rw-r--r--lib/wx/src/gen/wx_misc.erl216
-rw-r--r--lib/wx/src/gen/wxe_debug.hrl3279
-rw-r--r--lib/wx/src/gen/wxe_funcs.hrl3273
216 files changed, 86593 insertions, 0 deletions
diff --git a/lib/wx/src/gen/gl.erl b/lib/wx/src/gen/gl.erl
new file mode 100644
index 0000000000..8220acad98
--- /dev/null
+++ b/lib/wx/src/gen/gl.erl
@@ -0,0 +1,4034 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+
+%% OPENGL API
+
+%% This file is generated DO NOT EDIT
+
+%% @doc Standard OpenGL api.
+%% See <a href="http://www.opengl.org/sdk/docs/man/">www.opengl.org</a>
+%%
+%% Booleans are represented by integers 0 and 1.
+
+%% @type wx_mem(). see wx.erl on memory allocation functions
+%% @type enum(). An integer defined in gl.hrl
+%% @type offset(). An integer which is an offset in an array
+%% @type clamp(). A float clamped between 0.0 - 1.0
+-module(gl).
+
+-compile(inline).
+-include("wxe.hrl").
+-define(GLenum,32/native-unsigned).
+-define(GLboolean,8/native-unsigned).
+-define(GLbitfield,32/native-unsigned).
+-define(GLbyte,8/native-signed).
+-define(GLshort,16/native-signed).
+-define(GLint,32/native-signed).
+-define(GLubyte,8/native-unsigned).
+-define(GLushort,16/native-unsigned).
+-define(GLuint,32/native-unsigned).
+-define(GLsizei,32/native-signed).
+-define(GLfloat,32/native-float).
+-define(GLclampf,32/native-float).
+-define(GLdouble,64/native-float).
+-define(GLclampd,64/native-float).
+-define(GLsizeiptr,64/native-unsigned).
+-define(GLintptr,64/native-unsigned).
+-define(GLUquadric,64/native-unsigned).
+-define(GLhandleARB,64/native-unsigned).
+
+-export([accum/2,alphaFunc/2,areTexturesResident/1,arrayElement/1,'begin'/1,
+ bindTexture/2,bitmap/7,blendFunc/2,callList/1,callLists/1,clear/1,clearAccum/4,
+ clearColor/4,clearDepth/1,clearIndex/1,clearStencil/1,clipPlane/2,
+ color3b/3,color3bv/1,color3d/3,color3dv/1,color3f/3,color3fv/1,color3i/3,
+ color3iv/1,color3s/3,color3sv/1,color3ub/3,color3ubv/1,color3ui/3,color3uiv/1,
+ color3us/3,color3usv/1,color4b/4,color4bv/1,color4d/4,color4dv/1,color4f/4,
+ color4fv/1,color4i/4,color4iv/1,color4s/4,color4sv/1,color4ub/4,color4ubv/1,
+ color4ui/4,color4uiv/1,color4us/4,color4usv/1,colorMask/4,colorMaterial/2,
+ colorPointer/4,copyPixels/5,copyTexImage1D/7,copyTexImage2D/8,copyTexSubImage1D/6,
+ copyTexSubImage2D/8,cullFace/1,deleteLists/2,deleteTextures/1,depthFunc/1,
+ depthMask/1,depthRange/2,disable/1,disableClientState/1,drawArrays/3,
+ drawBuffer/1,drawElements/4,drawPixels/5,edgeFlag/1,edgeFlagPointer/2,
+ edgeFlagv/1,enable/1,enableClientState/1,'end'/0,endList/0,evalCoord1d/1,
+ evalCoord1dv/1,evalCoord1f/1,evalCoord1fv/1,evalCoord2d/2,evalCoord2dv/1,
+ evalCoord2f/2,evalCoord2fv/1,evalMesh1/3,evalMesh2/5,evalPoint1/1,
+ evalPoint2/2,feedbackBuffer/3,finish/0,flush/0,fogf/2,fogfv/2,fogi/2,
+ fogiv/2,frontFace/1,frustum/6,genLists/1,genTextures/1,getBooleanv/1,
+ getClipPlane/1,getDoublev/1,getError/0,getFloatv/1,getIntegerv/1,getLightfv/2,
+ getLightiv/2,getMapdv/3,getMapfv/3,getMapiv/3,getMaterialfv/2,getMaterialiv/2,
+ getPixelMapfv/2,getPixelMapuiv/2,getPixelMapusv/2,getPolygonStipple/0,
+ getString/1,getTexEnvfv/2,getTexEnviv/2,getTexGendv/2,getTexGenfv/2,
+ getTexGeniv/2,getTexImage/5,getTexLevelParameterfv/3,getTexLevelParameteriv/3,
+ getTexParameterfv/2,getTexParameteriv/2,hint/2,indexMask/1,indexPointer/3,
+ indexd/1,indexdv/1,indexf/1,indexfv/1,indexi/1,indexiv/1,indexs/1,indexsv/1,
+ indexub/1,indexubv/1,initNames/0,interleavedArrays/3,isEnabled/1,isList/1,
+ isTexture/1,lightModelf/2,lightModelfv/2,lightModeli/2,lightModeliv/2,
+ lightf/3,lightfv/3,lighti/3,lightiv/3,lineStipple/2,lineWidth/1,listBase/1,
+ loadIdentity/0,loadMatrixd/1,loadMatrixf/1,loadName/1,logicOp/1,map1d/6,
+ map1f/6,map2d/10,map2f/10,mapGrid1d/3,mapGrid1f/3,mapGrid2d/6,mapGrid2f/6,
+ materialf/3,materialfv/3,materiali/3,materialiv/3,matrixMode/1,multMatrixd/1,
+ multMatrixf/1,newList/2,normal3b/3,normal3bv/1,normal3d/3,normal3dv/1,
+ normal3f/3,normal3fv/1,normal3i/3,normal3iv/1,normal3s/3,normal3sv/1,
+ normalPointer/3,ortho/6,passThrough/1,pixelMapfv/3,pixelMapuiv/3,pixelMapusv/3,
+ pixelStoref/2,pixelStorei/2,pixelTransferf/2,pixelTransferi/2,pixelZoom/2,
+ pointSize/1,polygonMode/2,polygonOffset/2,polygonStipple/1,popAttrib/0,
+ popClientAttrib/0,popMatrix/0,popName/0,prioritizeTextures/2,pushAttrib/1,
+ pushClientAttrib/1,pushMatrix/0,pushName/1,rasterPos2d/2,rasterPos2dv/1,
+ rasterPos2f/2,rasterPos2fv/1,rasterPos2i/2,rasterPos2iv/1,rasterPos2s/2,
+ rasterPos2sv/1,rasterPos3d/3,rasterPos3dv/1,rasterPos3f/3,rasterPos3fv/1,
+ rasterPos3i/3,rasterPos3iv/1,rasterPos3s/3,rasterPos3sv/1,rasterPos4d/4,
+ rasterPos4dv/1,rasterPos4f/4,rasterPos4fv/1,rasterPos4i/4,rasterPos4iv/1,
+ rasterPos4s/4,rasterPos4sv/1,readBuffer/1,readPixels/7,rectd/4,rectdv/2,
+ rectf/4,rectfv/2,recti/4,rectiv/2,rects/4,rectsv/2,renderMode/1,rotated/4,
+ rotatef/4,scaled/3,scalef/3,scissor/4,selectBuffer/2,shadeModel/1,stencilFunc/3,
+ stencilMask/1,stencilOp/3,texCoord1d/1,texCoord1dv/1,texCoord1f/1,
+ texCoord1fv/1,texCoord1i/1,texCoord1iv/1,texCoord1s/1,texCoord1sv/1,
+ texCoord2d/2,texCoord2dv/1,texCoord2f/2,texCoord2fv/1,texCoord2i/2,
+ texCoord2iv/1,texCoord2s/2,texCoord2sv/1,texCoord3d/3,texCoord3dv/1,
+ texCoord3f/3,texCoord3fv/1,texCoord3i/3,texCoord3iv/1,texCoord3s/3,
+ texCoord3sv/1,texCoord4d/4,texCoord4dv/1,texCoord4f/4,texCoord4fv/1,
+ texCoord4i/4,texCoord4iv/1,texCoord4s/4,texCoord4sv/1,texCoordPointer/4,
+ texEnvf/3,texEnvfv/3,texEnvi/3,texEnviv/3,texGend/3,texGendv/3,texGenf/3,
+ texGenfv/3,texGeni/3,texGeniv/3,texImage1D/8,texImage2D/9,texParameterf/3,
+ texParameterfv/3,texParameteri/3,texParameteriv/3,texSubImage1D/7,
+ texSubImage2D/9,translated/3,translatef/3,vertex2d/2,vertex2dv/1,vertex2f/2,
+ vertex2fv/1,vertex2i/2,vertex2iv/1,vertex2s/2,vertex2sv/1,vertex3d/3,
+ vertex3dv/1,vertex3f/3,vertex3fv/1,vertex3i/3,vertex3iv/1,vertex3s/3,
+ vertex3sv/1,vertex4d/4,vertex4dv/1,vertex4f/4,vertex4fv/1,vertex4i/4,
+ vertex4iv/1,vertex4s/4,vertex4sv/1,vertexPointer/4,viewport/4,blendColor/4,
+ blendEquation/1,drawRangeElements/6,texImage3D/10,texSubImage3D/11,
+ copyTexSubImage3D/9,colorTable/6,colorTableParameterfv/3,colorTableParameteriv/3,
+ copyColorTable/5,getColorTable/4,getColorTableParameterfv/2,getColorTableParameteriv/2,
+ colorSubTable/6,copyColorSubTable/5,convolutionFilter1D/6,convolutionFilter2D/7,
+ convolutionParameterf/3,convolutionParameterfv/3,convolutionParameteri/3,
+ convolutionParameteriv/3,copyConvolutionFilter1D/5,copyConvolutionFilter2D/6,
+ getConvolutionFilter/4,getConvolutionParameterfv/2,getConvolutionParameteriv/2,
+ separableFilter2D/8,getHistogram/5,getHistogramParameterfv/2,getHistogramParameteriv/2,
+ getMinmax/5,getMinmaxParameterfv/2,getMinmaxParameteriv/2,histogram/4,
+ minmax/3,resetHistogram/1,resetMinmax/1,activeTexture/1,sampleCoverage/2,
+ compressedTexImage3D/9,compressedTexImage2D/8,compressedTexImage1D/7,
+ compressedTexSubImage3D/11,compressedTexSubImage2D/9,compressedTexSubImage1D/7,
+ getCompressedTexImage/3,clientActiveTexture/1,multiTexCoord1d/2,
+ multiTexCoord1dv/2,multiTexCoord1f/2,multiTexCoord1fv/2,multiTexCoord1i/2,
+ multiTexCoord1iv/2,multiTexCoord1s/2,multiTexCoord1sv/2,multiTexCoord2d/3,
+ multiTexCoord2dv/2,multiTexCoord2f/3,multiTexCoord2fv/2,multiTexCoord2i/3,
+ multiTexCoord2iv/2,multiTexCoord2s/3,multiTexCoord2sv/2,multiTexCoord3d/4,
+ multiTexCoord3dv/2,multiTexCoord3f/4,multiTexCoord3fv/2,multiTexCoord3i/4,
+ multiTexCoord3iv/2,multiTexCoord3s/4,multiTexCoord3sv/2,multiTexCoord4d/5,
+ multiTexCoord4dv/2,multiTexCoord4f/5,multiTexCoord4fv/2,multiTexCoord4i/5,
+ multiTexCoord4iv/2,multiTexCoord4s/5,multiTexCoord4sv/2,loadTransposeMatrixf/1,
+ loadTransposeMatrixd/1,multTransposeMatrixf/1,multTransposeMatrixd/1,
+ blendFuncSeparate/4,multiDrawArrays/3,pointParameterf/2,pointParameterfv/2,
+ pointParameteri/2,pointParameteriv/2,fogCoordf/1,fogCoordfv/1,fogCoordd/1,
+ fogCoorddv/1,fogCoordPointer/3,secondaryColor3b/3,secondaryColor3bv/1,
+ secondaryColor3d/3,secondaryColor3dv/1,secondaryColor3f/3,secondaryColor3fv/1,
+ secondaryColor3i/3,secondaryColor3iv/1,secondaryColor3s/3,secondaryColor3sv/1,
+ secondaryColor3ub/3,secondaryColor3ubv/1,secondaryColor3ui/3,secondaryColor3uiv/1,
+ secondaryColor3us/3,secondaryColor3usv/1,secondaryColorPointer/4,
+ windowPos2d/2,windowPos2dv/1,windowPos2f/2,windowPos2fv/1,windowPos2i/2,
+ windowPos2iv/1,windowPos2s/2,windowPos2sv/1,windowPos3d/3,windowPos3dv/1,
+ windowPos3f/3,windowPos3fv/1,windowPos3i/3,windowPos3iv/1,windowPos3s/3,
+ windowPos3sv/1,genQueries/1,deleteQueries/1,isQuery/1,beginQuery/2,
+ endQuery/1,getQueryiv/2,getQueryObjectiv/2,getQueryObjectuiv/2,bindBuffer/2,
+ deleteBuffers/1,genBuffers/1,isBuffer/1,bufferData/4,bufferSubData/4,
+ getBufferSubData/4,getBufferParameteriv/2,blendEquationSeparate/2,
+ drawBuffers/1,stencilOpSeparate/4,stencilFuncSeparate/4,stencilMaskSeparate/2,
+ attachShader/2,bindAttribLocation/3,compileShader/1,createProgram/0,
+ createShader/1,deleteProgram/1,deleteShader/1,detachShader/2,disableVertexAttribArray/1,
+ enableVertexAttribArray/1,getActiveAttrib/3,getActiveUniform/3,getAttachedShaders/2,
+ getAttribLocation/2,getProgramiv/2,getProgramInfoLog/2,getShaderiv/2,
+ getShaderInfoLog/2,getShaderSource/2,getUniformLocation/2,getUniformfv/2,
+ getUniformiv/2,getVertexAttribdv/2,getVertexAttribfv/2,getVertexAttribiv/2,
+ isProgram/1,isShader/1,linkProgram/1,shaderSource/2,useProgram/1,uniform1f/2,
+ uniform2f/3,uniform3f/4,uniform4f/5,uniform1i/2,uniform2i/3,uniform3i/4,
+ uniform4i/5,uniform1fv/2,uniform2fv/2,uniform3fv/2,uniform4fv/2,uniform1iv/2,
+ uniform2iv/2,uniform3iv/2,uniform4iv/2,uniformMatrix2fv/3,uniformMatrix3fv/3,
+ uniformMatrix4fv/3,validateProgram/1,vertexAttrib1d/2,vertexAttrib1dv/2,
+ vertexAttrib1f/2,vertexAttrib1fv/2,vertexAttrib1s/2,vertexAttrib1sv/2,
+ vertexAttrib2d/3,vertexAttrib2dv/2,vertexAttrib2f/3,vertexAttrib2fv/2,
+ vertexAttrib2s/3,vertexAttrib2sv/2,vertexAttrib3d/4,vertexAttrib3dv/2,
+ vertexAttrib3f/4,vertexAttrib3fv/2,vertexAttrib3s/4,vertexAttrib3sv/2,
+ vertexAttrib4Nbv/2,vertexAttrib4Niv/2,vertexAttrib4Nsv/2,vertexAttrib4Nub/5,
+ vertexAttrib4Nubv/2,vertexAttrib4Nuiv/2,vertexAttrib4Nusv/2,vertexAttrib4bv/2,
+ vertexAttrib4d/5,vertexAttrib4dv/2,vertexAttrib4f/5,vertexAttrib4fv/2,
+ vertexAttrib4iv/2,vertexAttrib4s/5,vertexAttrib4sv/2,vertexAttrib4ubv/2,
+ vertexAttrib4uiv/2,vertexAttrib4usv/2,vertexAttribPointer/6,uniformMatrix2x3fv/3,
+ uniformMatrix3x2fv/3,uniformMatrix2x4fv/3,uniformMatrix4x2fv/3,uniformMatrix3x4fv/3,
+ uniformMatrix4x3fv/3,colorMaski/5,getBooleani_v/2,getIntegeri_v/2,
+ enablei/2,disablei/2,isEnabledi/2,beginTransformFeedback/1,endTransformFeedback/0,
+ bindBufferRange/5,bindBufferBase/3,transformFeedbackVaryings/3,getTransformFeedbackVarying/3,
+ clampColor/2,beginConditionalRender/2,endConditionalRender/0,vertexAttribIPointer/5,
+ getVertexAttribIiv/2,getVertexAttribIuiv/2,getUniformuiv/2,bindFragDataLocation/3,
+ getFragDataLocation/2,uniform1ui/2,uniform2ui/3,uniform3ui/4,uniform4ui/5,
+ uniform1uiv/2,uniform2uiv/2,uniform3uiv/2,uniform4uiv/2,texParameterIiv/3,
+ texParameterIuiv/3,getTexParameterIiv/2,getTexParameterIuiv/2,clearBufferiv/3,
+ clearBufferuiv/3,clearBufferfv/3,clearBufferfi/4,getStringi/2,vertexAttribI1i/2,
+ vertexAttribI2i/3,vertexAttribI3i/4,vertexAttribI4i/5,vertexAttribI1ui/2,
+ vertexAttribI2ui/3,vertexAttribI3ui/4,vertexAttribI4ui/5,vertexAttribI1iv/2,
+ vertexAttribI2iv/2,vertexAttribI3iv/2,vertexAttribI4iv/2,vertexAttribI1uiv/2,
+ vertexAttribI2uiv/2,vertexAttribI3uiv/2,vertexAttribI4uiv/2,vertexAttribI4bv/2,
+ vertexAttribI4sv/2,vertexAttribI4ubv/2,vertexAttribI4usv/2,drawArraysInstanced/4,
+ drawElementsInstanced/5,texBuffer/3,primitiveRestartIndex/1,loadTransposeMatrixfARB/1,
+ loadTransposeMatrixdARB/1,multTransposeMatrixfARB/1,multTransposeMatrixdARB/1,
+ weightbvARB/1,weightsvARB/1,weightivARB/1,weightfvARB/1,weightdvARB/1,
+ weightubvARB/1,weightusvARB/1,weightuivARB/1,vertexBlendARB/1,currentPaletteMatrixARB/1,
+ matrixIndexubvARB/1,matrixIndexusvARB/1,matrixIndexuivARB/1,programStringARB/3,
+ bindProgramARB/2,deleteProgramsARB/1,genProgramsARB/1,programEnvParameter4dARB/6,
+ programEnvParameter4dvARB/3,programEnvParameter4fARB/6,programEnvParameter4fvARB/3,
+ programLocalParameter4dARB/6,programLocalParameter4dvARB/3,programLocalParameter4fARB/6,
+ programLocalParameter4fvARB/3,getProgramEnvParameterdvARB/2,getProgramEnvParameterfvARB/2,
+ getProgramLocalParameterdvARB/2,getProgramLocalParameterfvARB/2,
+ getProgramStringARB/3,deleteObjectARB/1,getHandleARB/1,detachObjectARB/2,
+ createShaderObjectARB/1,shaderSourceARB/2,compileShaderARB/1,createProgramObjectARB/0,
+ attachObjectARB/2,linkProgramARB/1,useProgramObjectARB/1,validateProgramARB/1,
+ getObjectParameterfvARB/2,getObjectParameterivARB/2,getInfoLogARB/2,
+ getAttachedObjectsARB/2,getUniformLocationARB/2,getActiveUniformARB/3,
+ getUniformfvARB/2,getUniformivARB/2,getShaderSourceARB/2,bindAttribLocationARB/3,
+ getActiveAttribARB/3,getAttribLocationARB/2,isRenderbuffer/1,bindRenderbuffer/2,
+ deleteRenderbuffers/1,genRenderbuffers/1,renderbufferStorage/4,getRenderbufferParameteriv/2,
+ isFramebuffer/1,bindFramebuffer/2,deleteFramebuffers/1,genFramebuffers/1,
+ checkFramebufferStatus/1,framebufferTexture1D/5,framebufferTexture2D/5,
+ framebufferTexture3D/6,framebufferRenderbuffer/4,getFramebufferAttachmentParameteriv/3,
+ generateMipmap/1,blitFramebuffer/10,renderbufferStorageMultisample/5,
+ framebufferTextureLayer/5,programParameteriARB/3,framebufferTextureARB/4,
+ framebufferTextureFaceARB/5,vertexAttribDivisorARB/2,flushMappedBufferRange/3,
+ bindVertexArray/1,deleteVertexArrays/1,genVertexArrays/1,isVertexArray/1,
+ getUniformIndices/2,getActiveUniformsiv/3,getActiveUniformName/3,
+ getUniformBlockIndex/2,getActiveUniformBlockiv/4,getActiveUniformBlockName/3,
+ uniformBlockBinding/3,copyBufferSubData/5,resizeBuffersMESA/0,windowPos4dMESA/4,
+ windowPos4dvMESA/1,windowPos4fMESA/4,windowPos4fvMESA/1,windowPos4iMESA/4,
+ windowPos4ivMESA/1,windowPos4sMESA/4,windowPos4svMESA/1,depthBoundsEXT/2,
+ stencilClearTagEXT/2]).
+
+
+%% API
+
+%% @spec (Op::enum(),Value::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAccum.xml">external</a> documentation.
+accum(Op,Value) ->
+ wxe_util:cast(5037, <<Op:?GLenum,Value:?GLfloat>>).
+
+%% @spec (Func::enum(),Ref::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAlphaFunc.xml">external</a> documentation.
+alphaFunc(Func,Ref) ->
+ wxe_util:cast(5038, <<Func:?GLenum,Ref:?GLclampf>>).
+
+%% @spec (Textures::[integer()]) -> {0|1,Residences::[0|1]}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAreTexturesResident.xml">external</a> documentation.
+areTexturesResident(Textures) ->
+ wxe_util:call(5039, <<(length(Textures)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>).
+
+%% @spec (I::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glArrayElement.xml">external</a> documentation.
+arrayElement(I) ->
+ wxe_util:cast(5040, <<I:?GLint>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBegin.xml">external</a> documentation.
+'begin'(Mode) ->
+ wxe_util:cast(5041, <<Mode:?GLenum>>).
+
+%% @spec (Target::enum(),Texture::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindTexture.xml">external</a> documentation.
+bindTexture(Target,Texture) ->
+ wxe_util:cast(5042, <<Target:?GLenum,Texture:?GLuint>>).
+
+%% @spec (Width::integer(),Height::integer(),Xorig::float(),Yorig::float(),Xmove::float(),Ymove::float(),Bitmap::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBitmap.xml">external</a> documentation.
+bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) when is_integer(Bitmap) ->
+ wxe_util:cast(5043, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat,Bitmap:?GLuint>>);
+bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) ->
+ wxe_util:send_bin(Bitmap),
+ wxe_util:cast(5044, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat>>).
+
+%% @spec (Sfactor::enum(),Dfactor::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml">external</a> documentation.
+blendFunc(Sfactor,Dfactor) ->
+ wxe_util:cast(5045, <<Sfactor:?GLenum,Dfactor:?GLenum>>).
+
+%% @spec (List::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCallList.xml">external</a> documentation.
+callList(List) ->
+ wxe_util:cast(5046, <<List:?GLuint>>).
+
+%% @spec (Lists::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCallLists.xml">external</a> documentation.
+callLists(Lists) ->
+ wxe_util:cast(5047, <<(length(Lists)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Lists>>)/binary,0:(((1+length(Lists)) rem 2)*32)>>).
+
+%% @spec (Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClear.xml">external</a> documentation.
+clear(Mask) ->
+ wxe_util:cast(5048, <<Mask:?GLbitfield>>).
+
+%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearAccum.xml">external</a> documentation.
+clearAccum(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5049, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>).
+
+%% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearColor.xml">external</a> documentation.
+clearColor(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5050, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>).
+
+%% @spec (Depth::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearDepth.xml">external</a> documentation.
+clearDepth(Depth) ->
+ wxe_util:cast(5051, <<Depth:?GLclampd>>).
+
+%% @spec (C::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearIndex.xml">external</a> documentation.
+clearIndex(C) ->
+ wxe_util:cast(5052, <<C:?GLfloat>>).
+
+%% @spec (S::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearStencil.xml">external</a> documentation.
+clearStencil(S) ->
+ wxe_util:cast(5053, <<S:?GLint>>).
+
+%% @spec (Plane::enum(),Equation::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml">external</a> documentation.
+clipPlane(Plane,{E1,E2,E3,E4}) ->
+ wxe_util:cast(5054, <<Plane:?GLenum,0:32,E1:?GLdouble,E2:?GLdouble,E3:?GLdouble,E4:?GLdouble>>).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3b(Red,Green,Blue) ->
+ wxe_util:cast(5055, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3b(Red,Green,Blue)
+color3bv({Red,Green,Blue}) -> color3b(Red,Green,Blue).
+
+%% @spec (Red::float(),Green::float(),Blue::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3d(Red,Green,Blue) ->
+ wxe_util:cast(5056, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3d(Red,Green,Blue)
+color3dv({Red,Green,Blue}) -> color3d(Red,Green,Blue).
+
+%% @spec (Red::float(),Green::float(),Blue::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3f(Red,Green,Blue) ->
+ wxe_util:cast(5057, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3f(Red,Green,Blue)
+color3fv({Red,Green,Blue}) -> color3f(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3i(Red,Green,Blue) ->
+ wxe_util:cast(5058, <<Red:?GLint,Green:?GLint,Blue:?GLint>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3i(Red,Green,Blue)
+color3iv({Red,Green,Blue}) -> color3i(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3s(Red,Green,Blue) ->
+ wxe_util:cast(5059, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3s(Red,Green,Blue)
+color3sv({Red,Green,Blue}) -> color3s(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3ub(Red,Green,Blue) ->
+ wxe_util:cast(5060, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3ub(Red,Green,Blue)
+color3ubv({Red,Green,Blue}) -> color3ub(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3ui(Red,Green,Blue) ->
+ wxe_util:cast(5061, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3ui(Red,Green,Blue)
+color3uiv({Red,Green,Blue}) -> color3ui(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color3us(Red,Green,Blue) ->
+ wxe_util:cast(5062, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv color3us(Red,Green,Blue)
+color3usv({Red,Green,Blue}) -> color3us(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4b(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5063, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte,Alpha:?GLbyte>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4b(Red,Green,Blue,Alpha)
+color4bv({Red,Green,Blue,Alpha}) -> color4b(Red,Green,Blue,Alpha).
+
+%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4d(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5064, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble,Alpha:?GLdouble>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4d(Red,Green,Blue,Alpha)
+color4dv({Red,Green,Blue,Alpha}) -> color4d(Red,Green,Blue,Alpha).
+
+%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4f(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5065, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4f(Red,Green,Blue,Alpha)
+color4fv({Red,Green,Blue,Alpha}) -> color4f(Red,Green,Blue,Alpha).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4i(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5066, <<Red:?GLint,Green:?GLint,Blue:?GLint,Alpha:?GLint>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4i(Red,Green,Blue,Alpha)
+color4iv({Red,Green,Blue,Alpha}) -> color4i(Red,Green,Blue,Alpha).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4s(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5067, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort,Alpha:?GLshort>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4s(Red,Green,Blue,Alpha)
+color4sv({Red,Green,Blue,Alpha}) -> color4s(Red,Green,Blue,Alpha).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4ub(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5068, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte,Alpha:?GLubyte>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4ub(Red,Green,Blue,Alpha)
+color4ubv({Red,Green,Blue,Alpha}) -> color4ub(Red,Green,Blue,Alpha).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4ui(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5069, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint,Alpha:?GLuint>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4ui(Red,Green,Blue,Alpha)
+color4uiv({Red,Green,Blue,Alpha}) -> color4ui(Red,Green,Blue,Alpha).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation.
+color4us(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5070, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort,Alpha:?GLushort>>).
+
+%% @spec ({Red,Green,Blue,Alpha}) -> ok
+%% @equiv color4us(Red,Green,Blue,Alpha)
+color4usv({Red,Green,Blue,Alpha}) -> color4us(Red,Green,Blue,Alpha).
+
+%% @spec (Red::0|1,Green::0|1,Blue::0|1,Alpha::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMask.xml">external</a> documentation.
+colorMask(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5071, <<Red:?GLboolean,Green:?GLboolean,Blue:?GLboolean,Alpha:?GLboolean>>).
+
+%% @spec (Face::enum(),Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml">external</a> documentation.
+colorMaterial(Face,Mode) ->
+ wxe_util:cast(5072, <<Face:?GLenum,Mode:?GLenum>>).
+
+%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorPointer.xml">external</a> documentation.
+colorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5073, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+colorPointer(Size,Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5074, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Type::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyPixels.xml">external</a> documentation.
+copyPixels(X,Y,Width,Height,Type) ->
+ wxe_util:cast(5075, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Border::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage1D.xml">external</a> documentation.
+copyTexImage1D(Target,Level,InternalFormat,X,Y,Width,Border) ->
+ wxe_util:cast(5076, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Border:?GLint>>).
+
+%% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer(),Border::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml">external</a> documentation.
+copyTexImage2D(Target,Level,InternalFormat,X,Y,Width,Height,Border) ->
+ wxe_util:cast(5077, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),X::integer(),Y::integer(),Width::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage1D.xml">external</a> documentation.
+copyTexSubImage1D(Target,Level,Xoffset,X,Y,Width) ->
+ wxe_util:cast(5078, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage2D.xml">external</a> documentation.
+copyTexSubImage2D(Target,Level,Xoffset,Yoffset,X,Y,Width,Height) ->
+ wxe_util:cast(5079, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCullFace.xml">external</a> documentation.
+cullFace(Mode) ->
+ wxe_util:cast(5080, <<Mode:?GLenum>>).
+
+%% @spec (List::integer(),Range::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteLists.xml">external</a> documentation.
+deleteLists(List,Range) ->
+ wxe_util:cast(5081, <<List:?GLuint,Range:?GLsizei>>).
+
+%% @spec (Textures::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteTextures.xml">external</a> documentation.
+deleteTextures(Textures) ->
+ wxe_util:cast(5082, <<(length(Textures)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>).
+
+%% @spec (Func::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthFunc.xml">external</a> documentation.
+depthFunc(Func) ->
+ wxe_util:cast(5083, <<Func:?GLenum>>).
+
+%% @spec (Flag::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthMask.xml">external</a> documentation.
+depthMask(Flag) ->
+ wxe_util:cast(5084, <<Flag:?GLboolean>>).
+
+%% @spec (ZNear::clamp(),ZFar::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.xml">external</a> documentation.
+depthRange(ZNear,ZFar) ->
+ wxe_util:cast(5085, <<ZNear:?GLclampd,ZFar:?GLclampd>>).
+
+%% @spec (Cap::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisable.xml">external</a> documentation.
+disable(Cap) ->
+ wxe_util:cast(5086, <<Cap:?GLenum>>).
+
+%% @spec (Array::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisableClientState.xml">external</a> documentation.
+disableClientState(Array) ->
+ wxe_util:cast(5087, <<Array:?GLenum>>).
+
+%% @spec (Mode::enum(),First::integer(),Count::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawArrays.xml">external</a> documentation.
+drawArrays(Mode,First,Count) ->
+ wxe_util:cast(5088, <<Mode:?GLenum,First:?GLint,Count:?GLsizei>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawBuffer.xml">external</a> documentation.
+drawBuffer(Mode) ->
+ wxe_util:cast(5089, <<Mode:?GLenum>>).
+
+%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElements.xml">external</a> documentation.
+drawElements(Mode,Count,Type,Indices) when is_integer(Indices) ->
+ wxe_util:cast(5090, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>);
+drawElements(Mode,Count,Type,Indices) ->
+ wxe_util:send_bin(Indices),
+ wxe_util:cast(5091, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum>>).
+
+%% @spec (Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawPixels.xml">external</a> documentation.
+drawPixels(Width,Height,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5092, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+drawPixels(Width,Height,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5093, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Flag::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEdgeFlag.xml">external</a> documentation.
+edgeFlag(Flag) ->
+ wxe_util:cast(5094, <<Flag:?GLboolean>>).
+
+%% @spec (Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEdgeFlagPointer.xml">external</a> documentation.
+edgeFlagPointer(Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5095, <<Stride:?GLsizei,Pointer:?GLuint>>);
+edgeFlagPointer(Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5096, <<Stride:?GLsizei>>).
+
+%% @spec ({Flag}) -> ok
+%% @equiv edgeFlag(Flag)
+edgeFlagv({Flag}) -> edgeFlag(Flag).
+
+%% @spec (Cap::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml">external</a> documentation.
+enable(Cap) ->
+ wxe_util:cast(5097, <<Cap:?GLenum>>).
+
+%% @spec (Array::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnableClientState.xml">external</a> documentation.
+enableClientState(Array) ->
+ wxe_util:cast(5098, <<Array:?GLenum>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnd.xml">external</a> documentation.
+'end'() ->
+ wxe_util:cast(5099, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndList.xml">external</a> documentation.
+endList() ->
+ wxe_util:cast(5100, <<>>).
+
+%% @spec (U::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation.
+evalCoord1d(U) ->
+ wxe_util:cast(5101, <<U:?GLdouble>>).
+
+%% @spec ({U}) -> ok
+%% @equiv evalCoord1d(U)
+evalCoord1dv({U}) -> evalCoord1d(U).
+
+%% @spec (U::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation.
+evalCoord1f(U) ->
+ wxe_util:cast(5102, <<U:?GLfloat>>).
+
+%% @spec ({U}) -> ok
+%% @equiv evalCoord1f(U)
+evalCoord1fv({U}) -> evalCoord1f(U).
+
+%% @spec (U::float(),V::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation.
+evalCoord2d(U,V) ->
+ wxe_util:cast(5103, <<U:?GLdouble,V:?GLdouble>>).
+
+%% @spec ({U,V}) -> ok
+%% @equiv evalCoord2d(U,V)
+evalCoord2dv({U,V}) -> evalCoord2d(U,V).
+
+%% @spec (U::float(),V::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation.
+evalCoord2f(U,V) ->
+ wxe_util:cast(5104, <<U:?GLfloat,V:?GLfloat>>).
+
+%% @spec ({U,V}) -> ok
+%% @equiv evalCoord2f(U,V)
+evalCoord2fv({U,V}) -> evalCoord2f(U,V).
+
+%% @spec (Mode::enum(),I1::integer(),I2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml">external</a> documentation.
+evalMesh1(Mode,I1,I2) ->
+ wxe_util:cast(5105, <<Mode:?GLenum,I1:?GLint,I2:?GLint>>).
+
+%% @spec (Mode::enum(),I1::integer(),I2::integer(),J1::integer(),J2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml">external</a> documentation.
+evalMesh2(Mode,I1,I2,J1,J2) ->
+ wxe_util:cast(5106, <<Mode:?GLenum,I1:?GLint,I2:?GLint,J1:?GLint,J2:?GLint>>).
+
+%% @spec (I::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalPoint.xml">external</a> documentation.
+evalPoint1(I) ->
+ wxe_util:cast(5107, <<I:?GLint>>).
+
+%% @spec (I::integer(),J::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalPoint.xml">external</a> documentation.
+evalPoint2(I,J) ->
+ wxe_util:cast(5108, <<I:?GLint,J:?GLint>>).
+
+%% @spec (Size::integer(),Type::enum(),Buffer::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFeedbackBuffer.xml">external</a> documentation.
+feedbackBuffer(Size,Type,Buffer) ->
+ wxe_util:send_bin(Buffer#wx_mem.bin),
+ wxe_util:call(5109, <<Size:?GLsizei,Type:?GLenum>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFinish.xml">external</a> documentation.
+finish() ->
+ wxe_util:cast(5110, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFlush.xml">external</a> documentation.
+flush() ->
+ wxe_util:cast(5111, <<>>).
+
+%% @spec (Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation.
+fogf(Pname,Param) ->
+ wxe_util:cast(5112, <<Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation.
+fogfv(Pname,Params) ->
+ wxe_util:cast(5113, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation.
+fogi(Pname,Param) ->
+ wxe_util:cast(5114, <<Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation.
+fogiv(Pname,Params) ->
+ wxe_util:cast(5115, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml">external</a> documentation.
+frontFace(Mode) ->
+ wxe_util:cast(5116, <<Mode:?GLenum>>).
+
+%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFrustum.xml">external</a> documentation.
+frustum(Left,Right,Bottom,Top,ZNear,ZFar) ->
+ wxe_util:cast(5117, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>).
+
+%% @spec (Range::integer()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenLists.xml">external</a> documentation.
+genLists(Range) ->
+ wxe_util:call(5118, <<Range:?GLsizei>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenTextures.xml">external</a> documentation.
+genTextures(N) ->
+ wxe_util:call(5119, <<N:?GLsizei>>).
+
+%% @spec (Pname::enum()) -> [0|1]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBooleanv.xml">external</a> documentation.
+getBooleanv(Pname) ->
+ wxe_util:call(5120, <<Pname:?GLenum>>).
+
+%% @spec (Plane::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetClipPlane.xml">external</a> documentation.
+getClipPlane(Plane) ->
+ wxe_util:call(5121, <<Plane:?GLenum>>).
+
+%% @spec (Pname::enum()) -> [float()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetDoublev.xml">external</a> documentation.
+getDoublev(Pname) ->
+ wxe_util:call(5122, <<Pname:?GLenum>>).
+
+%% @spec () -> enum()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetError.xml">external</a> documentation.
+getError() ->
+ wxe_util:call(5123, <<>>).
+
+%% @spec (Pname::enum()) -> [float()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFloatv.xml">external</a> documentation.
+getFloatv(Pname) ->
+ wxe_util:call(5124, <<Pname:?GLenum>>).
+
+%% @spec (Pname::enum()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetIntegerv.xml">external</a> documentation.
+getIntegerv(Pname) ->
+ wxe_util:call(5125, <<Pname:?GLenum>>).
+
+%% @spec (Light::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetLight.xml">external</a> documentation.
+getLightfv(Light,Pname) ->
+ wxe_util:call(5126, <<Light:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Light::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetLight.xml">external</a> documentation.
+getLightiv(Light,Pname) ->
+ wxe_util:call(5127, <<Light:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation.
+getMapdv(Target,Query,V) ->
+ wxe_util:send_bin(V#wx_mem.bin),
+ wxe_util:call(5128, <<Target:?GLenum,Query:?GLenum>>).
+
+%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation.
+getMapfv(Target,Query,V) ->
+ wxe_util:send_bin(V#wx_mem.bin),
+ wxe_util:call(5129, <<Target:?GLenum,Query:?GLenum>>).
+
+%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation.
+getMapiv(Target,Query,V) ->
+ wxe_util:send_bin(V#wx_mem.bin),
+ wxe_util:call(5130, <<Target:?GLenum,Query:?GLenum>>).
+
+%% @spec (Face::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMaterial.xml">external</a> documentation.
+getMaterialfv(Face,Pname) ->
+ wxe_util:call(5131, <<Face:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Face::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMaterial.xml">external</a> documentation.
+getMaterialiv(Face,Pname) ->
+ wxe_util:call(5132, <<Face:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation.
+getPixelMapfv(Map,Values) ->
+ wxe_util:send_bin(Values#wx_mem.bin),
+ wxe_util:call(5133, <<Map:?GLenum>>).
+
+%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation.
+getPixelMapuiv(Map,Values) ->
+ wxe_util:send_bin(Values#wx_mem.bin),
+ wxe_util:call(5134, <<Map:?GLenum>>).
+
+%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation.
+getPixelMapusv(Map,Values) ->
+ wxe_util:send_bin(Values#wx_mem.bin),
+ wxe_util:call(5135, <<Map:?GLenum>>).
+
+%% @spec () -> binary()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPolygonStipple.xml">external</a> documentation.
+getPolygonStipple() ->
+ wxe_util:call(5136, <<>>).
+
+%% @spec (Name::enum()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml">external</a> documentation.
+getString(Name) ->
+ wxe_util:call(5137, <<Name:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexEnv.xml">external</a> documentation.
+getTexEnvfv(Target,Pname) ->
+ wxe_util:call(5138, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexEnv.xml">external</a> documentation.
+getTexEnviv(Target,Pname) ->
+ wxe_util:call(5139, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Coord::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation.
+getTexGendv(Coord,Pname) ->
+ wxe_util:call(5140, <<Coord:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Coord::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation.
+getTexGenfv(Coord,Pname) ->
+ wxe_util:call(5141, <<Coord:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Coord::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation.
+getTexGeniv(Coord,Pname) ->
+ wxe_util:call(5142, <<Coord:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Format::enum(),Type::enum(),Pixels::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexImage.xml">external</a> documentation.
+getTexImage(Target,Level,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels#wx_mem.bin),
+ wxe_util:call(5143, <<Target:?GLenum,Level:?GLint,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml">external</a> documentation.
+getTexLevelParameterfv(Target,Level,Pname) ->
+ wxe_util:call(5144, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml">external</a> documentation.
+getTexLevelParameteriv(Target,Level,Pname) ->
+ wxe_util:call(5145, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameter.xml">external</a> documentation.
+getTexParameterfv(Target,Pname) ->
+ wxe_util:call(5146, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameter.xml">external</a> documentation.
+getTexParameteriv(Target,Pname) ->
+ wxe_util:call(5147, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glHint.xml">external</a> documentation.
+hint(Target,Mode) ->
+ wxe_util:cast(5148, <<Target:?GLenum,Mode:?GLenum>>).
+
+%% @spec (Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndexMask.xml">external</a> documentation.
+indexMask(Mask) ->
+ wxe_util:cast(5149, <<Mask:?GLuint>>).
+
+%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndexPointer.xml">external</a> documentation.
+indexPointer(Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5150, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+indexPointer(Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5151, <<Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (C::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation.
+indexd(C) ->
+ wxe_util:cast(5152, <<C:?GLdouble>>).
+
+%% @spec ({C}) -> ok
+%% @equiv indexd(C)
+indexdv({C}) -> indexd(C).
+
+%% @spec (C::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation.
+indexf(C) ->
+ wxe_util:cast(5153, <<C:?GLfloat>>).
+
+%% @spec ({C}) -> ok
+%% @equiv indexf(C)
+indexfv({C}) -> indexf(C).
+
+%% @spec (C::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation.
+indexi(C) ->
+ wxe_util:cast(5154, <<C:?GLint>>).
+
+%% @spec ({C}) -> ok
+%% @equiv indexi(C)
+indexiv({C}) -> indexi(C).
+
+%% @spec (C::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation.
+indexs(C) ->
+ wxe_util:cast(5155, <<C:?GLshort>>).
+
+%% @spec ({C}) -> ok
+%% @equiv indexs(C)
+indexsv({C}) -> indexs(C).
+
+%% @spec (C::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation.
+indexub(C) ->
+ wxe_util:cast(5156, <<C:?GLubyte>>).
+
+%% @spec ({C}) -> ok
+%% @equiv indexub(C)
+indexubv({C}) -> indexub(C).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glInitNames.xml">external</a> documentation.
+initNames() ->
+ wxe_util:cast(5157, <<>>).
+
+%% @spec (Format::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glInterleavedArrays.xml">external</a> documentation.
+interleavedArrays(Format,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5158, <<Format:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+interleavedArrays(Format,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5159, <<Format:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (Cap::enum()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsEnabled.xml">external</a> documentation.
+isEnabled(Cap) ->
+ wxe_util:call(5160, <<Cap:?GLenum>>).
+
+%% @spec (List::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsList.xml">external</a> documentation.
+isList(List) ->
+ wxe_util:call(5161, <<List:?GLuint>>).
+
+%% @spec (Texture::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsTexture.xml">external</a> documentation.
+isTexture(Texture) ->
+ wxe_util:call(5162, <<Texture:?GLuint>>).
+
+%% @spec (Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation.
+lightModelf(Pname,Param) ->
+ wxe_util:cast(5163, <<Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation.
+lightModelfv(Pname,Params) ->
+ wxe_util:cast(5164, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation.
+lightModeli(Pname,Param) ->
+ wxe_util:cast(5165, <<Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation.
+lightModeliv(Pname,Params) ->
+ wxe_util:cast(5166, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Light::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation.
+lightf(Light,Pname,Param) ->
+ wxe_util:cast(5167, <<Light:?GLenum,Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Light::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation.
+lightfv(Light,Pname,Params) ->
+ wxe_util:cast(5168, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Light::enum(),Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation.
+lighti(Light,Pname,Param) ->
+ wxe_util:cast(5169, <<Light:?GLenum,Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Light::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation.
+lightiv(Light,Pname,Params) ->
+ wxe_util:cast(5170, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Factor::integer(),Pattern::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLineStipple.xml">external</a> documentation.
+lineStipple(Factor,Pattern) ->
+ wxe_util:cast(5171, <<Factor:?GLint,Pattern:?GLushort>>).
+
+%% @spec (Width::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml">external</a> documentation.
+lineWidth(Width) ->
+ wxe_util:cast(5172, <<Width:?GLfloat>>).
+
+%% @spec (Base::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glListBase.xml">external</a> documentation.
+listBase(Base) ->
+ wxe_util:cast(5173, <<Base:?GLuint>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadIdentity.xml">external</a> documentation.
+loadIdentity() ->
+ wxe_util:cast(5174, <<>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadMatrix.xml">external</a> documentation.
+loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadMatrix.xml">external</a> documentation.
+loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (Name::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadName.xml">external</a> documentation.
+loadName(Name) ->
+ wxe_util:cast(5177, <<Name:?GLuint>>).
+
+%% @spec (Opcode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLogicOp.xml">external</a> documentation.
+logicOp(Opcode) ->
+ wxe_util:cast(5178, <<Opcode:?GLenum>>).
+
+%% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation.
+map1d(Target,U1,U2,Stride,Order,Points) ->
+ wxe_util:send_bin(Points),
+ wxe_util:cast(5179, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Stride:?GLint,Order:?GLint>>).
+
+%% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation.
+map1f(Target,U1,U2,Stride,Order,Points) ->
+ wxe_util:send_bin(Points),
+ wxe_util:cast(5180, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Stride:?GLint,Order:?GLint>>).
+
+%% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation.
+map2d(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) ->
+ wxe_util:send_bin(Points),
+ wxe_util:cast(5181, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Ustride:?GLint,Uorder:?GLint,V1:?GLdouble,V2:?GLdouble,Vstride:?GLint,Vorder:?GLint>>).
+
+%% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation.
+map2f(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) ->
+ wxe_util:send_bin(Points),
+ wxe_util:cast(5182, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Ustride:?GLint,Uorder:?GLint,V1:?GLfloat,V2:?GLfloat,Vstride:?GLint,Vorder:?GLint>>).
+
+%% @spec (Un::integer(),U1::float(),U2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation.
+mapGrid1d(Un,U1,U2) ->
+ wxe_util:cast(5183, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble>>).
+
+%% @spec (Un::integer(),U1::float(),U2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation.
+mapGrid1f(Un,U1,U2) ->
+ wxe_util:cast(5184, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat>>).
+
+%% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation.
+mapGrid2d(Un,U1,U2,Vn,V1,V2) ->
+ wxe_util:cast(5185, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble,Vn:?GLint,0:32,V1:?GLdouble,V2:?GLdouble>>).
+
+%% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation.
+mapGrid2f(Un,U1,U2,Vn,V1,V2) ->
+ wxe_util:cast(5186, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat,Vn:?GLint,V1:?GLfloat,V2:?GLfloat>>).
+
+%% @spec (Face::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation.
+materialf(Face,Pname,Param) ->
+ wxe_util:cast(5187, <<Face:?GLenum,Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Face::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation.
+materialfv(Face,Pname,Params) ->
+ wxe_util:cast(5188, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Face::enum(),Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation.
+materiali(Face,Pname,Param) ->
+ wxe_util:cast(5189, <<Face:?GLenum,Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Face::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation.
+materialiv(Face,Pname,Params) ->
+ wxe_util:cast(5190, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixMode.xml">external</a> documentation.
+matrixMode(Mode) ->
+ wxe_util:cast(5191, <<Mode:?GLenum>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultMatrix.xml">external</a> documentation.
+multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultMatrix.xml">external</a> documentation.
+multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (List::integer(),Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNewList.xml">external</a> documentation.
+newList(List,Mode) ->
+ wxe_util:cast(5194, <<List:?GLuint,Mode:?GLenum>>).
+
+%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation.
+normal3b(Nx,Ny,Nz) ->
+ wxe_util:cast(5195, <<Nx:?GLbyte,Ny:?GLbyte,Nz:?GLbyte>>).
+
+%% @spec ({Nx,Ny,Nz}) -> ok
+%% @equiv normal3b(Nx,Ny,Nz)
+normal3bv({Nx,Ny,Nz}) -> normal3b(Nx,Ny,Nz).
+
+%% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation.
+normal3d(Nx,Ny,Nz) ->
+ wxe_util:cast(5196, <<Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble>>).
+
+%% @spec ({Nx,Ny,Nz}) -> ok
+%% @equiv normal3d(Nx,Ny,Nz)
+normal3dv({Nx,Ny,Nz}) -> normal3d(Nx,Ny,Nz).
+
+%% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation.
+normal3f(Nx,Ny,Nz) ->
+ wxe_util:cast(5197, <<Nx:?GLfloat,Ny:?GLfloat,Nz:?GLfloat>>).
+
+%% @spec ({Nx,Ny,Nz}) -> ok
+%% @equiv normal3f(Nx,Ny,Nz)
+normal3fv({Nx,Ny,Nz}) -> normal3f(Nx,Ny,Nz).
+
+%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation.
+normal3i(Nx,Ny,Nz) ->
+ wxe_util:cast(5198, <<Nx:?GLint,Ny:?GLint,Nz:?GLint>>).
+
+%% @spec ({Nx,Ny,Nz}) -> ok
+%% @equiv normal3i(Nx,Ny,Nz)
+normal3iv({Nx,Ny,Nz}) -> normal3i(Nx,Ny,Nz).
+
+%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation.
+normal3s(Nx,Ny,Nz) ->
+ wxe_util:cast(5199, <<Nx:?GLshort,Ny:?GLshort,Nz:?GLshort>>).
+
+%% @spec ({Nx,Ny,Nz}) -> ok
+%% @equiv normal3s(Nx,Ny,Nz)
+normal3sv({Nx,Ny,Nz}) -> normal3s(Nx,Ny,Nz).
+
+%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormalPointer.xml">external</a> documentation.
+normalPointer(Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5200, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+normalPointer(Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5201, <<Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml">external</a> documentation.
+ortho(Left,Right,Bottom,Top,ZNear,ZFar) ->
+ wxe_util:cast(5202, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>).
+
+%% @spec (Token::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPassThrough.xml">external</a> documentation.
+passThrough(Token) ->
+ wxe_util:cast(5203, <<Token:?GLfloat>>).
+
+%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation.
+pixelMapfv(Map,Mapsize,Values) ->
+ wxe_util:send_bin(Values),
+ wxe_util:cast(5204, <<Map:?GLenum,Mapsize:?GLsizei>>).
+
+%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation.
+pixelMapuiv(Map,Mapsize,Values) ->
+ wxe_util:send_bin(Values),
+ wxe_util:cast(5205, <<Map:?GLenum,Mapsize:?GLsizei>>).
+
+%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation.
+pixelMapusv(Map,Mapsize,Values) ->
+ wxe_util:send_bin(Values),
+ wxe_util:cast(5206, <<Map:?GLenum,Mapsize:?GLsizei>>).
+
+%% @spec (Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml">external</a> documentation.
+pixelStoref(Pname,Param) ->
+ wxe_util:cast(5207, <<Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml">external</a> documentation.
+pixelStorei(Pname,Param) ->
+ wxe_util:cast(5208, <<Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml">external</a> documentation.
+pixelTransferf(Pname,Param) ->
+ wxe_util:cast(5209, <<Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml">external</a> documentation.
+pixelTransferi(Pname,Param) ->
+ wxe_util:cast(5210, <<Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Xfactor::float(),Yfactor::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelZoom.xml">external</a> documentation.
+pixelZoom(Xfactor,Yfactor) ->
+ wxe_util:cast(5211, <<Xfactor:?GLfloat,Yfactor:?GLfloat>>).
+
+%% @spec (Size::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointSize.xml">external</a> documentation.
+pointSize(Size) ->
+ wxe_util:cast(5212, <<Size:?GLfloat>>).
+
+%% @spec (Face::enum(),Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml">external</a> documentation.
+polygonMode(Face,Mode) ->
+ wxe_util:cast(5213, <<Face:?GLenum,Mode:?GLenum>>).
+
+%% @spec (Factor::float(),Units::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml">external</a> documentation.
+polygonOffset(Factor,Units) ->
+ wxe_util:cast(5214, <<Factor:?GLfloat,Units:?GLfloat>>).
+
+%% @spec (Mask::binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonStipple.xml">external</a> documentation.
+polygonStipple(Mask) ->
+ wxe_util:send_bin(Mask),
+ wxe_util:cast(5215, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopAttrib.xml">external</a> documentation.
+popAttrib() ->
+ wxe_util:cast(5216, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopClientAttrib.xml">external</a> documentation.
+popClientAttrib() ->
+ wxe_util:cast(5217, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopMatrix.xml">external</a> documentation.
+popMatrix() ->
+ wxe_util:cast(5218, <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopName.xml">external</a> documentation.
+popName() ->
+ wxe_util:cast(5219, <<>>).
+
+%% @spec (Textures::[integer()],Priorities::[clamp()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPrioritizeTextures.xml">external</a> documentation.
+prioritizeTextures(Textures,Priorities) ->
+ wxe_util:cast(5220, <<(length(Textures)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32),(length(Priorities)):?GLuint,
+ (<< <<C:?GLclampf>> || C <- Priorities>>)/binary,0:(((1+length(Priorities)) rem 2)*32)>>).
+
+%% @spec (Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushAttrib.xml">external</a> documentation.
+pushAttrib(Mask) ->
+ wxe_util:cast(5221, <<Mask:?GLbitfield>>).
+
+%% @spec (Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushClientAttrib.xml">external</a> documentation.
+pushClientAttrib(Mask) ->
+ wxe_util:cast(5222, <<Mask:?GLbitfield>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushMatrix.xml">external</a> documentation.
+pushMatrix() ->
+ wxe_util:cast(5223, <<>>).
+
+%% @spec (Name::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushName.xml">external</a> documentation.
+pushName(Name) ->
+ wxe_util:cast(5224, <<Name:?GLuint>>).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos2d(X,Y) ->
+ wxe_util:cast(5225, <<X:?GLdouble,Y:?GLdouble>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv rasterPos2d(X,Y)
+rasterPos2dv({X,Y}) -> rasterPos2d(X,Y).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos2f(X,Y) ->
+ wxe_util:cast(5226, <<X:?GLfloat,Y:?GLfloat>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv rasterPos2f(X,Y)
+rasterPos2fv({X,Y}) -> rasterPos2f(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos2i(X,Y) ->
+ wxe_util:cast(5227, <<X:?GLint,Y:?GLint>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv rasterPos2i(X,Y)
+rasterPos2iv({X,Y}) -> rasterPos2i(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos2s(X,Y) ->
+ wxe_util:cast(5228, <<X:?GLshort,Y:?GLshort>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv rasterPos2s(X,Y)
+rasterPos2sv({X,Y}) -> rasterPos2s(X,Y).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos3d(X,Y,Z) ->
+ wxe_util:cast(5229, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv rasterPos3d(X,Y,Z)
+rasterPos3dv({X,Y,Z}) -> rasterPos3d(X,Y,Z).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos3f(X,Y,Z) ->
+ wxe_util:cast(5230, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv rasterPos3f(X,Y,Z)
+rasterPos3fv({X,Y,Z}) -> rasterPos3f(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos3i(X,Y,Z) ->
+ wxe_util:cast(5231, <<X:?GLint,Y:?GLint,Z:?GLint>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv rasterPos3i(X,Y,Z)
+rasterPos3iv({X,Y,Z}) -> rasterPos3i(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos3s(X,Y,Z) ->
+ wxe_util:cast(5232, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv rasterPos3s(X,Y,Z)
+rasterPos3sv({X,Y,Z}) -> rasterPos3s(X,Y,Z).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos4d(X,Y,Z,W) ->
+ wxe_util:cast(5233, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv rasterPos4d(X,Y,Z,W)
+rasterPos4dv({X,Y,Z,W}) -> rasterPos4d(X,Y,Z,W).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos4f(X,Y,Z,W) ->
+ wxe_util:cast(5234, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv rasterPos4f(X,Y,Z,W)
+rasterPos4fv({X,Y,Z,W}) -> rasterPos4f(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos4i(X,Y,Z,W) ->
+ wxe_util:cast(5235, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv rasterPos4i(X,Y,Z,W)
+rasterPos4iv({X,Y,Z,W}) -> rasterPos4i(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation.
+rasterPos4s(X,Y,Z,W) ->
+ wxe_util:cast(5236, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv rasterPos4s(X,Y,Z,W)
+rasterPos4sv({X,Y,Z,W}) -> rasterPos4s(X,Y,Z,W).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadBuffer.xml">external</a> documentation.
+readBuffer(Mode) ->
+ wxe_util:cast(5237, <<Mode:?GLenum>>).
+
+%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml">external</a> documentation.
+readPixels(X,Y,Width,Height,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels#wx_mem.bin),
+ wxe_util:call(5238, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectd(X1,Y1,X2,Y2) ->
+ wxe_util:cast(5239, <<X1:?GLdouble,Y1:?GLdouble,X2:?GLdouble,Y2:?GLdouble>>).
+
+%% @spec (V1::{float()},V2::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectdv({V1,V2},{V1,V2}) ->
+ wxe_util:cast(5240, <<V1:?GLdouble,V2:?GLdouble,V1:?GLdouble,V2:?GLdouble>>).
+
+%% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectf(X1,Y1,X2,Y2) ->
+ wxe_util:cast(5241, <<X1:?GLfloat,Y1:?GLfloat,X2:?GLfloat,Y2:?GLfloat>>).
+
+%% @spec (V1::{float()},V2::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectfv({V1,V2},{V1,V2}) ->
+ wxe_util:cast(5242, <<V1:?GLfloat,V2:?GLfloat,V1:?GLfloat,V2:?GLfloat>>).
+
+%% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+recti(X1,Y1,X2,Y2) ->
+ wxe_util:cast(5243, <<X1:?GLint,Y1:?GLint,X2:?GLint,Y2:?GLint>>).
+
+%% @spec (V1::{integer()},V2::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectiv({V1,V2},{V1,V2}) ->
+ wxe_util:cast(5244, <<V1:?GLint,V2:?GLint,V1:?GLint,V2:?GLint>>).
+
+%% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rects(X1,Y1,X2,Y2) ->
+ wxe_util:cast(5245, <<X1:?GLshort,Y1:?GLshort,X2:?GLshort,Y2:?GLshort>>).
+
+%% @spec (V1::{integer()},V2::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation.
+rectsv({V1,V2},{V1,V2}) ->
+ wxe_util:cast(5246, <<V1:?GLshort,V2:?GLshort,V1:?GLshort,V2:?GLshort>>).
+
+%% @spec (Mode::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderMode.xml">external</a> documentation.
+renderMode(Mode) ->
+ wxe_util:call(5247, <<Mode:?GLenum>>).
+
+%% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRotate.xml">external</a> documentation.
+rotated(Angle,X,Y,Z) ->
+ wxe_util:cast(5248, <<Angle:?GLdouble,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRotate.xml">external</a> documentation.
+rotatef(Angle,X,Y,Z) ->
+ wxe_util:cast(5249, <<Angle:?GLfloat,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScale.xml">external</a> documentation.
+scaled(X,Y,Z) ->
+ wxe_util:cast(5250, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScale.xml">external</a> documentation.
+scalef(X,Y,Z) ->
+ wxe_util:cast(5251, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScissor.xml">external</a> documentation.
+scissor(X,Y,Width,Height) ->
+ wxe_util:cast(5252, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Size::integer(),Buffer::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSelectBuffer.xml">external</a> documentation.
+selectBuffer(Size,Buffer) ->
+ wxe_util:send_bin(Buffer#wx_mem.bin),
+ wxe_util:call(5253, <<Size:?GLsizei>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShadeModel.xml">external</a> documentation.
+shadeModel(Mode) ->
+ wxe_util:cast(5254, <<Mode:?GLenum>>).
+
+%% @spec (Func::enum(),Ref::integer(),Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilFunc.xml">external</a> documentation.
+stencilFunc(Func,Ref,Mask) ->
+ wxe_util:cast(5255, <<Func:?GLenum,Ref:?GLint,Mask:?GLuint>>).
+
+%% @spec (Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilMask.xml">external</a> documentation.
+stencilMask(Mask) ->
+ wxe_util:cast(5256, <<Mask:?GLuint>>).
+
+%% @spec (Fail::enum(),Zfail::enum(),Zpass::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilOp.xml">external</a> documentation.
+stencilOp(Fail,Zfail,Zpass) ->
+ wxe_util:cast(5257, <<Fail:?GLenum,Zfail:?GLenum,Zpass:?GLenum>>).
+
+%% @spec (S::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord1d(S) ->
+ wxe_util:cast(5258, <<S:?GLdouble>>).
+
+%% @spec ({S}) -> ok
+%% @equiv texCoord1d(S)
+texCoord1dv({S}) -> texCoord1d(S).
+
+%% @spec (S::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord1f(S) ->
+ wxe_util:cast(5259, <<S:?GLfloat>>).
+
+%% @spec ({S}) -> ok
+%% @equiv texCoord1f(S)
+texCoord1fv({S}) -> texCoord1f(S).
+
+%% @spec (S::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord1i(S) ->
+ wxe_util:cast(5260, <<S:?GLint>>).
+
+%% @spec ({S}) -> ok
+%% @equiv texCoord1i(S)
+texCoord1iv({S}) -> texCoord1i(S).
+
+%% @spec (S::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord1s(S) ->
+ wxe_util:cast(5261, <<S:?GLshort>>).
+
+%% @spec ({S}) -> ok
+%% @equiv texCoord1s(S)
+texCoord1sv({S}) -> texCoord1s(S).
+
+%% @spec (S::float(),T::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord2d(S,T) ->
+ wxe_util:cast(5262, <<S:?GLdouble,T:?GLdouble>>).
+
+%% @spec ({S,T}) -> ok
+%% @equiv texCoord2d(S,T)
+texCoord2dv({S,T}) -> texCoord2d(S,T).
+
+%% @spec (S::float(),T::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord2f(S,T) ->
+ wxe_util:cast(5263, <<S:?GLfloat,T:?GLfloat>>).
+
+%% @spec ({S,T}) -> ok
+%% @equiv texCoord2f(S,T)
+texCoord2fv({S,T}) -> texCoord2f(S,T).
+
+%% @spec (S::integer(),T::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord2i(S,T) ->
+ wxe_util:cast(5264, <<S:?GLint,T:?GLint>>).
+
+%% @spec ({S,T}) -> ok
+%% @equiv texCoord2i(S,T)
+texCoord2iv({S,T}) -> texCoord2i(S,T).
+
+%% @spec (S::integer(),T::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord2s(S,T) ->
+ wxe_util:cast(5265, <<S:?GLshort,T:?GLshort>>).
+
+%% @spec ({S,T}) -> ok
+%% @equiv texCoord2s(S,T)
+texCoord2sv({S,T}) -> texCoord2s(S,T).
+
+%% @spec (S::float(),T::float(),R::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord3d(S,T,R) ->
+ wxe_util:cast(5266, <<S:?GLdouble,T:?GLdouble,R:?GLdouble>>).
+
+%% @spec ({S,T,R}) -> ok
+%% @equiv texCoord3d(S,T,R)
+texCoord3dv({S,T,R}) -> texCoord3d(S,T,R).
+
+%% @spec (S::float(),T::float(),R::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord3f(S,T,R) ->
+ wxe_util:cast(5267, <<S:?GLfloat,T:?GLfloat,R:?GLfloat>>).
+
+%% @spec ({S,T,R}) -> ok
+%% @equiv texCoord3f(S,T,R)
+texCoord3fv({S,T,R}) -> texCoord3f(S,T,R).
+
+%% @spec (S::integer(),T::integer(),R::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord3i(S,T,R) ->
+ wxe_util:cast(5268, <<S:?GLint,T:?GLint,R:?GLint>>).
+
+%% @spec ({S,T,R}) -> ok
+%% @equiv texCoord3i(S,T,R)
+texCoord3iv({S,T,R}) -> texCoord3i(S,T,R).
+
+%% @spec (S::integer(),T::integer(),R::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord3s(S,T,R) ->
+ wxe_util:cast(5269, <<S:?GLshort,T:?GLshort,R:?GLshort>>).
+
+%% @spec ({S,T,R}) -> ok
+%% @equiv texCoord3s(S,T,R)
+texCoord3sv({S,T,R}) -> texCoord3s(S,T,R).
+
+%% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord4d(S,T,R,Q) ->
+ wxe_util:cast(5270, <<S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>).
+
+%% @spec ({S,T,R,Q}) -> ok
+%% @equiv texCoord4d(S,T,R,Q)
+texCoord4dv({S,T,R,Q}) -> texCoord4d(S,T,R,Q).
+
+%% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord4f(S,T,R,Q) ->
+ wxe_util:cast(5271, <<S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>).
+
+%% @spec ({S,T,R,Q}) -> ok
+%% @equiv texCoord4f(S,T,R,Q)
+texCoord4fv({S,T,R,Q}) -> texCoord4f(S,T,R,Q).
+
+%% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord4i(S,T,R,Q) ->
+ wxe_util:cast(5272, <<S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>).
+
+%% @spec ({S,T,R,Q}) -> ok
+%% @equiv texCoord4i(S,T,R,Q)
+texCoord4iv({S,T,R,Q}) -> texCoord4i(S,T,R,Q).
+
+%% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation.
+texCoord4s(S,T,R,Q) ->
+ wxe_util:cast(5273, <<S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>).
+
+%% @spec ({S,T,R,Q}) -> ok
+%% @equiv texCoord4s(S,T,R,Q)
+texCoord4sv({S,T,R,Q}) -> texCoord4s(S,T,R,Q).
+
+%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoordPointer.xml">external</a> documentation.
+texCoordPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5274, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+texCoordPointer(Size,Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5275, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnvf.xml">external</a> documentation.
+texEnvf(Target,Pname,Param) ->
+ wxe_util:cast(5276, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml">external</a> documentation.
+texEnvfv(Target,Pname,Params) ->
+ wxe_util:cast(5277, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnvi.xml">external</a> documentation.
+texEnvi(Target,Pname,Param) ->
+ wxe_util:cast(5278, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml">external</a> documentation.
+texEnviv(Target,Pname,Params) ->
+ wxe_util:cast(5279, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGend(Coord,Pname,Param) ->
+ wxe_util:cast(5280, <<Coord:?GLenum,Pname:?GLenum,Param:?GLdouble>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGendv(Coord,Pname,Params) ->
+ wxe_util:cast(5281, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,0:32,
+ (<< <<C:?GLdouble>> ||C <- tuple_to_list(Params)>>)/binary>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGenf(Coord,Pname,Param) ->
+ wxe_util:cast(5282, <<Coord:?GLenum,Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGenfv(Coord,Pname,Params) ->
+ wxe_util:cast(5283, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGeni(Coord,Pname,Param) ->
+ wxe_util:cast(5284, <<Coord:?GLenum,Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Coord::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation.
+texGeniv(Coord,Pname,Params) ->
+ wxe_util:cast(5285, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage1D.xml">external</a> documentation.
+texImage1D(Target,Level,Internalformat,Width,Border,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5286, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texImage1D(Target,Level,Internalformat,Width,Border,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5287, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage2D.xml">external</a> documentation.
+texImage2D(Target,Level,Internalformat,Width,Height,Border,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5288, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texImage2D(Target,Level,Internalformat,Width,Height,Border,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5289, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation.
+texParameterf(Target,Pname,Param) ->
+ wxe_util:cast(5290, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation.
+texParameterfv(Target,Pname,Params) ->
+ wxe_util:cast(5291, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation.
+texParameteri(Target,Pname,Param) ->
+ wxe_util:cast(5292, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation.
+texParameteriv(Target,Pname,Params) ->
+ wxe_util:cast(5293, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage1D.xml">external</a> documentation.
+texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5294, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5295, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage2D.xml">external</a> documentation.
+texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5296, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5297, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTranslate.xml">external</a> documentation.
+translated(X,Y,Z) ->
+ wxe_util:cast(5298, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTranslate.xml">external</a> documentation.
+translatef(X,Y,Z) ->
+ wxe_util:cast(5299, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex2d(X,Y) ->
+ wxe_util:cast(5300, <<X:?GLdouble,Y:?GLdouble>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv vertex2d(X,Y)
+vertex2dv({X,Y}) -> vertex2d(X,Y).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex2f(X,Y) ->
+ wxe_util:cast(5301, <<X:?GLfloat,Y:?GLfloat>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv vertex2f(X,Y)
+vertex2fv({X,Y}) -> vertex2f(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex2i(X,Y) ->
+ wxe_util:cast(5302, <<X:?GLint,Y:?GLint>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv vertex2i(X,Y)
+vertex2iv({X,Y}) -> vertex2i(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex2s(X,Y) ->
+ wxe_util:cast(5303, <<X:?GLshort,Y:?GLshort>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv vertex2s(X,Y)
+vertex2sv({X,Y}) -> vertex2s(X,Y).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex3d(X,Y,Z) ->
+ wxe_util:cast(5304, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv vertex3d(X,Y,Z)
+vertex3dv({X,Y,Z}) -> vertex3d(X,Y,Z).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex3f(X,Y,Z) ->
+ wxe_util:cast(5305, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv vertex3f(X,Y,Z)
+vertex3fv({X,Y,Z}) -> vertex3f(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex3i(X,Y,Z) ->
+ wxe_util:cast(5306, <<X:?GLint,Y:?GLint,Z:?GLint>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv vertex3i(X,Y,Z)
+vertex3iv({X,Y,Z}) -> vertex3i(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex3s(X,Y,Z) ->
+ wxe_util:cast(5307, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv vertex3s(X,Y,Z)
+vertex3sv({X,Y,Z}) -> vertex3s(X,Y,Z).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex4d(X,Y,Z,W) ->
+ wxe_util:cast(5308, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv vertex4d(X,Y,Z,W)
+vertex4dv({X,Y,Z,W}) -> vertex4d(X,Y,Z,W).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex4f(X,Y,Z,W) ->
+ wxe_util:cast(5309, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv vertex4f(X,Y,Z,W)
+vertex4fv({X,Y,Z,W}) -> vertex4f(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex4i(X,Y,Z,W) ->
+ wxe_util:cast(5310, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv vertex4i(X,Y,Z,W)
+vertex4iv({X,Y,Z,W}) -> vertex4i(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation.
+vertex4s(X,Y,Z,W) ->
+ wxe_util:cast(5311, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv vertex4s(X,Y,Z,W)
+vertex4sv({X,Y,Z,W}) -> vertex4s(X,Y,Z,W).
+
+%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexPointer.xml">external</a> documentation.
+vertexPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5312, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+vertexPointer(Size,Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5313, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glViewport.xml">external</a> documentation.
+viewport(X,Y,Width,Height) ->
+ wxe_util:cast(5314, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.xml">external</a> documentation.
+blendColor(Red,Green,Blue,Alpha) ->
+ wxe_util:cast(5315, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>).
+
+%% @spec (Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquation.xml">external</a> documentation.
+blendEquation(Mode) ->
+ wxe_util:cast(5316, <<Mode:?GLenum>>).
+
+%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawRangeElements.xml">external</a> documentation.
+drawRangeElements(Mode,Start,End,Count,Type,Indices) when is_integer(Indices) ->
+ wxe_util:cast(5317, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>);
+drawRangeElements(Mode,Start,End,Count,Type,Indices) ->
+ wxe_util:send_bin(Indices),
+ wxe_util:cast(5318, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage3D.xml">external</a> documentation.
+texImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5319, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5320, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage3D.xml">external</a> documentation.
+texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) when is_integer(Pixels) ->
+ wxe_util:cast(5321, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>);
+texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) ->
+ wxe_util:send_bin(Pixels),
+ wxe_util:cast(5322, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage3D.xml">external</a> documentation.
+copyTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,X,Y,Width,Height) ->
+ wxe_util:cast(5323, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Table::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTable.xml">external</a> documentation.
+colorTable(Target,Internalformat,Width,Format,Type,Table) when is_integer(Table) ->
+ wxe_util:cast(5324, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Table:?GLuint>>);
+colorTable(Target,Internalformat,Width,Format,Type,Table) ->
+ wxe_util:send_bin(Table),
+ wxe_util:cast(5325, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTableParameter.xml">external</a> documentation.
+colorTableParameterfv(Target,Pname,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5326, <<Target:?GLenum,Pname:?GLenum,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTableParameter.xml">external</a> documentation.
+colorTableParameteriv(Target,Pname,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5327, <<Target:?GLenum,Pname:?GLenum,P1:?GLint,P2:?GLint,P3:?GLint,P4:?GLint>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyColorTable.xml">external</a> documentation.
+copyColorTable(Target,Internalformat,X,Y,Width) ->
+ wxe_util:cast(5328, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>).
+
+%% @spec (Target::enum(),Format::enum(),Type::enum(),Table::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTable.xml">external</a> documentation.
+getColorTable(Target,Format,Type,Table) ->
+ wxe_util:send_bin(Table#wx_mem.bin),
+ wxe_util:call(5329, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTableParameter.xml">external</a> documentation.
+getColorTableParameterfv(Target,Pname) ->
+ wxe_util:call(5330, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTableParameter.xml">external</a> documentation.
+getColorTableParameteriv(Target,Pname) ->
+ wxe_util:call(5331, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Start::integer(),Count::integer(),Format::enum(),Type::enum(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorSubTable.xml">external</a> documentation.
+colorSubTable(Target,Start,Count,Format,Type,Data) when is_integer(Data) ->
+ wxe_util:cast(5332, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum,Data:?GLuint>>);
+colorSubTable(Target,Start,Count,Format,Type,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5333, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Start::integer(),X::integer(),Y::integer(),Width::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyColorSubTable.xml">external</a> documentation.
+copyColorSubTable(Target,Start,X,Y,Width) ->
+ wxe_util:cast(5334, <<Target:?GLenum,Start:?GLsizei,X:?GLint,Y:?GLint,Width:?GLsizei>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Image::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionFilter1D.xml">external</a> documentation.
+convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) when is_integer(Image) ->
+ wxe_util:cast(5335, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>);
+convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) ->
+ wxe_util:send_bin(Image),
+ wxe_util:cast(5336, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Image::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionFilter2D.xml">external</a> documentation.
+convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) when is_integer(Image) ->
+ wxe_util:cast(5337, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>);
+convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) ->
+ wxe_util:send_bin(Image),
+ wxe_util:cast(5338, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionParameter.xml">external</a> documentation.
+convolutionParameterf(Target,Pname,Params) ->
+ wxe_util:cast(5339, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target,Pname,{Params}) -> ok
+%% @equiv convolutionParameterf(Target,Pname,Params)
+convolutionParameterfv(Target,Pname,{Params}) -> convolutionParameterf(Target,Pname,Params).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionParameter.xml">external</a> documentation.
+convolutionParameteri(Target,Pname,Params) ->
+ wxe_util:cast(5340, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target,Pname,{Params}) -> ok
+%% @equiv convolutionParameteri(Target,Pname,Params)
+convolutionParameteriv(Target,Pname,{Params}) -> convolutionParameteri(Target,Pname,Params).
+
+%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyConvolutionFilter1D.xml">external</a> documentation.
+copyConvolutionFilter1D(Target,Internalformat,X,Y,Width) ->
+ wxe_util:cast(5341, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyConvolutionFilter2D.xml">external</a> documentation.
+copyConvolutionFilter2D(Target,Internalformat,X,Y,Width,Height) ->
+ wxe_util:cast(5342, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Target::enum(),Format::enum(),Type::enum(),Image::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionFilter.xml">external</a> documentation.
+getConvolutionFilter(Target,Format,Type,Image) ->
+ wxe_util:send_bin(Image#wx_mem.bin),
+ wxe_util:call(5343, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionParameter.xml">external</a> documentation.
+getConvolutionParameterfv(Target,Pname) ->
+ wxe_util:call(5344, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionParameter.xml">external</a> documentation.
+getConvolutionParameteriv(Target,Pname) ->
+ wxe_util:call(5345, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Row::offset()|binary(),Column::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSeparableFilter2D.xml">external</a> documentation.
+separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) when is_integer(Row), is_integer(Column) ->
+ wxe_util:cast(5346, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Row:?GLuint,Column:?GLuint>>);
+separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) ->
+ wxe_util:send_bin(Row),
+ wxe_util:send_bin(Column),
+ wxe_util:cast(5347, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogram.xml">external</a> documentation.
+getHistogram(Target,Reset,Format,Type,Values) ->
+ wxe_util:send_bin(Values#wx_mem.bin),
+ wxe_util:call(5348, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogramParameter.xml">external</a> documentation.
+getHistogramParameterfv(Target,Pname) ->
+ wxe_util:call(5349, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogramParameter.xml">external</a> documentation.
+getHistogramParameteriv(Target,Pname) ->
+ wxe_util:call(5350, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmax.xml">external</a> documentation.
+getMinmax(Target,Reset,Format,Type,Values) ->
+ wxe_util:send_bin(Values#wx_mem.bin),
+ wxe_util:call(5351, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmaxParameter.xml">external</a> documentation.
+getMinmaxParameterfv(Target,Pname) ->
+ wxe_util:call(5352, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmaxParameter.xml">external</a> documentation.
+getMinmaxParameteriv(Target,Pname) ->
+ wxe_util:call(5353, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Width::integer(),Internalformat::enum(),Sink::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glHistogram.xml">external</a> documentation.
+histogram(Target,Width,Internalformat,Sink) ->
+ wxe_util:cast(5354, <<Target:?GLenum,Width:?GLsizei,Internalformat:?GLenum,Sink:?GLboolean>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Sink::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMinmax.xml">external</a> documentation.
+minmax(Target,Internalformat,Sink) ->
+ wxe_util:cast(5355, <<Target:?GLenum,Internalformat:?GLenum,Sink:?GLboolean>>).
+
+%% @spec (Target::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResetHistogram.xml">external</a> documentation.
+resetHistogram(Target) ->
+ wxe_util:cast(5356, <<Target:?GLenum>>).
+
+%% @spec (Target::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResetMinmax.xml">external</a> documentation.
+resetMinmax(Target) ->
+ wxe_util:cast(5357, <<Target:?GLenum>>).
+
+%% @spec (Texture::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml">external</a> documentation.
+activeTexture(Texture) ->
+ wxe_util:cast(5358, <<Texture:?GLenum>>).
+
+%% @spec (Value::clamp(),Invert::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSampleCoverage.xml">external</a> documentation.
+sampleCoverage(Value,Invert) ->
+ wxe_util:cast(5359, <<Value:?GLclampf,Invert:?GLboolean>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage3D.xml">external</a> documentation.
+compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5360, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5361, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage2D.xml">external</a> documentation.
+compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5362, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5363, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage1D.xml">external</a> documentation.
+compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5364, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5365, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage3D.xml">external</a> documentation.
+compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5366, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5367, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage2D.xml">external</a> documentation.
+compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5368, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5369, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage1D.xml">external</a> documentation.
+compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) when is_integer(Data) ->
+ wxe_util:cast(5370, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>);
+compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5371, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Level::integer(),Img::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetCompressedTexImage.xml">external</a> documentation.
+getCompressedTexImage(Target,Level,Img) ->
+ wxe_util:send_bin(Img#wx_mem.bin),
+ wxe_util:call(5372, <<Target:?GLenum,Level:?GLint>>).
+
+%% @spec (Texture::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml">external</a> documentation.
+clientActiveTexture(Texture) ->
+ wxe_util:cast(5373, <<Texture:?GLenum>>).
+
+%% @spec (Target::enum(),S::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord1d(Target,S) ->
+ wxe_util:cast(5374, <<Target:?GLenum,0:32,S:?GLdouble>>).
+
+%% @spec (Target,{S}) -> ok
+%% @equiv multiTexCoord1d(Target,S)
+multiTexCoord1dv(Target,{S}) -> multiTexCoord1d(Target,S).
+
+%% @spec (Target::enum(),S::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord1f(Target,S) ->
+ wxe_util:cast(5375, <<Target:?GLenum,S:?GLfloat>>).
+
+%% @spec (Target,{S}) -> ok
+%% @equiv multiTexCoord1f(Target,S)
+multiTexCoord1fv(Target,{S}) -> multiTexCoord1f(Target,S).
+
+%% @spec (Target::enum(),S::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord1i(Target,S) ->
+ wxe_util:cast(5376, <<Target:?GLenum,S:?GLint>>).
+
+%% @spec (Target,{S}) -> ok
+%% @equiv multiTexCoord1i(Target,S)
+multiTexCoord1iv(Target,{S}) -> multiTexCoord1i(Target,S).
+
+%% @spec (Target::enum(),S::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord1s(Target,S) ->
+ wxe_util:cast(5377, <<Target:?GLenum,S:?GLshort>>).
+
+%% @spec (Target,{S}) -> ok
+%% @equiv multiTexCoord1s(Target,S)
+multiTexCoord1sv(Target,{S}) -> multiTexCoord1s(Target,S).
+
+%% @spec (Target::enum(),S::float(),T::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord2d(Target,S,T) ->
+ wxe_util:cast(5378, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble>>).
+
+%% @spec (Target,{S,T}) -> ok
+%% @equiv multiTexCoord2d(Target,S,T)
+multiTexCoord2dv(Target,{S,T}) -> multiTexCoord2d(Target,S,T).
+
+%% @spec (Target::enum(),S::float(),T::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord2f(Target,S,T) ->
+ wxe_util:cast(5379, <<Target:?GLenum,S:?GLfloat,T:?GLfloat>>).
+
+%% @spec (Target,{S,T}) -> ok
+%% @equiv multiTexCoord2f(Target,S,T)
+multiTexCoord2fv(Target,{S,T}) -> multiTexCoord2f(Target,S,T).
+
+%% @spec (Target::enum(),S::integer(),T::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord2i(Target,S,T) ->
+ wxe_util:cast(5380, <<Target:?GLenum,S:?GLint,T:?GLint>>).
+
+%% @spec (Target,{S,T}) -> ok
+%% @equiv multiTexCoord2i(Target,S,T)
+multiTexCoord2iv(Target,{S,T}) -> multiTexCoord2i(Target,S,T).
+
+%% @spec (Target::enum(),S::integer(),T::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord2s(Target,S,T) ->
+ wxe_util:cast(5381, <<Target:?GLenum,S:?GLshort,T:?GLshort>>).
+
+%% @spec (Target,{S,T}) -> ok
+%% @equiv multiTexCoord2s(Target,S,T)
+multiTexCoord2sv(Target,{S,T}) -> multiTexCoord2s(Target,S,T).
+
+%% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord3d(Target,S,T,R) ->
+ wxe_util:cast(5382, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble>>).
+
+%% @spec (Target,{S,T,R}) -> ok
+%% @equiv multiTexCoord3d(Target,S,T,R)
+multiTexCoord3dv(Target,{S,T,R}) -> multiTexCoord3d(Target,S,T,R).
+
+%% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord3f(Target,S,T,R) ->
+ wxe_util:cast(5383, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat>>).
+
+%% @spec (Target,{S,T,R}) -> ok
+%% @equiv multiTexCoord3f(Target,S,T,R)
+multiTexCoord3fv(Target,{S,T,R}) -> multiTexCoord3f(Target,S,T,R).
+
+%% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord3i(Target,S,T,R) ->
+ wxe_util:cast(5384, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint>>).
+
+%% @spec (Target,{S,T,R}) -> ok
+%% @equiv multiTexCoord3i(Target,S,T,R)
+multiTexCoord3iv(Target,{S,T,R}) -> multiTexCoord3i(Target,S,T,R).
+
+%% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord3s(Target,S,T,R) ->
+ wxe_util:cast(5385, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort>>).
+
+%% @spec (Target,{S,T,R}) -> ok
+%% @equiv multiTexCoord3s(Target,S,T,R)
+multiTexCoord3sv(Target,{S,T,R}) -> multiTexCoord3s(Target,S,T,R).
+
+%% @spec (Target::enum(),S::float(),T::float(),R::float(),Q::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord4d(Target,S,T,R,Q) ->
+ wxe_util:cast(5386, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>).
+
+%% @spec (Target,{S,T,R,Q}) -> ok
+%% @equiv multiTexCoord4d(Target,S,T,R,Q)
+multiTexCoord4dv(Target,{S,T,R,Q}) -> multiTexCoord4d(Target,S,T,R,Q).
+
+%% @spec (Target::enum(),S::float(),T::float(),R::float(),Q::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord4f(Target,S,T,R,Q) ->
+ wxe_util:cast(5387, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>).
+
+%% @spec (Target,{S,T,R,Q}) -> ok
+%% @equiv multiTexCoord4f(Target,S,T,R,Q)
+multiTexCoord4fv(Target,{S,T,R,Q}) -> multiTexCoord4f(Target,S,T,R,Q).
+
+%% @spec (Target::enum(),S::integer(),T::integer(),R::integer(),Q::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord4i(Target,S,T,R,Q) ->
+ wxe_util:cast(5388, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>).
+
+%% @spec (Target,{S,T,R,Q}) -> ok
+%% @equiv multiTexCoord4i(Target,S,T,R,Q)
+multiTexCoord4iv(Target,{S,T,R,Q}) -> multiTexCoord4i(Target,S,T,R,Q).
+
+%% @spec (Target::enum(),S::integer(),T::integer(),R::integer(),Q::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation.
+multiTexCoord4s(Target,S,T,R,Q) ->
+ wxe_util:cast(5389, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>).
+
+%% @spec (Target,{S,T,R,Q}) -> ok
+%% @equiv multiTexCoord4s(Target,S,T,R,Q)
+multiTexCoord4sv(Target,{S,T,R,Q}) -> multiTexCoord4s(Target,S,T,R,Q).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrix.xml">external</a> documentation.
+loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrix.xml">external</a> documentation.
+loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrix.xml">external</a> documentation.
+multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrix.xml">external</a> documentation.
+multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (SfactorRGB::enum(),DfactorRGB::enum(),SfactorAlpha::enum(),DfactorAlpha::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFuncSeparate.xml">external</a> documentation.
+blendFuncSeparate(SfactorRGB,DfactorRGB,SfactorAlpha,DfactorAlpha) ->
+ wxe_util:cast(5394, <<SfactorRGB:?GLenum,DfactorRGB:?GLenum,SfactorAlpha:?GLenum,DfactorAlpha:?GLenum>>).
+
+%% @spec (Mode::enum(),First::[integer()],Count::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiDrawArrays.xml">external</a> documentation.
+multiDrawArrays(Mode,First,Count) ->
+ wxe_util:cast(5395, <<Mode:?GLenum,(length(First)):?GLuint,
+ (<< <<C:?GLint>> || C <- First>>)/binary,0:(((length(First)) rem 2)*32),(length(Count)):?GLuint,
+ (<< <<C:?GLsizei>> || C <- Count>>)/binary,0:(((1+length(Count)) rem 2)*32)>>).
+
+%% @spec (Pname::enum(),Param::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation.
+pointParameterf(Pname,Param) ->
+ wxe_util:cast(5396, <<Pname:?GLenum,Param:?GLfloat>>).
+
+%% @spec (Pname::enum(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation.
+pointParameterfv(Pname,Params) ->
+ wxe_util:cast(5397, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Pname::enum(),Param::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation.
+pointParameteri(Pname,Param) ->
+ wxe_util:cast(5398, <<Pname:?GLenum,Param:?GLint>>).
+
+%% @spec (Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation.
+pointParameteriv(Pname,Params) ->
+ wxe_util:cast(5399, <<Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>).
+
+%% @spec (Coord::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoord.xml">external</a> documentation.
+fogCoordf(Coord) ->
+ wxe_util:cast(5400, <<Coord:?GLfloat>>).
+
+%% @spec ({Coord}) -> ok
+%% @equiv fogCoordf(Coord)
+fogCoordfv({Coord}) -> fogCoordf(Coord).
+
+%% @spec (Coord::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoord.xml">external</a> documentation.
+fogCoordd(Coord) ->
+ wxe_util:cast(5401, <<Coord:?GLdouble>>).
+
+%% @spec ({Coord}) -> ok
+%% @equiv fogCoordd(Coord)
+fogCoorddv({Coord}) -> fogCoordd(Coord).
+
+%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoordPointer.xml">external</a> documentation.
+fogCoordPointer(Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5402, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+fogCoordPointer(Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5403, <<Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3b(Red,Green,Blue) ->
+ wxe_util:cast(5404, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3b(Red,Green,Blue)
+secondaryColor3bv({Red,Green,Blue}) -> secondaryColor3b(Red,Green,Blue).
+
+%% @spec (Red::float(),Green::float(),Blue::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3d(Red,Green,Blue) ->
+ wxe_util:cast(5405, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3d(Red,Green,Blue)
+secondaryColor3dv({Red,Green,Blue}) -> secondaryColor3d(Red,Green,Blue).
+
+%% @spec (Red::float(),Green::float(),Blue::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3f(Red,Green,Blue) ->
+ wxe_util:cast(5406, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3f(Red,Green,Blue)
+secondaryColor3fv({Red,Green,Blue}) -> secondaryColor3f(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3i(Red,Green,Blue) ->
+ wxe_util:cast(5407, <<Red:?GLint,Green:?GLint,Blue:?GLint>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3i(Red,Green,Blue)
+secondaryColor3iv({Red,Green,Blue}) -> secondaryColor3i(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3s(Red,Green,Blue) ->
+ wxe_util:cast(5408, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3s(Red,Green,Blue)
+secondaryColor3sv({Red,Green,Blue}) -> secondaryColor3s(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3ub(Red,Green,Blue) ->
+ wxe_util:cast(5409, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3ub(Red,Green,Blue)
+secondaryColor3ubv({Red,Green,Blue}) -> secondaryColor3ub(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3ui(Red,Green,Blue) ->
+ wxe_util:cast(5410, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3ui(Red,Green,Blue)
+secondaryColor3uiv({Red,Green,Blue}) -> secondaryColor3ui(Red,Green,Blue).
+
+%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation.
+secondaryColor3us(Red,Green,Blue) ->
+ wxe_util:cast(5411, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>).
+
+%% @spec ({Red,Green,Blue}) -> ok
+%% @equiv secondaryColor3us(Red,Green,Blue)
+secondaryColor3usv({Red,Green,Blue}) -> secondaryColor3us(Red,Green,Blue).
+
+%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColorPointer.xml">external</a> documentation.
+secondaryColorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5412, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+secondaryColorPointer(Size,Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5413, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos2d(X,Y) ->
+ wxe_util:cast(5414, <<X:?GLdouble,Y:?GLdouble>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv windowPos2d(X,Y)
+windowPos2dv({X,Y}) -> windowPos2d(X,Y).
+
+%% @spec (X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos2f(X,Y) ->
+ wxe_util:cast(5415, <<X:?GLfloat,Y:?GLfloat>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv windowPos2f(X,Y)
+windowPos2fv({X,Y}) -> windowPos2f(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos2i(X,Y) ->
+ wxe_util:cast(5416, <<X:?GLint,Y:?GLint>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv windowPos2i(X,Y)
+windowPos2iv({X,Y}) -> windowPos2i(X,Y).
+
+%% @spec (X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos2s(X,Y) ->
+ wxe_util:cast(5417, <<X:?GLshort,Y:?GLshort>>).
+
+%% @spec ({X,Y}) -> ok
+%% @equiv windowPos2s(X,Y)
+windowPos2sv({X,Y}) -> windowPos2s(X,Y).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos3d(X,Y,Z) ->
+ wxe_util:cast(5418, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv windowPos3d(X,Y,Z)
+windowPos3dv({X,Y,Z}) -> windowPos3d(X,Y,Z).
+
+%% @spec (X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos3f(X,Y,Z) ->
+ wxe_util:cast(5419, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv windowPos3f(X,Y,Z)
+windowPos3fv({X,Y,Z}) -> windowPos3f(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos3i(X,Y,Z) ->
+ wxe_util:cast(5420, <<X:?GLint,Y:?GLint,Z:?GLint>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv windowPos3i(X,Y,Z)
+windowPos3iv({X,Y,Z}) -> windowPos3i(X,Y,Z).
+
+%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation.
+windowPos3s(X,Y,Z) ->
+ wxe_util:cast(5421, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>).
+
+%% @spec ({X,Y,Z}) -> ok
+%% @equiv windowPos3s(X,Y,Z)
+windowPos3sv({X,Y,Z}) -> windowPos3s(X,Y,Z).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenQueries.xml">external</a> documentation.
+genQueries(N) ->
+ wxe_util:call(5422, <<N:?GLsizei>>).
+
+%% @spec (Ids::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteQueries.xml">external</a> documentation.
+deleteQueries(Ids) ->
+ wxe_util:cast(5423, <<(length(Ids)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Ids>>)/binary,0:(((1+length(Ids)) rem 2)*32)>>).
+
+%% @spec (Id::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsQuery.xml">external</a> documentation.
+isQuery(Id) ->
+ wxe_util:call(5424, <<Id:?GLuint>>).
+
+%% @spec (Target::enum(),Id::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginQuery.xml">external</a> documentation.
+beginQuery(Target,Id) ->
+ wxe_util:cast(5425, <<Target:?GLenum,Id:?GLuint>>).
+
+%% @spec (Target::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndQuery.xml">external</a> documentation.
+endQuery(Target) ->
+ wxe_util:cast(5426, <<Target:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQuery.xml">external</a> documentation.
+getQueryiv(Target,Pname) ->
+ wxe_util:call(5427, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Id::integer(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObject.xml">external</a> documentation.
+getQueryObjectiv(Id,Pname) ->
+ wxe_util:call(5428, <<Id:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Id::integer(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObject.xml">external</a> documentation.
+getQueryObjectuiv(Id,Pname) ->
+ wxe_util:call(5429, <<Id:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Buffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml">external</a> documentation.
+bindBuffer(Target,Buffer) ->
+ wxe_util:cast(5430, <<Target:?GLenum,Buffer:?GLuint>>).
+
+%% @spec (Buffers::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteBuffers.xml">external</a> documentation.
+deleteBuffers(Buffers) ->
+ wxe_util:cast(5431, <<(length(Buffers)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Buffers>>)/binary,0:(((1+length(Buffers)) rem 2)*32)>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenBuffers.xml">external</a> documentation.
+genBuffers(N) ->
+ wxe_util:call(5432, <<N:?GLsizei>>).
+
+%% @spec (Buffer::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsBuffer.xml">external</a> documentation.
+isBuffer(Buffer) ->
+ wxe_util:call(5433, <<Buffer:?GLuint>>).
+
+%% @spec (Target::enum(),Size::integer(),Data::offset()|binary(),Usage::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBufferData.xml">external</a> documentation.
+bufferData(Target,Size,Data,Usage) when is_integer(Data) ->
+ wxe_util:cast(5434, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Data:?GLuint,Usage:?GLenum>>);
+bufferData(Target,Size,Data,Usage) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5435, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Usage:?GLenum>>).
+
+%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBufferSubData.xml">external</a> documentation.
+bufferSubData(Target,Offset,Size,Data) when is_integer(Data) ->
+ wxe_util:cast(5436, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr,Data:?GLuint>>);
+bufferSubData(Target,Offset,Size,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:cast(5437, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>).
+
+%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferSubData.xml">external</a> documentation.
+getBufferSubData(Target,Offset,Size,Data) ->
+ wxe_util:send_bin(Data#wx_mem.bin),
+ wxe_util:call(5438, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferParameteriv.xml">external</a> documentation.
+getBufferParameteriv(Target,Pname) ->
+ wxe_util:call(5439, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (ModeRGB::enum(),ModeAlpha::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquationSeparate.xml">external</a> documentation.
+blendEquationSeparate(ModeRGB,ModeAlpha) ->
+ wxe_util:cast(5440, <<ModeRGB:?GLenum,ModeAlpha:?GLenum>>).
+
+%% @spec (Bufs::[enum()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawBuffers.xml">external</a> documentation.
+drawBuffers(Bufs) ->
+ wxe_util:cast(5441, <<(length(Bufs)):?GLuint,
+ (<< <<C:?GLenum>> || C <- Bufs>>)/binary,0:(((1+length(Bufs)) rem 2)*32)>>).
+
+%% @spec (Face::enum(),Sfail::enum(),Dpfail::enum(),Dppass::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilOpSeparate.xml">external</a> documentation.
+stencilOpSeparate(Face,Sfail,Dpfail,Dppass) ->
+ wxe_util:cast(5442, <<Face:?GLenum,Sfail:?GLenum,Dpfail:?GLenum,Dppass:?GLenum>>).
+
+%% @spec (Frontfunc::enum(),Backfunc::enum(),Ref::integer(),Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml">external</a> documentation.
+stencilFuncSeparate(Frontfunc,Backfunc,Ref,Mask) ->
+ wxe_util:cast(5443, <<Frontfunc:?GLenum,Backfunc:?GLenum,Ref:?GLint,Mask:?GLuint>>).
+
+%% @spec (Face::enum(),Mask::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilMaskSeparate.xml">external</a> documentation.
+stencilMaskSeparate(Face,Mask) ->
+ wxe_util:cast(5444, <<Face:?GLenum,Mask:?GLuint>>).
+
+%% @spec (Program::integer(),Shader::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAttachShader.xml">external</a> documentation.
+attachShader(Program,Shader) ->
+ wxe_util:cast(5445, <<Program:?GLuint,Shader:?GLuint>>).
+
+%% @spec (Program::integer(),Index::integer(),Name::string()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindAttribLocation.xml">external</a> documentation.
+bindAttribLocation(Program,Index,Name) ->
+ wxe_util:cast(5446, <<Program:?GLuint,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>).
+
+%% @spec (Shader::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompileShader.xml">external</a> documentation.
+compileShader(Shader) ->
+ wxe_util:cast(5447, <<Shader:?GLuint>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateProgram.xml">external</a> documentation.
+createProgram() ->
+ wxe_util:call(5448, <<>>).
+
+%% @spec (Type::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateShader.xml">external</a> documentation.
+createShader(Type) ->
+ wxe_util:call(5449, <<Type:?GLenum>>).
+
+%% @spec (Program::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteProgram.xml">external</a> documentation.
+deleteProgram(Program) ->
+ wxe_util:cast(5450, <<Program:?GLuint>>).
+
+%% @spec (Shader::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteShader.xml">external</a> documentation.
+deleteShader(Shader) ->
+ wxe_util:cast(5451, <<Shader:?GLuint>>).
+
+%% @spec (Program::integer(),Shader::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDetachShader.xml">external</a> documentation.
+detachShader(Program,Shader) ->
+ wxe_util:cast(5452, <<Program:?GLuint,Shader:?GLuint>>).
+
+%% @spec (Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisableVertexAttribArray.xml">external</a> documentation.
+disableVertexAttribArray(Index) ->
+ wxe_util:cast(5453, <<Index:?GLuint>>).
+
+%% @spec (Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnableVertexAttribArray.xml">external</a> documentation.
+enableVertexAttribArray(Index) ->
+ wxe_util:cast(5454, <<Index:?GLuint>>).
+
+%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveAttrib.xml">external</a> documentation.
+getActiveAttrib(Program,Index,BufSize) ->
+ wxe_util:call(5455, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml">external</a> documentation.
+getActiveUniform(Program,Index,BufSize) ->
+ wxe_util:call(5456, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Program::integer(),MaxCount::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttachedShaders.xml">external</a> documentation.
+getAttachedShaders(Program,MaxCount) ->
+ wxe_util:call(5457, <<Program:?GLuint,MaxCount:?GLsizei>>).
+
+%% @spec (Program::integer(),Name::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttribLocation.xml">external</a> documentation.
+getAttribLocation(Program,Name) ->
+ wxe_util:call(5458, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgram.xml">external</a> documentation.
+getProgramiv(Program,Pname) ->
+ wxe_util:call(5459, <<Program:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Program::integer(),BufSize::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramInfoLog.xml">external</a> documentation.
+getProgramInfoLog(Program,BufSize) ->
+ wxe_util:call(5460, <<Program:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Shader::integer(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShader.xml">external</a> documentation.
+getShaderiv(Shader,Pname) ->
+ wxe_util:call(5461, <<Shader:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Shader::integer(),BufSize::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderInfoLog.xml">external</a> documentation.
+getShaderInfoLog(Shader,BufSize) ->
+ wxe_util:call(5462, <<Shader:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Shader::integer(),BufSize::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderSource.xml">external</a> documentation.
+getShaderSource(Shader,BufSize) ->
+ wxe_util:call(5463, <<Shader:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Program::integer(),Name::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformLocation.xml">external</a> documentation.
+getUniformLocation(Program,Name) ->
+ wxe_util:call(5464, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer(),Location::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation.
+getUniformfv(Program,Location) ->
+ wxe_util:call(5465, <<Program:?GLuint,Location:?GLint>>).
+
+%% @spec (Program::integer(),Location::integer()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation.
+getUniformiv(Program,Location) ->
+ wxe_util:call(5466, <<Program:?GLuint,Location:?GLint>>).
+
+%% @spec (Index::integer(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation.
+getVertexAttribdv(Index,Pname) ->
+ wxe_util:call(5467, <<Index:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Index::integer(),Pname::enum()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation.
+getVertexAttribfv(Index,Pname) ->
+ wxe_util:call(5468, <<Index:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Index::integer(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation.
+getVertexAttribiv(Index,Pname) ->
+ wxe_util:call(5469, <<Index:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Program::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsProgram.xml">external</a> documentation.
+isProgram(Program) ->
+ wxe_util:call(5470, <<Program:?GLuint>>).
+
+%% @spec (Shader::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsShader.xml">external</a> documentation.
+isShader(Shader) ->
+ wxe_util:call(5471, <<Shader:?GLuint>>).
+
+%% @spec (Program::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLinkProgram.xml">external</a> documentation.
+linkProgram(Program) ->
+ wxe_util:cast(5472, <<Program:?GLuint>>).
+
+%% @spec (Shader::integer(),String::[string()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShaderSource.xml">external</a> documentation.
+shaderSource(Shader,String) ->
+ StringTemp = list_to_binary([[Str|[0]] || Str <- String ]),
+ wxe_util:cast(5473, <<Shader:?GLuint,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+0) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUseProgram.xml">external</a> documentation.
+useProgram(Program) ->
+ wxe_util:cast(5474, <<Program:?GLuint>>).
+
+%% @spec (Location::integer(),V0::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1f(Location,V0) ->
+ wxe_util:cast(5475, <<Location:?GLint,V0:?GLfloat>>).
+
+%% @spec (Location::integer(),V0::float(),V1::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2f(Location,V0,V1) ->
+ wxe_util:cast(5476, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat>>).
+
+%% @spec (Location::integer(),V0::float(),V1::float(),V2::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3f(Location,V0,V1,V2) ->
+ wxe_util:cast(5477, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat>>).
+
+%% @spec (Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4f(Location,V0,V1,V2,V3) ->
+ wxe_util:cast(5478, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>>).
+
+%% @spec (Location::integer(),V0::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1i(Location,V0) ->
+ wxe_util:cast(5479, <<Location:?GLint,V0:?GLint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2i(Location,V0,V1) ->
+ wxe_util:cast(5480, <<Location:?GLint,V0:?GLint,V1:?GLint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3i(Location,V0,V1,V2) ->
+ wxe_util:cast(5481, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4i(Location,V0,V1,V2,V3) ->
+ wxe_util:cast(5482, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint,V3:?GLint>>).
+
+%% @spec (Location::integer(),Value::[float()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1fv(Location,Value) ->
+ wxe_util:cast(5483, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<C:?GLfloat>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>).
+
+%% @spec (Location::integer(),Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2fv(Location,Value) ->
+ wxe_util:cast(5484, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat>> || {V1,V2} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3fv(Location,Value) ->
+ wxe_util:cast(5485, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>> || {V1,V2,V3} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4fv(Location,Value) ->
+ wxe_util:cast(5486, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1iv(Location,Value) ->
+ wxe_util:cast(5487, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<C:?GLint>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2iv(Location,Value) ->
+ wxe_util:cast(5488, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLint,V2:?GLint>> || {V1,V2} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3iv(Location,Value) ->
+ wxe_util:cast(5489, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLint,V2:?GLint,V3:?GLint>> || {V1,V2,V3} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4iv(Location,Value) ->
+ wxe_util:cast(5490, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>> || {V1,V2,V3,V4} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation.
+uniformMatrix2fv(Location,Transpose,Value) ->
+ wxe_util:cast(5491, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation.
+uniformMatrix3fv(Location,Transpose,Value) ->
+ wxe_util:cast(5492, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation.
+uniformMatrix4fv(Location,Transpose,Value) ->
+ wxe_util:cast(5493, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat,V13:?GLfloat,V14:?GLfloat,V15:?GLfloat,V16:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>).
+
+%% @spec (Program::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glValidateProgram.xml">external</a> documentation.
+validateProgram(Program) ->
+ wxe_util:cast(5494, <<Program:?GLuint>>).
+
+%% @spec (Index::integer(),X::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib1d(Index,X) ->
+ wxe_util:cast(5495, <<Index:?GLuint,0:32,X:?GLdouble>>).
+
+%% @spec (Index,{X}) -> ok
+%% @equiv vertexAttrib1d(Index,X)
+vertexAttrib1dv(Index,{X}) -> vertexAttrib1d(Index,X).
+
+%% @spec (Index::integer(),X::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib1f(Index,X) ->
+ wxe_util:cast(5496, <<Index:?GLuint,X:?GLfloat>>).
+
+%% @spec (Index,{X}) -> ok
+%% @equiv vertexAttrib1f(Index,X)
+vertexAttrib1fv(Index,{X}) -> vertexAttrib1f(Index,X).
+
+%% @spec (Index::integer(),X::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib1s(Index,X) ->
+ wxe_util:cast(5497, <<Index:?GLuint,X:?GLshort>>).
+
+%% @spec (Index,{X}) -> ok
+%% @equiv vertexAttrib1s(Index,X)
+vertexAttrib1sv(Index,{X}) -> vertexAttrib1s(Index,X).
+
+%% @spec (Index::integer(),X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib2d(Index,X,Y) ->
+ wxe_util:cast(5498, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble>>).
+
+%% @spec (Index,{X,Y}) -> ok
+%% @equiv vertexAttrib2d(Index,X,Y)
+vertexAttrib2dv(Index,{X,Y}) -> vertexAttrib2d(Index,X,Y).
+
+%% @spec (Index::integer(),X::float(),Y::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib2f(Index,X,Y) ->
+ wxe_util:cast(5499, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat>>).
+
+%% @spec (Index,{X,Y}) -> ok
+%% @equiv vertexAttrib2f(Index,X,Y)
+vertexAttrib2fv(Index,{X,Y}) -> vertexAttrib2f(Index,X,Y).
+
+%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib2s(Index,X,Y) ->
+ wxe_util:cast(5500, <<Index:?GLuint,X:?GLshort,Y:?GLshort>>).
+
+%% @spec (Index,{X,Y}) -> ok
+%% @equiv vertexAttrib2s(Index,X,Y)
+vertexAttrib2sv(Index,{X,Y}) -> vertexAttrib2s(Index,X,Y).
+
+%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib3d(Index,X,Y,Z) ->
+ wxe_util:cast(5501, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>).
+
+%% @spec (Index,{X,Y,Z}) -> ok
+%% @equiv vertexAttrib3d(Index,X,Y,Z)
+vertexAttrib3dv(Index,{X,Y,Z}) -> vertexAttrib3d(Index,X,Y,Z).
+
+%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib3f(Index,X,Y,Z) ->
+ wxe_util:cast(5502, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>).
+
+%% @spec (Index,{X,Y,Z}) -> ok
+%% @equiv vertexAttrib3f(Index,X,Y,Z)
+vertexAttrib3fv(Index,{X,Y,Z}) -> vertexAttrib3f(Index,X,Y,Z).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib3s(Index,X,Y,Z) ->
+ wxe_util:cast(5503, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort>>).
+
+%% @spec (Index,{X,Y,Z}) -> ok
+%% @equiv vertexAttrib3s(Index,X,Y,Z)
+vertexAttrib3sv(Index,{X,Y,Z}) -> vertexAttrib3s(Index,X,Y,Z).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Nbv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5504, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Niv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5505, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Nsv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5506, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Nub(Index,X,Y,Z,W) ->
+ wxe_util:cast(5507, <<Index:?GLuint,X:?GLubyte,Y:?GLubyte,Z:?GLubyte,W:?GLubyte>>).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttrib4Nub(Index,X,Y,Z,W)
+vertexAttrib4Nubv(Index,{X,Y,Z,W}) -> vertexAttrib4Nub(Index,X,Y,Z,W).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Nuiv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5508, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4Nusv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5509, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4bv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5510, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>).
+
+%% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4d(Index,X,Y,Z,W) ->
+ wxe_util:cast(5511, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttrib4d(Index,X,Y,Z,W)
+vertexAttrib4dv(Index,{X,Y,Z,W}) -> vertexAttrib4d(Index,X,Y,Z,W).
+
+%% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4f(Index,X,Y,Z,W) ->
+ wxe_util:cast(5512, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttrib4f(Index,X,Y,Z,W)
+vertexAttrib4fv(Index,{X,Y,Z,W}) -> vertexAttrib4f(Index,X,Y,Z,W).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4iv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5513, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4s(Index,X,Y,Z,W) ->
+ wxe_util:cast(5514, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttrib4s(Index,X,Y,Z,W)
+vertexAttrib4sv(Index,{X,Y,Z,W}) -> vertexAttrib4s(Index,X,Y,Z,W).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4ubv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5515, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4uiv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5516, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation.
+vertexAttrib4usv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5517, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>).
+
+%% @spec (Index::integer(),Size::integer(),Type::enum(),Normalized::0|1,Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribPointer.xml">external</a> documentation.
+vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5518, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei,Pointer:?GLuint>>);
+vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5519, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation.
+uniformMatrix2x3fv(Location,Transpose,Value) ->
+ wxe_util:cast(5520, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation.
+uniformMatrix3x2fv(Location,Transpose,Value) ->
+ wxe_util:cast(5521, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation.
+uniformMatrix2x4fv(Location,Transpose,Value) ->
+ wxe_util:cast(5522, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation.
+uniformMatrix4x2fv(Location,Transpose,Value) ->
+ wxe_util:cast(5523, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation.
+uniformMatrix3x4fv(Location,Transpose,Value) ->
+ wxe_util:cast(5524, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation.
+uniformMatrix4x3fv(Location,Transpose,Value) ->
+ wxe_util:cast(5525, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,
+ (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>).
+
+%% @spec (Index::integer(),R::0|1,G::0|1,B::0|1,A::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMaski.xml">external</a> documentation.
+colorMaski(Index,R,G,B,A) ->
+ wxe_util:cast(5526, <<Index:?GLuint,R:?GLboolean,G:?GLboolean,B:?GLboolean,A:?GLboolean>>).
+
+%% @spec (Target::enum(),Index::integer()) -> [0|1]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBooleani_v.xml">external</a> documentation.
+getBooleani_v(Target,Index) ->
+ wxe_util:call(5527, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetIntegeri_v.xml">external</a> documentation.
+getIntegeri_v(Target,Index) ->
+ wxe_util:call(5528, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml">external</a> documentation.
+enablei(Target,Index) ->
+ wxe_util:cast(5529, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisable.xml">external</a> documentation.
+disablei(Target,Index) ->
+ wxe_util:cast(5530, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsEnabledi.xml">external</a> documentation.
+isEnabledi(Target,Index) ->
+ wxe_util:call(5531, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (PrimitiveMode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginTransformFeedback.xml">external</a> documentation.
+beginTransformFeedback(PrimitiveMode) ->
+ wxe_util:cast(5532, <<PrimitiveMode:?GLenum>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndTransformFeedback.xml">external</a> documentation.
+endTransformFeedback() ->
+ wxe_util:cast(5533, <<>>).
+
+%% @spec (Target::enum(),Index::integer(),Buffer::integer(),Offset::integer(),Size::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBufferRange.xml">external</a> documentation.
+bindBufferRange(Target,Index,Buffer,Offset,Size) ->
+ wxe_util:cast(5534, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>).
+
+%% @spec (Target::enum(),Index::integer(),Buffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBufferBase.xml">external</a> documentation.
+bindBufferBase(Target,Index,Buffer) ->
+ wxe_util:cast(5535, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint>>).
+
+%% @spec (Program::integer(),Varyings::[string()],BufferMode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTransformFeedbackVaryings.xml">external</a> documentation.
+transformFeedbackVaryings(Program,Varyings,BufferMode) ->
+ VaryingsTemp = list_to_binary([[Str|[0]] || Str <- Varyings ]),
+ wxe_util:cast(5536, <<Program:?GLuint,(length(Varyings)):?GLuint,(size(VaryingsTemp)):?GLuint,(VaryingsTemp)/binary,0:((8-((size(VaryingsTemp)+0) rem 8)) rem 8),BufferMode:?GLenum>>).
+
+%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTransformFeedbackVarying.xml">external</a> documentation.
+getTransformFeedbackVarying(Program,Index,BufSize) ->
+ wxe_util:call(5537, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Target::enum(),Clamp::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClampColor.xml">external</a> documentation.
+clampColor(Target,Clamp) ->
+ wxe_util:cast(5538, <<Target:?GLenum,Clamp:?GLenum>>).
+
+%% @spec (Id::integer(),Mode::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginConditionalRender.xml">external</a> documentation.
+beginConditionalRender(Id,Mode) ->
+ wxe_util:cast(5539, <<Id:?GLuint,Mode:?GLenum>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndConditionalRender.xml">external</a> documentation.
+endConditionalRender() ->
+ wxe_util:cast(5540, <<>>).
+
+%% @spec (Index::integer(),Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribIPointer.xml">external</a> documentation.
+vertexAttribIPointer(Index,Size,Type,Stride,Pointer) when is_integer(Pointer) ->
+ wxe_util:cast(5541, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>);
+vertexAttribIPointer(Index,Size,Type,Stride,Pointer) ->
+ wxe_util:send_bin(Pointer),
+ wxe_util:cast(5542, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei>>).
+
+%% @spec (Index::integer(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttribI.xml">external</a> documentation.
+getVertexAttribIiv(Index,Pname) ->
+ wxe_util:call(5543, <<Index:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Index::integer(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttribI.xml">external</a> documentation.
+getVertexAttribIuiv(Index,Pname) ->
+ wxe_util:call(5544, <<Index:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Program::integer(),Location::integer()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation.
+getUniformuiv(Program,Location) ->
+ wxe_util:call(5545, <<Program:?GLuint,Location:?GLint>>).
+
+%% @spec (Program::integer(),Color::integer(),Name::string()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindFragDataLocation.xml">external</a> documentation.
+bindFragDataLocation(Program,Color,Name) ->
+ wxe_util:cast(5546, <<Program:?GLuint,Color:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer(),Name::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFragDataLocation.xml">external</a> documentation.
+getFragDataLocation(Program,Name) ->
+ wxe_util:call(5547, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>).
+
+%% @spec (Location::integer(),V0::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1ui(Location,V0) ->
+ wxe_util:cast(5548, <<Location:?GLint,V0:?GLuint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2ui(Location,V0,V1) ->
+ wxe_util:cast(5549, <<Location:?GLint,V0:?GLuint,V1:?GLuint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3ui(Location,V0,V1,V2) ->
+ wxe_util:cast(5550, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint>>).
+
+%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4ui(Location,V0,V1,V2,V3) ->
+ wxe_util:cast(5551, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint>>).
+
+%% @spec (Location::integer(),Value::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform1uiv(Location,Value) ->
+ wxe_util:cast(5552, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform2uiv(Location,Value) ->
+ wxe_util:cast(5553, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLuint,V2:?GLuint>> || {V1,V2} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform3uiv(Location,Value) ->
+ wxe_util:cast(5554, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint>> || {V1,V2,V3} <- Value>>)/binary>>).
+
+%% @spec (Location::integer(),Value::[{integer()}]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation.
+uniform4uiv(Location,Value) ->
+ wxe_util:cast(5555, <<Location:?GLint,(length(Value)):?GLuint,
+ (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>> || {V1,V2,V3,V4} <- Value>>)/binary>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameterI.xml">external</a> documentation.
+texParameterIiv(Target,Pname,Params) ->
+ wxe_util:cast(5556, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameterI.xml">external</a> documentation.
+texParameterIuiv(Target,Pname,Params) ->
+ wxe_util:cast(5557, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,
+ (<< <<C:?GLuint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameterI.xml">external</a> documentation.
+getTexParameterIiv(Target,Pname) ->
+ wxe_util:call(5558, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameterI.xml">external</a> documentation.
+getTexParameterIuiv(Target,Pname) ->
+ wxe_util:call(5559, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation.
+clearBufferiv(Buffer,Drawbuffer,Value) ->
+ wxe_util:cast(5560, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint,
+ (<< <<C:?GLint>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>).
+
+%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation.
+clearBufferuiv(Buffer,Drawbuffer,Value) ->
+ wxe_util:cast(5561, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint,
+ (<< <<C:?GLuint>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>).
+
+%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation.
+clearBufferfv(Buffer,Drawbuffer,Value) ->
+ wxe_util:cast(5562, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint,
+ (<< <<C:?GLfloat>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>).
+
+%% @spec (Buffer::enum(),Drawbuffer::integer(),Depth::float(),Stencil::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBufferfi.xml">external</a> documentation.
+clearBufferfi(Buffer,Drawbuffer,Depth,Stencil) ->
+ wxe_util:cast(5563, <<Buffer:?GLenum,Drawbuffer:?GLint,Depth:?GLfloat,Stencil:?GLint>>).
+
+%% @spec (Name::enum(),Index::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml">external</a> documentation.
+getStringi(Name,Index) ->
+ wxe_util:call(5564, <<Name:?GLenum,Index:?GLuint>>).
+
+%% @spec (Index::integer(),X::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI1i(Index,X) ->
+ wxe_util:cast(5565, <<Index:?GLuint,X:?GLint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI2i(Index,X,Y) ->
+ wxe_util:cast(5566, <<Index:?GLuint,X:?GLint,Y:?GLint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI3i(Index,X,Y,Z) ->
+ wxe_util:cast(5567, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4i(Index,X,Y,Z,W) ->
+ wxe_util:cast(5568, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>).
+
+%% @spec (Index::integer(),X::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI1ui(Index,X) ->
+ wxe_util:cast(5569, <<Index:?GLuint,X:?GLuint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI2ui(Index,X,Y) ->
+ wxe_util:cast(5570, <<Index:?GLuint,X:?GLuint,Y:?GLuint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI3ui(Index,X,Y,Z) ->
+ wxe_util:cast(5571, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint>>).
+
+%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4ui(Index,X,Y,Z,W) ->
+ wxe_util:cast(5572, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint,W:?GLuint>>).
+
+%% @spec (Index,{X}) -> ok
+%% @equiv vertexAttribI1i(Index,X)
+vertexAttribI1iv(Index,{X}) -> vertexAttribI1i(Index,X).
+
+%% @spec (Index,{X,Y}) -> ok
+%% @equiv vertexAttribI2i(Index,X,Y)
+vertexAttribI2iv(Index,{X,Y}) -> vertexAttribI2i(Index,X,Y).
+
+%% @spec (Index,{X,Y,Z}) -> ok
+%% @equiv vertexAttribI3i(Index,X,Y,Z)
+vertexAttribI3iv(Index,{X,Y,Z}) -> vertexAttribI3i(Index,X,Y,Z).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttribI4i(Index,X,Y,Z,W)
+vertexAttribI4iv(Index,{X,Y,Z,W}) -> vertexAttribI4i(Index,X,Y,Z,W).
+
+%% @spec (Index,{X}) -> ok
+%% @equiv vertexAttribI1ui(Index,X)
+vertexAttribI1uiv(Index,{X}) -> vertexAttribI1ui(Index,X).
+
+%% @spec (Index,{X,Y}) -> ok
+%% @equiv vertexAttribI2ui(Index,X,Y)
+vertexAttribI2uiv(Index,{X,Y}) -> vertexAttribI2ui(Index,X,Y).
+
+%% @spec (Index,{X,Y,Z}) -> ok
+%% @equiv vertexAttribI3ui(Index,X,Y,Z)
+vertexAttribI3uiv(Index,{X,Y,Z}) -> vertexAttribI3ui(Index,X,Y,Z).
+
+%% @spec (Index,{X,Y,Z,W}) -> ok
+%% @equiv vertexAttribI4ui(Index,X,Y,Z,W)
+vertexAttribI4uiv(Index,{X,Y,Z,W}) -> vertexAttribI4ui(Index,X,Y,Z,W).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4bv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5573, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4sv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5574, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4ubv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5575, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>).
+
+%% @spec (Index::integer(),V::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation.
+vertexAttribI4usv(Index,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5576, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>).
+
+%% @spec (Mode::enum(),First::integer(),Count::integer(),Primcount::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawArraysInstance.xml">external</a> documentation.
+drawArraysInstanced(Mode,First,Count,Primcount) ->
+ wxe_util:cast(5577, <<Mode:?GLenum,First:?GLint,Count:?GLsizei,Primcount:?GLsizei>>).
+
+%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|binary(),Primcount::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElementsInstance.xml">external</a> documentation.
+drawElementsInstanced(Mode,Count,Type,Indices,Primcount) when is_integer(Indices) ->
+ wxe_util:cast(5578, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Primcount:?GLsizei>>);
+drawElementsInstanced(Mode,Count,Type,Indices,Primcount) ->
+ wxe_util:send_bin(Indices),
+ wxe_util:cast(5579, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Primcount:?GLsizei>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Buffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexBuffer.xml">external</a> documentation.
+texBuffer(Target,Internalformat,Buffer) ->
+ wxe_util:cast(5580, <<Target:?GLenum,Internalformat:?GLenum,Buffer:?GLuint>>).
+
+%% @spec (Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPrimitiveRestartIndex.xml">external</a> documentation.
+primitiveRestartIndex(Index) ->
+ wxe_util:cast(5581, <<Index:?GLuint>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrixARB.xml">external</a> documentation.
+loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5582, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5582, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrixARB.xml">external</a> documentation.
+loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5583, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5583, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrixARB.xml">external</a> documentation.
+multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5584, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>);
+multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5584, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>).
+
+%% @spec (M::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrixARB.xml">external</a> documentation.
+multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) ->
+ wxe_util:cast(5585, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>);
+multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) ->
+ wxe_util:cast(5585, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightbvARB(Weights) ->
+ wxe_util:cast(5586, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLbyte>> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightsvARB(Weights) ->
+ wxe_util:cast(5587, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLshort>> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightivARB(Weights) ->
+ wxe_util:cast(5588, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLint>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>).
+
+%% @spec (Weights::[float()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightfvARB(Weights) ->
+ wxe_util:cast(5589, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLfloat>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>).
+
+%% @spec (Weights::[float()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightdvARB(Weights) ->
+ wxe_util:cast(5590, <<(length(Weights)):?GLuint,0:32,
+ (<< <<C:?GLdouble>> || C <- Weights>>)/binary>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightubvARB(Weights) ->
+ wxe_util:cast(5591, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLubyte>> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightusvARB(Weights) ->
+ wxe_util:cast(5592, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLushort>> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Weights::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation.
+weightuivARB(Weights) ->
+ wxe_util:cast(5593, <<(length(Weights)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>).
+
+%% @spec (Count::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexBlenARB.xml">external</a> documentation.
+vertexBlendARB(Count) ->
+ wxe_util:cast(5594, <<Count:?GLint>>).
+
+%% @spec (Index::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCurrentPaletteMatrixARB.xml">external</a> documentation.
+currentPaletteMatrixARB(Index) ->
+ wxe_util:cast(5595, <<Index:?GLint>>).
+
+%% @spec (Indices::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation.
+matrixIndexubvARB(Indices) ->
+ wxe_util:cast(5596, <<(length(Indices)):?GLuint,
+ (<< <<C:?GLubyte>> || C <- Indices>>)/binary,0:((8-((length(Indices)+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Indices::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation.
+matrixIndexusvARB(Indices) ->
+ wxe_util:cast(5597, <<(length(Indices)):?GLuint,
+ (<< <<C:?GLushort>> || C <- Indices>>)/binary,0:((8-((length(Indices)*2+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Indices::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation.
+matrixIndexuivARB(Indices) ->
+ wxe_util:cast(5598, <<(length(Indices)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Indices>>)/binary,0:(((1+length(Indices)) rem 2)*32)>>).
+
+%% @spec (Target::enum(),Format::enum(),String::string()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramStringARB.xml">external</a> documentation.
+programStringARB(Target,Format,String) ->
+ wxe_util:cast(5599, <<Target:?GLenum,Format:?GLenum,(list_to_binary([String|[0]]))/binary,0:((8-((length(String)+ 1) rem 8)) rem 8)>>).
+
+%% @spec (Target::enum(),Program::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindProgramARB.xml">external</a> documentation.
+bindProgramARB(Target,Program) ->
+ wxe_util:cast(5600, <<Target:?GLenum,Program:?GLuint>>).
+
+%% @spec (Programs::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteProgramsARB.xml">external</a> documentation.
+deleteProgramsARB(Programs) ->
+ wxe_util:cast(5601, <<(length(Programs)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Programs>>)/binary,0:(((1+length(Programs)) rem 2)*32)>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenProgramsARB.xml">external</a> documentation.
+genProgramsARB(N) ->
+ wxe_util:call(5602, <<N:?GLsizei>>).
+
+%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation.
+programEnvParameter4dARB(Target,Index,X,Y,Z,W) ->
+ wxe_util:cast(5603, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation.
+programEnvParameter4dvARB(Target,Index,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5604, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>).
+
+%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation.
+programEnvParameter4fARB(Target,Index,X,Y,Z,W) ->
+ wxe_util:cast(5605, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation.
+programEnvParameter4fvARB(Target,Index,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5606, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>).
+
+%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation.
+programLocalParameter4dARB(Target,Index,X,Y,Z,W) ->
+ wxe_util:cast(5607, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation.
+programLocalParameter4dvARB(Target,Index,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5608, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>).
+
+%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation.
+programLocalParameter4fARB(Target,Index,X,Y,Z,W) ->
+ wxe_util:cast(5609, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation.
+programLocalParameter4fvARB(Target,Index,{P1,P2,P3,P4}) ->
+ wxe_util:cast(5610, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>).
+
+%% @spec (Target::enum(),Index::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramEnvParameterARB.xml">external</a> documentation.
+getProgramEnvParameterdvARB(Target,Index) ->
+ wxe_util:call(5611, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramEnvParameterARB.xml">external</a> documentation.
+getProgramEnvParameterfvARB(Target,Index) ->
+ wxe_util:call(5612, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramLocalParameterARB.xml">external</a> documentation.
+getProgramLocalParameterdvARB(Target,Index) ->
+ wxe_util:call(5613, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Index::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramLocalParameterARB.xml">external</a> documentation.
+getProgramLocalParameterfvARB(Target,Index) ->
+ wxe_util:call(5614, <<Target:?GLenum,Index:?GLuint>>).
+
+%% @spec (Target::enum(),Pname::enum(),String::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramStringARB.xml">external</a> documentation.
+getProgramStringARB(Target,Pname,String) ->
+ wxe_util:send_bin(String#wx_mem.bin),
+ wxe_util:call(5615, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Obj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteObjectARB.xml">external</a> documentation.
+deleteObjectARB(Obj) ->
+ wxe_util:cast(5616, <<Obj:?GLhandleARB>>).
+
+%% @spec (Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHandleARB.xml">external</a> documentation.
+getHandleARB(Pname) ->
+ wxe_util:call(5617, <<Pname:?GLenum>>).
+
+%% @spec (ContainerObj::integer(),AttachedObj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDetachObjectARB.xml">external</a> documentation.
+detachObjectARB(ContainerObj,AttachedObj) ->
+ wxe_util:cast(5618, <<ContainerObj:?GLhandleARB,AttachedObj:?GLhandleARB>>).
+
+%% @spec (ShaderType::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateShaderObjectARB.xml">external</a> documentation.
+createShaderObjectARB(ShaderType) ->
+ wxe_util:call(5619, <<ShaderType:?GLenum>>).
+
+%% @spec (ShaderObj::integer(),String::[string()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShaderSourceARB.xml">external</a> documentation.
+shaderSourceARB(ShaderObj,String) ->
+ StringTemp = list_to_binary([[Str|[0]] || Str <- String ]),
+ wxe_util:cast(5620, <<ShaderObj:?GLhandleARB,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+4) rem 8)) rem 8)>>).
+
+%% @spec (ShaderObj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompileShaderARB.xml">external</a> documentation.
+compileShaderARB(ShaderObj) ->
+ wxe_util:cast(5621, <<ShaderObj:?GLhandleARB>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateProgramObjectARB.xml">external</a> documentation.
+createProgramObjectARB() ->
+ wxe_util:call(5622, <<>>).
+
+%% @spec (ContainerObj::integer(),Obj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAttachObjectARB.xml">external</a> documentation.
+attachObjectARB(ContainerObj,Obj) ->
+ wxe_util:cast(5623, <<ContainerObj:?GLhandleARB,Obj:?GLhandleARB>>).
+
+%% @spec (ProgramObj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLinkProgramARB.xml">external</a> documentation.
+linkProgramARB(ProgramObj) ->
+ wxe_util:cast(5624, <<ProgramObj:?GLhandleARB>>).
+
+%% @spec (ProgramObj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUseProgramObjectARB.xml">external</a> documentation.
+useProgramObjectARB(ProgramObj) ->
+ wxe_util:cast(5625, <<ProgramObj:?GLhandleARB>>).
+
+%% @spec (ProgramObj::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glValidateProgramARB.xml">external</a> documentation.
+validateProgramARB(ProgramObj) ->
+ wxe_util:cast(5626, <<ProgramObj:?GLhandleARB>>).
+
+%% @spec (Obj::integer(),Pname::enum()) -> float()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetObjectParameterARB.xml">external</a> documentation.
+getObjectParameterfvARB(Obj,Pname) ->
+ wxe_util:call(5627, <<Obj:?GLhandleARB,Pname:?GLenum>>).
+
+%% @spec (Obj::integer(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetObjectParameterARB.xml">external</a> documentation.
+getObjectParameterivARB(Obj,Pname) ->
+ wxe_util:call(5628, <<Obj:?GLhandleARB,Pname:?GLenum>>).
+
+%% @spec (Obj::integer(),MaxLength::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetInfoLogARB.xml">external</a> documentation.
+getInfoLogARB(Obj,MaxLength) ->
+ wxe_util:call(5629, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>).
+
+%% @spec (ContainerObj::integer(),MaxCount::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttachedObjectsARB.xml">external</a> documentation.
+getAttachedObjectsARB(ContainerObj,MaxCount) ->
+ wxe_util:call(5630, <<ContainerObj:?GLhandleARB,MaxCount:?GLsizei>>).
+
+%% @spec (ProgramObj::integer(),Name::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformLocationARB.xml">external</a> documentation.
+getUniformLocationARB(ProgramObj,Name) ->
+ wxe_util:call(5631, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>).
+
+%% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformARB.xml">external</a> documentation.
+getActiveUniformARB(ProgramObj,Index,MaxLength) ->
+ wxe_util:call(5632, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>).
+
+%% @spec (ProgramObj::integer(),Location::integer()) -> {float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformARB.xml">external</a> documentation.
+getUniformfvARB(ProgramObj,Location) ->
+ wxe_util:call(5633, <<ProgramObj:?GLhandleARB,Location:?GLint>>).
+
+%% @spec (ProgramObj::integer(),Location::integer()) -> {integer()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformARB.xml">external</a> documentation.
+getUniformivARB(ProgramObj,Location) ->
+ wxe_util:call(5634, <<ProgramObj:?GLhandleARB,Location:?GLint>>).
+
+%% @spec (Obj::integer(),MaxLength::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderSourceARB.xml">external</a> documentation.
+getShaderSourceARB(Obj,MaxLength) ->
+ wxe_util:call(5635, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>).
+
+%% @spec (ProgramObj::integer(),Index::integer(),Name::string()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindAttribLocationARB.xml">external</a> documentation.
+bindAttribLocationARB(ProgramObj,Index,Name) ->
+ wxe_util:cast(5636, <<ProgramObj:?GLhandleARB,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>).
+
+%% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveAttribARB.xml">external</a> documentation.
+getActiveAttribARB(ProgramObj,Index,MaxLength) ->
+ wxe_util:call(5637, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>).
+
+%% @spec (ProgramObj::integer(),Name::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttribLocationARB.xml">external</a> documentation.
+getAttribLocationARB(ProgramObj,Name) ->
+ wxe_util:call(5638, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>).
+
+%% @spec (Renderbuffer::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsRenderbuffer.xml">external</a> documentation.
+isRenderbuffer(Renderbuffer) ->
+ wxe_util:call(5639, <<Renderbuffer:?GLuint>>).
+
+%% @spec (Target::enum(),Renderbuffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindRenderbuffer.xml">external</a> documentation.
+bindRenderbuffer(Target,Renderbuffer) ->
+ wxe_util:cast(5640, <<Target:?GLenum,Renderbuffer:?GLuint>>).
+
+%% @spec (Renderbuffers::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteRenderbuffers.xml">external</a> documentation.
+deleteRenderbuffers(Renderbuffers) ->
+ wxe_util:cast(5641, <<(length(Renderbuffers)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Renderbuffers>>)/binary,0:(((1+length(Renderbuffers)) rem 2)*32)>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenRenderbuffers.xml">external</a> documentation.
+genRenderbuffers(N) ->
+ wxe_util:call(5642, <<N:?GLsizei>>).
+
+%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderbufferStorage.xml">external</a> documentation.
+renderbufferStorage(Target,Internalformat,Width,Height) ->
+ wxe_util:cast(5643, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Target::enum(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetRenderbufferParameter.xml">external</a> documentation.
+getRenderbufferParameteriv(Target,Pname) ->
+ wxe_util:call(5644, <<Target:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Framebuffer::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsFramebuffer.xml">external</a> documentation.
+isFramebuffer(Framebuffer) ->
+ wxe_util:call(5645, <<Framebuffer:?GLuint>>).
+
+%% @spec (Target::enum(),Framebuffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindFramebuffer.xml">external</a> documentation.
+bindFramebuffer(Target,Framebuffer) ->
+ wxe_util:cast(5646, <<Target:?GLenum,Framebuffer:?GLuint>>).
+
+%% @spec (Framebuffers::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteFramebuffers.xml">external</a> documentation.
+deleteFramebuffers(Framebuffers) ->
+ wxe_util:cast(5647, <<(length(Framebuffers)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Framebuffers>>)/binary,0:(((1+length(Framebuffers)) rem 2)*32)>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenFramebuffers.xml">external</a> documentation.
+genFramebuffers(N) ->
+ wxe_util:call(5648, <<N:?GLsizei>>).
+
+%% @spec (Target::enum()) -> enum()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCheckFramebufferStatus.xml">external</a> documentation.
+checkFramebufferStatus(Target) ->
+ wxe_util:call(5649, <<Target:?GLenum>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture1D.xml">external</a> documentation.
+framebufferTexture1D(Target,Attachment,Textarget,Texture,Level) ->
+ wxe_util:cast(5650, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture2D.xml">external</a> documentation.
+framebufferTexture2D(Target,Attachment,Textarget,Texture,Level) ->
+ wxe_util:cast(5651, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer(),Zoffset::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture3D.xml">external</a> documentation.
+framebufferTexture3D(Target,Attachment,Textarget,Texture,Level,Zoffset) ->
+ wxe_util:cast(5652, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint,Zoffset:?GLint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Renderbuffertarget::enum(),Renderbuffer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferRenderbuffer.xml">external</a> documentation.
+framebufferRenderbuffer(Target,Attachment,Renderbuffertarget,Renderbuffer) ->
+ wxe_util:cast(5653, <<Target:?GLenum,Attachment:?GLenum,Renderbuffertarget:?GLenum,Renderbuffer:?GLuint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Pname::enum()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFramebufferAttachmentParameter.xml">external</a> documentation.
+getFramebufferAttachmentParameteriv(Target,Attachment,Pname) ->
+ wxe_util:call(5654, <<Target:?GLenum,Attachment:?GLenum,Pname:?GLenum>>).
+
+%% @spec (Target::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenerateMipmap.xml">external</a> documentation.
+generateMipmap(Target) ->
+ wxe_util:cast(5655, <<Target:?GLenum>>).
+
+%% @spec (SrcX0::integer(),SrcY0::integer(),SrcX1::integer(),SrcY1::integer(),DstX0::integer(),DstY0::integer(),DstX1::integer(),DstY1::integer(),Mask::integer(),Filter::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlitFramebuffer.xml">external</a> documentation.
+blitFramebuffer(SrcX0,SrcY0,SrcX1,SrcY1,DstX0,DstY0,DstX1,DstY1,Mask,Filter) ->
+ wxe_util:cast(5656, <<SrcX0:?GLint,SrcY0:?GLint,SrcX1:?GLint,SrcY1:?GLint,DstX0:?GLint,DstY0:?GLint,DstX1:?GLint,DstY1:?GLint,Mask:?GLbitfield,Filter:?GLenum>>).
+
+%% @spec (Target::enum(),Samples::integer(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderbufferStorageMultisample.xml">external</a> documentation.
+renderbufferStorageMultisample(Target,Samples,Internalformat,Width,Height) ->
+ wxe_util:cast(5657, <<Target:?GLenum,Samples:?GLsizei,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Layer::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureLayer.xml">external</a> documentation.
+framebufferTextureLayer(Target,Attachment,Texture,Level,Layer) ->
+ wxe_util:cast(5658, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Layer:?GLint>>).
+
+%% @spec (Program::integer(),Pname::enum(),Value::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramParameterARB.xml">external</a> documentation.
+programParameteriARB(Program,Pname,Value) ->
+ wxe_util:cast(5659, <<Program:?GLuint,Pname:?GLenum,Value:?GLint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureARB.xml">external</a> documentation.
+framebufferTextureARB(Target,Attachment,Texture,Level) ->
+ wxe_util:cast(5660, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint>>).
+
+%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Face::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureFaceARB.xml">external</a> documentation.
+framebufferTextureFaceARB(Target,Attachment,Texture,Level,Face) ->
+ wxe_util:cast(5661, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Face:?GLenum>>).
+
+%% @spec (Index::integer(),Divisor::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribDivisorARB.xml">external</a> documentation.
+vertexAttribDivisorARB(Index,Divisor) ->
+ wxe_util:cast(5662, <<Index:?GLuint,Divisor:?GLuint>>).
+
+%% @spec (Target::enum(),Offset::integer(),Length::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFlushMappedBufferRange.xml">external</a> documentation.
+flushMappedBufferRange(Target,Offset,Length) ->
+ wxe_util:cast(5663, <<Target:?GLenum,0:32,Offset:?GLintptr,Length:?GLsizeiptr>>).
+
+%% @spec (Array::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindVertexArray.xml">external</a> documentation.
+bindVertexArray(Array) ->
+ wxe_util:cast(5664, <<Array:?GLuint>>).
+
+%% @spec (Arrays::[integer()]) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteVertexArrays.xml">external</a> documentation.
+deleteVertexArrays(Arrays) ->
+ wxe_util:cast(5665, <<(length(Arrays)):?GLuint,
+ (<< <<C:?GLuint>> || C <- Arrays>>)/binary,0:(((1+length(Arrays)) rem 2)*32)>>).
+
+%% @spec (N::integer()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenVertexArrays.xml">external</a> documentation.
+genVertexArrays(N) ->
+ wxe_util:call(5666, <<N:?GLsizei>>).
+
+%% @spec (Array::integer()) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsVertexArray.xml">external</a> documentation.
+isVertexArray(Array) ->
+ wxe_util:call(5667, <<Array:?GLuint>>).
+
+%% @spec (Program::integer(),UniformNames::[string()]) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformIndices.xml">external</a> documentation.
+getUniformIndices(Program,UniformNames) ->
+ UniformNamesTemp = list_to_binary([[Str|[0]] || Str <- UniformNames ]),
+ wxe_util:call(5668, <<Program:?GLuint,(length(UniformNames)):?GLuint,(size(UniformNamesTemp)):?GLuint,(UniformNamesTemp)/binary,0:((8-((size(UniformNamesTemp)+0) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer(),UniformIndices::[integer()],Pname::enum()) -> [integer()]
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniforms.xml">external</a> documentation.
+getActiveUniformsiv(Program,UniformIndices,Pname) ->
+ wxe_util:call(5669, <<Program:?GLuint,(length(UniformIndices)):?GLuint,
+ (<< <<C:?GLuint>> || C <- UniformIndices>>)/binary,0:(((length(UniformIndices)) rem 2)*32),Pname:?GLenum>>).
+
+%% @spec (Program::integer(),UniformIndex::integer(),BufSize::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformName.xml">external</a> documentation.
+getActiveUniformName(Program,UniformIndex,BufSize) ->
+ wxe_util:call(5670, <<Program:?GLuint,UniformIndex:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Program::integer(),UniformBlockName::string()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformBlockIndex.xml">external</a> documentation.
+getUniformBlockIndex(Program,UniformBlockName) ->
+ wxe_util:call(5671, <<Program:?GLuint,(list_to_binary([UniformBlockName|[0]]))/binary,0:((8-((length(UniformBlockName)+ 5) rem 8)) rem 8)>>).
+
+%% @spec (Program::integer(),UniformBlockIndex::integer(),Pname::enum(),Params::wx:wx_mem()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformBlock.xml">external</a> documentation.
+getActiveUniformBlockiv(Program,UniformBlockIndex,Pname,Params) ->
+ wxe_util:send_bin(Params#wx_mem.bin),
+ wxe_util:call(5672, <<Program:?GLuint,UniformBlockIndex:?GLuint,Pname:?GLenum>>).
+
+%% @spec (Program::integer(),UniformBlockIndex::integer(),BufSize::integer()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformBlockName.xml">external</a> documentation.
+getActiveUniformBlockName(Program,UniformBlockIndex,BufSize) ->
+ wxe_util:call(5673, <<Program:?GLuint,UniformBlockIndex:?GLuint,BufSize:?GLsizei>>).
+
+%% @spec (Program::integer(),UniformBlockIndex::integer(),UniformBlockBinding::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformBlockBinding.xml">external</a> documentation.
+uniformBlockBinding(Program,UniformBlockIndex,UniformBlockBinding) ->
+ wxe_util:cast(5674, <<Program:?GLuint,UniformBlockIndex:?GLuint,UniformBlockBinding:?GLuint>>).
+
+%% @spec (ReadTarget::enum(),WriteTarget::enum(),ReadOffset::integer(),WriteOffset::integer(),Size::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyBufferSubData.xml">external</a> documentation.
+copyBufferSubData(ReadTarget,WriteTarget,ReadOffset,WriteOffset,Size) ->
+ wxe_util:cast(5675, <<ReadTarget:?GLenum,WriteTarget:?GLenum,ReadOffset:?GLintptr,WriteOffset:?GLintptr,Size:?GLsizeiptr>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResizeBuffersMESA.xml">external</a> documentation.
+resizeBuffersMESA() ->
+ wxe_util:cast(5676, <<>>).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4dMESA.xml">external</a> documentation.
+windowPos4dMESA(X,Y,Z,W) ->
+ wxe_util:cast(5677, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv windowPos4dMESA(X,Y,Z,W)
+windowPos4dvMESA({X,Y,Z,W}) -> windowPos4dMESA(X,Y,Z,W).
+
+%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4fMESA.xml">external</a> documentation.
+windowPos4fMESA(X,Y,Z,W) ->
+ wxe_util:cast(5678, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv windowPos4fMESA(X,Y,Z,W)
+windowPos4fvMESA({X,Y,Z,W}) -> windowPos4fMESA(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4iMESA.xml">external</a> documentation.
+windowPos4iMESA(X,Y,Z,W) ->
+ wxe_util:cast(5679, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv windowPos4iMESA(X,Y,Z,W)
+windowPos4ivMESA({X,Y,Z,W}) -> windowPos4iMESA(X,Y,Z,W).
+
+%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4sMESA.xml">external</a> documentation.
+windowPos4sMESA(X,Y,Z,W) ->
+ wxe_util:cast(5680, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>).
+
+%% @spec ({X,Y,Z,W}) -> ok
+%% @equiv windowPos4sMESA(X,Y,Z,W)
+windowPos4svMESA({X,Y,Z,W}) -> windowPos4sMESA(X,Y,Z,W).
+
+%% @spec (Zmin::clamp(),Zmax::clamp()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthBoundsEXT.xml">external</a> documentation.
+depthBoundsEXT(Zmin,Zmax) ->
+ wxe_util:cast(5681, <<Zmin:?GLclampd,Zmax:?GLclampd>>).
+
+%% @spec (StencilTagBits::integer(),StencilClearTag::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilClearTagEXT.xml">external</a> documentation.
+stencilClearTagEXT(StencilTagBits,StencilClearTag) ->
+ wxe_util:cast(5682, <<StencilTagBits:?GLsizei,StencilClearTag:?GLuint>>).
+
diff --git a/lib/wx/src/gen/gl_debug.hrl b/lib/wx/src/gen/gl_debug.hrl
new file mode 100644
index 0000000000..8c25d94590
--- /dev/null
+++ b/lib/wx/src/gen/gl_debug.hrl
@@ -0,0 +1,697 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+gldebug_table() ->
+[
+ {5037, {gl, accum, 0}},
+ {5038, {gl, alphaFunc, 0}},
+ {5039, {gl, areTexturesResident, 0}},
+ {5040, {gl, arrayElement, 0}},
+ {5041, {gl, 'begin', 0}},
+ {5042, {gl, bindTexture, 0}},
+ {5043, {gl, bitmap, 0}},
+ {5044, {gl, bitmap, 0}},
+ {5045, {gl, blendFunc, 0}},
+ {5046, {gl, callList, 0}},
+ {5047, {gl, callLists, 0}},
+ {5048, {gl, clear, 0}},
+ {5049, {gl, clearAccum, 0}},
+ {5050, {gl, clearColor, 0}},
+ {5051, {gl, clearDepth, 0}},
+ {5052, {gl, clearIndex, 0}},
+ {5053, {gl, clearStencil, 0}},
+ {5054, {gl, clipPlane, 0}},
+ {5055, {gl, color3b, 0}},
+ {5056, {gl, color3d, 0}},
+ {5057, {gl, color3f, 0}},
+ {5058, {gl, color3i, 0}},
+ {5059, {gl, color3s, 0}},
+ {5060, {gl, color3ub, 0}},
+ {5061, {gl, color3ui, 0}},
+ {5062, {gl, color3us, 0}},
+ {5063, {gl, color4b, 0}},
+ {5064, {gl, color4d, 0}},
+ {5065, {gl, color4f, 0}},
+ {5066, {gl, color4i, 0}},
+ {5067, {gl, color4s, 0}},
+ {5068, {gl, color4ub, 0}},
+ {5069, {gl, color4ui, 0}},
+ {5070, {gl, color4us, 0}},
+ {5071, {gl, colorMask, 0}},
+ {5072, {gl, colorMaterial, 0}},
+ {5073, {gl, colorPointer, 0}},
+ {5074, {gl, colorPointer, 0}},
+ {5075, {gl, copyPixels, 0}},
+ {5076, {gl, copyTexImage1D, 0}},
+ {5077, {gl, copyTexImage2D, 0}},
+ {5078, {gl, copyTexSubImage1D, 0}},
+ {5079, {gl, copyTexSubImage2D, 0}},
+ {5080, {gl, cullFace, 0}},
+ {5081, {gl, deleteLists, 0}},
+ {5082, {gl, deleteTextures, 0}},
+ {5083, {gl, depthFunc, 0}},
+ {5084, {gl, depthMask, 0}},
+ {5085, {gl, depthRange, 0}},
+ {5086, {gl, disable, 0}},
+ {5087, {gl, disableClientState, 0}},
+ {5088, {gl, drawArrays, 0}},
+ {5089, {gl, drawBuffer, 0}},
+ {5090, {gl, drawElements, 0}},
+ {5091, {gl, drawElements, 0}},
+ {5092, {gl, drawPixels, 0}},
+ {5093, {gl, drawPixels, 0}},
+ {5094, {gl, edgeFlag, 0}},
+ {5095, {gl, edgeFlagPointer, 0}},
+ {5096, {gl, edgeFlagPointer, 0}},
+ {5097, {gl, enable, 0}},
+ {5098, {gl, enableClientState, 0}},
+ {5099, {gl, 'end', 0}},
+ {5100, {gl, endList, 0}},
+ {5101, {gl, evalCoord1d, 0}},
+ {5102, {gl, evalCoord1f, 0}},
+ {5103, {gl, evalCoord2d, 0}},
+ {5104, {gl, evalCoord2f, 0}},
+ {5105, {gl, evalMesh1, 0}},
+ {5106, {gl, evalMesh2, 0}},
+ {5107, {gl, evalPoint1, 0}},
+ {5108, {gl, evalPoint2, 0}},
+ {5109, {gl, feedbackBuffer, 0}},
+ {5110, {gl, finish, 0}},
+ {5111, {gl, flush, 0}},
+ {5112, {gl, fogf, 0}},
+ {5113, {gl, fogfv, 0}},
+ {5114, {gl, fogi, 0}},
+ {5115, {gl, fogiv, 0}},
+ {5116, {gl, frontFace, 0}},
+ {5117, {gl, frustum, 0}},
+ {5118, {gl, genLists, 0}},
+ {5119, {gl, genTextures, 0}},
+ {5120, {gl, getBooleanv, 0}},
+ {5121, {gl, getClipPlane, 0}},
+ {5122, {gl, getDoublev, 0}},
+ {5123, {gl, getError, 0}},
+ {5124, {gl, getFloatv, 0}},
+ {5125, {gl, getIntegerv, 0}},
+ {5126, {gl, getLightfv, 0}},
+ {5127, {gl, getLightiv, 0}},
+ {5128, {gl, getMapdv, 0}},
+ {5129, {gl, getMapfv, 0}},
+ {5130, {gl, getMapiv, 0}},
+ {5131, {gl, getMaterialfv, 0}},
+ {5132, {gl, getMaterialiv, 0}},
+ {5133, {gl, getPixelMapfv, 0}},
+ {5134, {gl, getPixelMapuiv, 0}},
+ {5135, {gl, getPixelMapusv, 0}},
+ {5136, {gl, getPolygonStipple, 0}},
+ {5137, {gl, getString, 0}},
+ {5138, {gl, getTexEnvfv, 0}},
+ {5139, {gl, getTexEnviv, 0}},
+ {5140, {gl, getTexGendv, 0}},
+ {5141, {gl, getTexGenfv, 0}},
+ {5142, {gl, getTexGeniv, 0}},
+ {5143, {gl, getTexImage, 0}},
+ {5144, {gl, getTexLevelParameterfv, 0}},
+ {5145, {gl, getTexLevelParameteriv, 0}},
+ {5146, {gl, getTexParameterfv, 0}},
+ {5147, {gl, getTexParameteriv, 0}},
+ {5148, {gl, hint, 0}},
+ {5149, {gl, indexMask, 0}},
+ {5150, {gl, indexPointer, 0}},
+ {5151, {gl, indexPointer, 0}},
+ {5152, {gl, indexd, 0}},
+ {5153, {gl, indexf, 0}},
+ {5154, {gl, indexi, 0}},
+ {5155, {gl, indexs, 0}},
+ {5156, {gl, indexub, 0}},
+ {5157, {gl, initNames, 0}},
+ {5158, {gl, interleavedArrays, 0}},
+ {5159, {gl, interleavedArrays, 0}},
+ {5160, {gl, isEnabled, 0}},
+ {5161, {gl, isList, 0}},
+ {5162, {gl, isTexture, 0}},
+ {5163, {gl, lightModelf, 0}},
+ {5164, {gl, lightModelfv, 0}},
+ {5165, {gl, lightModeli, 0}},
+ {5166, {gl, lightModeliv, 0}},
+ {5167, {gl, lightf, 0}},
+ {5168, {gl, lightfv, 0}},
+ {5169, {gl, lighti, 0}},
+ {5170, {gl, lightiv, 0}},
+ {5171, {gl, lineStipple, 0}},
+ {5172, {gl, lineWidth, 0}},
+ {5173, {gl, listBase, 0}},
+ {5174, {gl, loadIdentity, 0}},
+ {5175, {gl, loadMatrixd, 0}},
+ {5176, {gl, loadMatrixf, 0}},
+ {5177, {gl, loadName, 0}},
+ {5178, {gl, logicOp, 0}},
+ {5179, {gl, map1d, 0}},
+ {5180, {gl, map1f, 0}},
+ {5181, {gl, map2d, 0}},
+ {5182, {gl, map2f, 0}},
+ {5183, {gl, mapGrid1d, 0}},
+ {5184, {gl, mapGrid1f, 0}},
+ {5185, {gl, mapGrid2d, 0}},
+ {5186, {gl, mapGrid2f, 0}},
+ {5187, {gl, materialf, 0}},
+ {5188, {gl, materialfv, 0}},
+ {5189, {gl, materiali, 0}},
+ {5190, {gl, materialiv, 0}},
+ {5191, {gl, matrixMode, 0}},
+ {5192, {gl, multMatrixd, 0}},
+ {5193, {gl, multMatrixf, 0}},
+ {5194, {gl, newList, 0}},
+ {5195, {gl, normal3b, 0}},
+ {5196, {gl, normal3d, 0}},
+ {5197, {gl, normal3f, 0}},
+ {5198, {gl, normal3i, 0}},
+ {5199, {gl, normal3s, 0}},
+ {5200, {gl, normalPointer, 0}},
+ {5201, {gl, normalPointer, 0}},
+ {5202, {gl, ortho, 0}},
+ {5203, {gl, passThrough, 0}},
+ {5204, {gl, pixelMapfv, 0}},
+ {5205, {gl, pixelMapuiv, 0}},
+ {5206, {gl, pixelMapusv, 0}},
+ {5207, {gl, pixelStoref, 0}},
+ {5208, {gl, pixelStorei, 0}},
+ {5209, {gl, pixelTransferf, 0}},
+ {5210, {gl, pixelTransferi, 0}},
+ {5211, {gl, pixelZoom, 0}},
+ {5212, {gl, pointSize, 0}},
+ {5213, {gl, polygonMode, 0}},
+ {5214, {gl, polygonOffset, 0}},
+ {5215, {gl, polygonStipple, 0}},
+ {5216, {gl, popAttrib, 0}},
+ {5217, {gl, popClientAttrib, 0}},
+ {5218, {gl, popMatrix, 0}},
+ {5219, {gl, popName, 0}},
+ {5220, {gl, prioritizeTextures, 0}},
+ {5221, {gl, pushAttrib, 0}},
+ {5222, {gl, pushClientAttrib, 0}},
+ {5223, {gl, pushMatrix, 0}},
+ {5224, {gl, pushName, 0}},
+ {5225, {gl, rasterPos2d, 0}},
+ {5226, {gl, rasterPos2f, 0}},
+ {5227, {gl, rasterPos2i, 0}},
+ {5228, {gl, rasterPos2s, 0}},
+ {5229, {gl, rasterPos3d, 0}},
+ {5230, {gl, rasterPos3f, 0}},
+ {5231, {gl, rasterPos3i, 0}},
+ {5232, {gl, rasterPos3s, 0}},
+ {5233, {gl, rasterPos4d, 0}},
+ {5234, {gl, rasterPos4f, 0}},
+ {5235, {gl, rasterPos4i, 0}},
+ {5236, {gl, rasterPos4s, 0}},
+ {5237, {gl, readBuffer, 0}},
+ {5238, {gl, readPixels, 0}},
+ {5239, {gl, rectd, 0}},
+ {5240, {gl, rectdv, 0}},
+ {5241, {gl, rectf, 0}},
+ {5242, {gl, rectfv, 0}},
+ {5243, {gl, recti, 0}},
+ {5244, {gl, rectiv, 0}},
+ {5245, {gl, rects, 0}},
+ {5246, {gl, rectsv, 0}},
+ {5247, {gl, renderMode, 0}},
+ {5248, {gl, rotated, 0}},
+ {5249, {gl, rotatef, 0}},
+ {5250, {gl, scaled, 0}},
+ {5251, {gl, scalef, 0}},
+ {5252, {gl, scissor, 0}},
+ {5253, {gl, selectBuffer, 0}},
+ {5254, {gl, shadeModel, 0}},
+ {5255, {gl, stencilFunc, 0}},
+ {5256, {gl, stencilMask, 0}},
+ {5257, {gl, stencilOp, 0}},
+ {5258, {gl, texCoord1d, 0}},
+ {5259, {gl, texCoord1f, 0}},
+ {5260, {gl, texCoord1i, 0}},
+ {5261, {gl, texCoord1s, 0}},
+ {5262, {gl, texCoord2d, 0}},
+ {5263, {gl, texCoord2f, 0}},
+ {5264, {gl, texCoord2i, 0}},
+ {5265, {gl, texCoord2s, 0}},
+ {5266, {gl, texCoord3d, 0}},
+ {5267, {gl, texCoord3f, 0}},
+ {5268, {gl, texCoord3i, 0}},
+ {5269, {gl, texCoord3s, 0}},
+ {5270, {gl, texCoord4d, 0}},
+ {5271, {gl, texCoord4f, 0}},
+ {5272, {gl, texCoord4i, 0}},
+ {5273, {gl, texCoord4s, 0}},
+ {5274, {gl, texCoordPointer, 0}},
+ {5275, {gl, texCoordPointer, 0}},
+ {5276, {gl, texEnvf, 0}},
+ {5277, {gl, texEnvfv, 0}},
+ {5278, {gl, texEnvi, 0}},
+ {5279, {gl, texEnviv, 0}},
+ {5280, {gl, texGend, 0}},
+ {5281, {gl, texGendv, 0}},
+ {5282, {gl, texGenf, 0}},
+ {5283, {gl, texGenfv, 0}},
+ {5284, {gl, texGeni, 0}},
+ {5285, {gl, texGeniv, 0}},
+ {5286, {gl, texImage1D, 0}},
+ {5287, {gl, texImage1D, 0}},
+ {5288, {gl, texImage2D, 0}},
+ {5289, {gl, texImage2D, 0}},
+ {5290, {gl, texParameterf, 0}},
+ {5291, {gl, texParameterfv, 0}},
+ {5292, {gl, texParameteri, 0}},
+ {5293, {gl, texParameteriv, 0}},
+ {5294, {gl, texSubImage1D, 0}},
+ {5295, {gl, texSubImage1D, 0}},
+ {5296, {gl, texSubImage2D, 0}},
+ {5297, {gl, texSubImage2D, 0}},
+ {5298, {gl, translated, 0}},
+ {5299, {gl, translatef, 0}},
+ {5300, {gl, vertex2d, 0}},
+ {5301, {gl, vertex2f, 0}},
+ {5302, {gl, vertex2i, 0}},
+ {5303, {gl, vertex2s, 0}},
+ {5304, {gl, vertex3d, 0}},
+ {5305, {gl, vertex3f, 0}},
+ {5306, {gl, vertex3i, 0}},
+ {5307, {gl, vertex3s, 0}},
+ {5308, {gl, vertex4d, 0}},
+ {5309, {gl, vertex4f, 0}},
+ {5310, {gl, vertex4i, 0}},
+ {5311, {gl, vertex4s, 0}},
+ {5312, {gl, vertexPointer, 0}},
+ {5313, {gl, vertexPointer, 0}},
+ {5314, {gl, viewport, 0}},
+ {5315, {gl, blendColor, 0}},
+ {5316, {gl, blendEquation, 0}},
+ {5317, {gl, drawRangeElements, 0}},
+ {5318, {gl, drawRangeElements, 0}},
+ {5319, {gl, texImage3D, 0}},
+ {5320, {gl, texImage3D, 0}},
+ {5321, {gl, texSubImage3D, 0}},
+ {5322, {gl, texSubImage3D, 0}},
+ {5323, {gl, copyTexSubImage3D, 0}},
+ {5324, {gl, colorTable, 0}},
+ {5325, {gl, colorTable, 0}},
+ {5326, {gl, colorTableParameterfv, 0}},
+ {5327, {gl, colorTableParameteriv, 0}},
+ {5328, {gl, copyColorTable, 0}},
+ {5329, {gl, getColorTable, 0}},
+ {5330, {gl, getColorTableParameterfv, 0}},
+ {5331, {gl, getColorTableParameteriv, 0}},
+ {5332, {gl, colorSubTable, 0}},
+ {5333, {gl, colorSubTable, 0}},
+ {5334, {gl, copyColorSubTable, 0}},
+ {5335, {gl, convolutionFilter1D, 0}},
+ {5336, {gl, convolutionFilter1D, 0}},
+ {5337, {gl, convolutionFilter2D, 0}},
+ {5338, {gl, convolutionFilter2D, 0}},
+ {5339, {gl, convolutionParameterf, 0}},
+ {5340, {gl, convolutionParameteri, 0}},
+ {5341, {gl, copyConvolutionFilter1D, 0}},
+ {5342, {gl, copyConvolutionFilter2D, 0}},
+ {5343, {gl, getConvolutionFilter, 0}},
+ {5344, {gl, getConvolutionParameterfv, 0}},
+ {5345, {gl, getConvolutionParameteriv, 0}},
+ {5346, {gl, separableFilter2D, 0}},
+ {5347, {gl, separableFilter2D, 0}},
+ {5348, {gl, getHistogram, 0}},
+ {5349, {gl, getHistogramParameterfv, 0}},
+ {5350, {gl, getHistogramParameteriv, 0}},
+ {5351, {gl, getMinmax, 0}},
+ {5352, {gl, getMinmaxParameterfv, 0}},
+ {5353, {gl, getMinmaxParameteriv, 0}},
+ {5354, {gl, histogram, 0}},
+ {5355, {gl, minmax, 0}},
+ {5356, {gl, resetHistogram, 0}},
+ {5357, {gl, resetMinmax, 0}},
+ {5358, {gl, activeTexture, 0}},
+ {5359, {gl, sampleCoverage, 0}},
+ {5360, {gl, compressedTexImage3D, 0}},
+ {5361, {gl, compressedTexImage3D, 0}},
+ {5362, {gl, compressedTexImage2D, 0}},
+ {5363, {gl, compressedTexImage2D, 0}},
+ {5364, {gl, compressedTexImage1D, 0}},
+ {5365, {gl, compressedTexImage1D, 0}},
+ {5366, {gl, compressedTexSubImage3D, 0}},
+ {5367, {gl, compressedTexSubImage3D, 0}},
+ {5368, {gl, compressedTexSubImage2D, 0}},
+ {5369, {gl, compressedTexSubImage2D, 0}},
+ {5370, {gl, compressedTexSubImage1D, 0}},
+ {5371, {gl, compressedTexSubImage1D, 0}},
+ {5372, {gl, getCompressedTexImage, 0}},
+ {5373, {gl, clientActiveTexture, 0}},
+ {5374, {gl, multiTexCoord1d, 0}},
+ {5375, {gl, multiTexCoord1f, 0}},
+ {5376, {gl, multiTexCoord1i, 0}},
+ {5377, {gl, multiTexCoord1s, 0}},
+ {5378, {gl, multiTexCoord2d, 0}},
+ {5379, {gl, multiTexCoord2f, 0}},
+ {5380, {gl, multiTexCoord2i, 0}},
+ {5381, {gl, multiTexCoord2s, 0}},
+ {5382, {gl, multiTexCoord3d, 0}},
+ {5383, {gl, multiTexCoord3f, 0}},
+ {5384, {gl, multiTexCoord3i, 0}},
+ {5385, {gl, multiTexCoord3s, 0}},
+ {5386, {gl, multiTexCoord4d, 0}},
+ {5387, {gl, multiTexCoord4f, 0}},
+ {5388, {gl, multiTexCoord4i, 0}},
+ {5389, {gl, multiTexCoord4s, 0}},
+ {5390, {gl, loadTransposeMatrixf, 0}},
+ {5391, {gl, loadTransposeMatrixd, 0}},
+ {5392, {gl, multTransposeMatrixf, 0}},
+ {5393, {gl, multTransposeMatrixd, 0}},
+ {5394, {gl, blendFuncSeparate, 0}},
+ {5395, {gl, multiDrawArrays, 0}},
+ {5396, {gl, pointParameterf, 0}},
+ {5397, {gl, pointParameterfv, 0}},
+ {5398, {gl, pointParameteri, 0}},
+ {5399, {gl, pointParameteriv, 0}},
+ {5400, {gl, fogCoordf, 0}},
+ {5401, {gl, fogCoordd, 0}},
+ {5402, {gl, fogCoordPointer, 0}},
+ {5403, {gl, fogCoordPointer, 0}},
+ {5404, {gl, secondaryColor3b, 0}},
+ {5405, {gl, secondaryColor3d, 0}},
+ {5406, {gl, secondaryColor3f, 0}},
+ {5407, {gl, secondaryColor3i, 0}},
+ {5408, {gl, secondaryColor3s, 0}},
+ {5409, {gl, secondaryColor3ub, 0}},
+ {5410, {gl, secondaryColor3ui, 0}},
+ {5411, {gl, secondaryColor3us, 0}},
+ {5412, {gl, secondaryColorPointer, 0}},
+ {5413, {gl, secondaryColorPointer, 0}},
+ {5414, {gl, windowPos2d, 0}},
+ {5415, {gl, windowPos2f, 0}},
+ {5416, {gl, windowPos2i, 0}},
+ {5417, {gl, windowPos2s, 0}},
+ {5418, {gl, windowPos3d, 0}},
+ {5419, {gl, windowPos3f, 0}},
+ {5420, {gl, windowPos3i, 0}},
+ {5421, {gl, windowPos3s, 0}},
+ {5422, {gl, genQueries, 0}},
+ {5423, {gl, deleteQueries, 0}},
+ {5424, {gl, isQuery, 0}},
+ {5425, {gl, beginQuery, 0}},
+ {5426, {gl, endQuery, 0}},
+ {5427, {gl, getQueryiv, 0}},
+ {5428, {gl, getQueryObjectiv, 0}},
+ {5429, {gl, getQueryObjectuiv, 0}},
+ {5430, {gl, bindBuffer, 0}},
+ {5431, {gl, deleteBuffers, 0}},
+ {5432, {gl, genBuffers, 0}},
+ {5433, {gl, isBuffer, 0}},
+ {5434, {gl, bufferData, 0}},
+ {5435, {gl, bufferData, 0}},
+ {5436, {gl, bufferSubData, 0}},
+ {5437, {gl, bufferSubData, 0}},
+ {5438, {gl, getBufferSubData, 0}},
+ {5439, {gl, getBufferParameteriv, 0}},
+ {5440, {gl, blendEquationSeparate, 0}},
+ {5441, {gl, drawBuffers, 0}},
+ {5442, {gl, stencilOpSeparate, 0}},
+ {5443, {gl, stencilFuncSeparate, 0}},
+ {5444, {gl, stencilMaskSeparate, 0}},
+ {5445, {gl, attachShader, 0}},
+ {5446, {gl, bindAttribLocation, 0}},
+ {5447, {gl, compileShader, 0}},
+ {5448, {gl, createProgram, 0}},
+ {5449, {gl, createShader, 0}},
+ {5450, {gl, deleteProgram, 0}},
+ {5451, {gl, deleteShader, 0}},
+ {5452, {gl, detachShader, 0}},
+ {5453, {gl, disableVertexAttribArray, 0}},
+ {5454, {gl, enableVertexAttribArray, 0}},
+ {5455, {gl, getActiveAttrib, 0}},
+ {5456, {gl, getActiveUniform, 0}},
+ {5457, {gl, getAttachedShaders, 0}},
+ {5458, {gl, getAttribLocation, 0}},
+ {5459, {gl, getProgramiv, 0}},
+ {5460, {gl, getProgramInfoLog, 0}},
+ {5461, {gl, getShaderiv, 0}},
+ {5462, {gl, getShaderInfoLog, 0}},
+ {5463, {gl, getShaderSource, 0}},
+ {5464, {gl, getUniformLocation, 0}},
+ {5465, {gl, getUniformfv, 0}},
+ {5466, {gl, getUniformiv, 0}},
+ {5467, {gl, getVertexAttribdv, 0}},
+ {5468, {gl, getVertexAttribfv, 0}},
+ {5469, {gl, getVertexAttribiv, 0}},
+ {5470, {gl, isProgram, 0}},
+ {5471, {gl, isShader, 0}},
+ {5472, {gl, linkProgram, 0}},
+ {5473, {gl, shaderSource, 0}},
+ {5474, {gl, useProgram, 0}},
+ {5475, {gl, uniform1f, 0}},
+ {5476, {gl, uniform2f, 0}},
+ {5477, {gl, uniform3f, 0}},
+ {5478, {gl, uniform4f, 0}},
+ {5479, {gl, uniform1i, 0}},
+ {5480, {gl, uniform2i, 0}},
+ {5481, {gl, uniform3i, 0}},
+ {5482, {gl, uniform4i, 0}},
+ {5483, {gl, uniform1fv, 0}},
+ {5484, {gl, uniform2fv, 0}},
+ {5485, {gl, uniform3fv, 0}},
+ {5486, {gl, uniform4fv, 0}},
+ {5487, {gl, uniform1iv, 0}},
+ {5488, {gl, uniform2iv, 0}},
+ {5489, {gl, uniform3iv, 0}},
+ {5490, {gl, uniform4iv, 0}},
+ {5491, {gl, uniformMatrix2fv, 0}},
+ {5492, {gl, uniformMatrix3fv, 0}},
+ {5493, {gl, uniformMatrix4fv, 0}},
+ {5494, {gl, validateProgram, 0}},
+ {5495, {gl, vertexAttrib1d, 0}},
+ {5496, {gl, vertexAttrib1f, 0}},
+ {5497, {gl, vertexAttrib1s, 0}},
+ {5498, {gl, vertexAttrib2d, 0}},
+ {5499, {gl, vertexAttrib2f, 0}},
+ {5500, {gl, vertexAttrib2s, 0}},
+ {5501, {gl, vertexAttrib3d, 0}},
+ {5502, {gl, vertexAttrib3f, 0}},
+ {5503, {gl, vertexAttrib3s, 0}},
+ {5504, {gl, vertexAttrib4Nbv, 0}},
+ {5505, {gl, vertexAttrib4Niv, 0}},
+ {5506, {gl, vertexAttrib4Nsv, 0}},
+ {5507, {gl, vertexAttrib4Nub, 0}},
+ {5508, {gl, vertexAttrib4Nuiv, 0}},
+ {5509, {gl, vertexAttrib4Nusv, 0}},
+ {5510, {gl, vertexAttrib4bv, 0}},
+ {5511, {gl, vertexAttrib4d, 0}},
+ {5512, {gl, vertexAttrib4f, 0}},
+ {5513, {gl, vertexAttrib4iv, 0}},
+ {5514, {gl, vertexAttrib4s, 0}},
+ {5515, {gl, vertexAttrib4ubv, 0}},
+ {5516, {gl, vertexAttrib4uiv, 0}},
+ {5517, {gl, vertexAttrib4usv, 0}},
+ {5518, {gl, vertexAttribPointer, 0}},
+ {5519, {gl, vertexAttribPointer, 0}},
+ {5520, {gl, uniformMatrix2x3fv, 0}},
+ {5521, {gl, uniformMatrix3x2fv, 0}},
+ {5522, {gl, uniformMatrix2x4fv, 0}},
+ {5523, {gl, uniformMatrix4x2fv, 0}},
+ {5524, {gl, uniformMatrix3x4fv, 0}},
+ {5525, {gl, uniformMatrix4x3fv, 0}},
+ {5526, {gl, colorMaski, 0}},
+ {5527, {gl, getBooleani_v, 0}},
+ {5528, {gl, getIntegeri_v, 0}},
+ {5529, {gl, enablei, 0}},
+ {5530, {gl, disablei, 0}},
+ {5531, {gl, isEnabledi, 0}},
+ {5532, {gl, beginTransformFeedback, 0}},
+ {5533, {gl, endTransformFeedback, 0}},
+ {5534, {gl, bindBufferRange, 0}},
+ {5535, {gl, bindBufferBase, 0}},
+ {5536, {gl, transformFeedbackVaryings, 0}},
+ {5537, {gl, getTransformFeedbackVarying, 0}},
+ {5538, {gl, clampColor, 0}},
+ {5539, {gl, beginConditionalRender, 0}},
+ {5540, {gl, endConditionalRender, 0}},
+ {5541, {gl, vertexAttribIPointer, 0}},
+ {5542, {gl, vertexAttribIPointer, 0}},
+ {5543, {gl, getVertexAttribIiv, 0}},
+ {5544, {gl, getVertexAttribIuiv, 0}},
+ {5545, {gl, getUniformuiv, 0}},
+ {5546, {gl, bindFragDataLocation, 0}},
+ {5547, {gl, getFragDataLocation, 0}},
+ {5548, {gl, uniform1ui, 0}},
+ {5549, {gl, uniform2ui, 0}},
+ {5550, {gl, uniform3ui, 0}},
+ {5551, {gl, uniform4ui, 0}},
+ {5552, {gl, uniform1uiv, 0}},
+ {5553, {gl, uniform2uiv, 0}},
+ {5554, {gl, uniform3uiv, 0}},
+ {5555, {gl, uniform4uiv, 0}},
+ {5556, {gl, texParameterIiv, 0}},
+ {5557, {gl, texParameterIuiv, 0}},
+ {5558, {gl, getTexParameterIiv, 0}},
+ {5559, {gl, getTexParameterIuiv, 0}},
+ {5560, {gl, clearBufferiv, 0}},
+ {5561, {gl, clearBufferuiv, 0}},
+ {5562, {gl, clearBufferfv, 0}},
+ {5563, {gl, clearBufferfi, 0}},
+ {5564, {gl, getStringi, 0}},
+ {5565, {gl, vertexAttribI1i, 0}},
+ {5566, {gl, vertexAttribI2i, 0}},
+ {5567, {gl, vertexAttribI3i, 0}},
+ {5568, {gl, vertexAttribI4i, 0}},
+ {5569, {gl, vertexAttribI1ui, 0}},
+ {5570, {gl, vertexAttribI2ui, 0}},
+ {5571, {gl, vertexAttribI3ui, 0}},
+ {5572, {gl, vertexAttribI4ui, 0}},
+ {5573, {gl, vertexAttribI4bv, 0}},
+ {5574, {gl, vertexAttribI4sv, 0}},
+ {5575, {gl, vertexAttribI4ubv, 0}},
+ {5576, {gl, vertexAttribI4usv, 0}},
+ {5577, {gl, drawArraysInstanced, 0}},
+ {5578, {gl, drawElementsInstanced, 0}},
+ {5579, {gl, drawElementsInstanced, 0}},
+ {5580, {gl, texBuffer, 0}},
+ {5581, {gl, primitiveRestartIndex, 0}},
+ {5582, {gl, loadTransposeMatrixfARB, 0}},
+ {5583, {gl, loadTransposeMatrixdARB, 0}},
+ {5584, {gl, multTransposeMatrixfARB, 0}},
+ {5585, {gl, multTransposeMatrixdARB, 0}},
+ {5586, {gl, weightbvARB, 0}},
+ {5587, {gl, weightsvARB, 0}},
+ {5588, {gl, weightivARB, 0}},
+ {5589, {gl, weightfvARB, 0}},
+ {5590, {gl, weightdvARB, 0}},
+ {5591, {gl, weightubvARB, 0}},
+ {5592, {gl, weightusvARB, 0}},
+ {5593, {gl, weightuivARB, 0}},
+ {5594, {gl, vertexBlendARB, 0}},
+ {5595, {gl, currentPaletteMatrixARB, 0}},
+ {5596, {gl, matrixIndexubvARB, 0}},
+ {5597, {gl, matrixIndexusvARB, 0}},
+ {5598, {gl, matrixIndexuivARB, 0}},
+ {5599, {gl, programStringARB, 0}},
+ {5600, {gl, bindProgramARB, 0}},
+ {5601, {gl, deleteProgramsARB, 0}},
+ {5602, {gl, genProgramsARB, 0}},
+ {5603, {gl, programEnvParameter4dARB, 0}},
+ {5604, {gl, programEnvParameter4dvARB, 0}},
+ {5605, {gl, programEnvParameter4fARB, 0}},
+ {5606, {gl, programEnvParameter4fvARB, 0}},
+ {5607, {gl, programLocalParameter4dARB, 0}},
+ {5608, {gl, programLocalParameter4dvARB, 0}},
+ {5609, {gl, programLocalParameter4fARB, 0}},
+ {5610, {gl, programLocalParameter4fvARB, 0}},
+ {5611, {gl, getProgramEnvParameterdvARB, 0}},
+ {5612, {gl, getProgramEnvParameterfvARB, 0}},
+ {5613, {gl, getProgramLocalParameterdvARB, 0}},
+ {5614, {gl, getProgramLocalParameterfvARB, 0}},
+ {5615, {gl, getProgramStringARB, 0}},
+ {5616, {gl, deleteObjectARB, 0}},
+ {5617, {gl, getHandleARB, 0}},
+ {5618, {gl, detachObjectARB, 0}},
+ {5619, {gl, createShaderObjectARB, 0}},
+ {5620, {gl, shaderSourceARB, 0}},
+ {5621, {gl, compileShaderARB, 0}},
+ {5622, {gl, createProgramObjectARB, 0}},
+ {5623, {gl, attachObjectARB, 0}},
+ {5624, {gl, linkProgramARB, 0}},
+ {5625, {gl, useProgramObjectARB, 0}},
+ {5626, {gl, validateProgramARB, 0}},
+ {5627, {gl, getObjectParameterfvARB, 0}},
+ {5628, {gl, getObjectParameterivARB, 0}},
+ {5629, {gl, getInfoLogARB, 0}},
+ {5630, {gl, getAttachedObjectsARB, 0}},
+ {5631, {gl, getUniformLocationARB, 0}},
+ {5632, {gl, getActiveUniformARB, 0}},
+ {5633, {gl, getUniformfvARB, 0}},
+ {5634, {gl, getUniformivARB, 0}},
+ {5635, {gl, getShaderSourceARB, 0}},
+ {5636, {gl, bindAttribLocationARB, 0}},
+ {5637, {gl, getActiveAttribARB, 0}},
+ {5638, {gl, getAttribLocationARB, 0}},
+ {5639, {gl, isRenderbuffer, 0}},
+ {5640, {gl, bindRenderbuffer, 0}},
+ {5641, {gl, deleteRenderbuffers, 0}},
+ {5642, {gl, genRenderbuffers, 0}},
+ {5643, {gl, renderbufferStorage, 0}},
+ {5644, {gl, getRenderbufferParameteriv, 0}},
+ {5645, {gl, isFramebuffer, 0}},
+ {5646, {gl, bindFramebuffer, 0}},
+ {5647, {gl, deleteFramebuffers, 0}},
+ {5648, {gl, genFramebuffers, 0}},
+ {5649, {gl, checkFramebufferStatus, 0}},
+ {5650, {gl, framebufferTexture1D, 0}},
+ {5651, {gl, framebufferTexture2D, 0}},
+ {5652, {gl, framebufferTexture3D, 0}},
+ {5653, {gl, framebufferRenderbuffer, 0}},
+ {5654, {gl, getFramebufferAttachmentParameteriv, 0}},
+ {5655, {gl, generateMipmap, 0}},
+ {5656, {gl, blitFramebuffer, 0}},
+ {5657, {gl, renderbufferStorageMultisample, 0}},
+ {5658, {gl, framebufferTextureLayer, 0}},
+ {5659, {gl, programParameteriARB, 0}},
+ {5660, {gl, framebufferTextureARB, 0}},
+ {5661, {gl, framebufferTextureFaceARB, 0}},
+ {5662, {gl, vertexAttribDivisorARB, 0}},
+ {5663, {gl, flushMappedBufferRange, 0}},
+ {5664, {gl, bindVertexArray, 0}},
+ {5665, {gl, deleteVertexArrays, 0}},
+ {5666, {gl, genVertexArrays, 0}},
+ {5667, {gl, isVertexArray, 0}},
+ {5668, {gl, getUniformIndices, 0}},
+ {5669, {gl, getActiveUniformsiv, 0}},
+ {5670, {gl, getActiveUniformName, 0}},
+ {5671, {gl, getUniformBlockIndex, 0}},
+ {5672, {gl, getActiveUniformBlockiv, 0}},
+ {5673, {gl, getActiveUniformBlockName, 0}},
+ {5674, {gl, uniformBlockBinding, 0}},
+ {5675, {gl, copyBufferSubData, 0}},
+ {5676, {gl, resizeBuffersMESA, 0}},
+ {5677, {gl, windowPos4dMESA, 0}},
+ {5678, {gl, windowPos4fMESA, 0}},
+ {5679, {gl, windowPos4iMESA, 0}},
+ {5680, {gl, windowPos4sMESA, 0}},
+ {5681, {gl, depthBoundsEXT, 0}},
+ {5682, {gl, stencilClearTagEXT, 0}},
+ {5010, {glu, build1DMipmapLevels, 0}},
+ {5011, {glu, build1DMipmaps, 0}},
+ {5012, {glu, build2DMipmapLevels, 0}},
+ {5013, {glu, build2DMipmaps, 0}},
+ {5014, {glu, build3DMipmapLevels, 0}},
+ {5015, {glu, build3DMipmaps, 0}},
+ {5016, {glu, checkExtension, 0}},
+ {5017, {glu, cylinder, 0}},
+ {5018, {glu, deleteQuadric, 0}},
+ {5019, {glu, disk, 0}},
+ {5020, {glu, errorString, 0}},
+ {5021, {glu, getString, 0}},
+ {5022, {glu, lookAt, 0}},
+ {5023, {glu, newQuadric, 0}},
+ {5024, {glu, ortho2D, 0}},
+ {5025, {glu, partialDisk, 0}},
+ {5026, {glu, perspective, 0}},
+ {5027, {glu, pickMatrix, 0}},
+ {5028, {glu, project, 0}},
+ {5029, {glu, quadricDrawStyle, 0}},
+ {5030, {glu, quadricNormals, 0}},
+ {5031, {glu, quadricOrientation, 0}},
+ {5032, {glu, quadricTexture, 0}},
+ {5033, {glu, scaleImage, 0}},
+ {5034, {glu, sphere, 0}},
+ {5035, {glu, unProject, 0}},
+ {5036, {glu, unProject4, 0}},
+ {-1, {mod, func, -1}}
+].
+
diff --git a/lib/wx/src/gen/glu.erl b/lib/wx/src/gen/glu.erl
new file mode 100644
index 0000000000..9a06be4077
--- /dev/null
+++ b/lib/wx/src/gen/glu.erl
@@ -0,0 +1,231 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+
+%% OPENGL UTILITY API
+
+%% This file is generated DO NOT EDIT
+
+%% @doc A part of the standard OpenGL Utility api.
+%% See <a href="http://www.opengl.org/sdk/docs/man/">www.opengl.org</a>
+%%
+%% Booleans are represented by integers 0 and 1.
+
+%% @type wx_mem(). see wx.erl on memory allocation functions
+%% @type enum(). An integer defined in gl.hrl
+%% @type offset(). An integer which is an offset in an array
+%% @type clamp(). A float clamped between 0.0 - 1.0
+
+-module(glu).
+-compile(inline).
+-include("wxe.hrl").
+-define(GLenum,32/native-unsigned).
+-define(GLboolean,8/native-unsigned).
+-define(GLbitfield,32/native-unsigned).
+-define(GLbyte,8/native-signed).
+-define(GLshort,16/native-signed).
+-define(GLint,32/native-signed).
+-define(GLubyte,8/native-unsigned).
+-define(GLushort,16/native-unsigned).
+-define(GLuint,32/native-unsigned).
+-define(GLsizei,32/native-signed).
+-define(GLfloat,32/native-float).
+-define(GLclampf,32/native-float).
+-define(GLdouble,64/native-float).
+-define(GLclampd,64/native-float).
+-define(GLsizeiptr,64/native-unsigned).
+-define(GLintptr,64/native-unsigned).
+-define(GLUquadric,64/native-unsigned).
+-define(GLhandleARB,64/native-unsigned).
+
+-export([tesselate/2,build1DMipmapLevels/9,build1DMipmaps/6,build2DMipmapLevels/10,
+ build2DMipmaps/7,build3DMipmapLevels/11,build3DMipmaps/8,checkExtension/2,
+ cylinder/6,deleteQuadric/1,disk/5,errorString/1,getString/1,lookAt/9,
+ newQuadric/0,ortho2D/4,partialDisk/7,perspective/4,pickMatrix/5,project/6,
+ quadricDrawStyle/2,quadricNormals/2,quadricOrientation/2,quadricTexture/2,
+ scaleImage/9,sphere/4,unProject/6,unProject4/9]).
+
+
+%% API
+
+%% @spec (Vec3, [Vec3]) -> {Triangles, VertexPos}
+%% Vec3 = {float(),float(),float()}
+%% Triangles = [VertexIndex::integer()]
+%% VertexPos = binary()
+%% @doc General purpose polygon triangulation.
+%% The first argument is the normal and the second a list of
+%% vertex positions. Returned is a list of indecies of the vertices
+%% and a binary (64bit native float) containing an array of
+%% vertex positions, it starts with the vertices in Vs and
+%% may contain newly created vertices in the end.
+tesselate({Nx,Ny,Nz}, Vs) ->
+ wxe_util:call(5000, <<(length(Vs)):32/native,0:32,
+ Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble,
+ (<< <<Vx:?GLdouble,Vy:?GLdouble,Vz:?GLdouble >>
+ || {Vx,Vy,Vz} <- Vs>>)/binary >>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmapLevels.xml">external</a> documentation.
+build1DMipmapLevels(Target,InternalFormat,Width,Format,Type,Level,Base,Max,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5010, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmaps.xml">external</a> documentation.
+build1DMipmaps(Target,InternalFormat,Width,Format,Type,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5011, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmapLevels.xml">external</a> documentation.
+build2DMipmapLevels(Target,InternalFormat,Width,Height,Format,Type,Level,Base,Max,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5012, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmaps.xml">external</a> documentation.
+build2DMipmaps(Target,InternalFormat,Width,Height,Format,Type,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5013, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmapLevels.xml">external</a> documentation.
+build3DMipmapLevels(Target,InternalFormat,Width,Height,Depth,Format,Type,Level,Base,Max,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5014, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>).
+
+%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmaps.xml">external</a> documentation.
+build3DMipmaps(Target,InternalFormat,Width,Height,Depth,Format,Type,Data) ->
+ wxe_util:send_bin(Data),
+ wxe_util:call(5015, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>).
+
+%% @spec (ExtName::[integer()],ExtString::[integer()]) -> 0|1
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluCheckExtension.xml">external</a> documentation.
+checkExtension(ExtName,ExtString) ->
+ wxe_util:call(5016, <<(length(ExtName)):?GLuint,
+ (<< <<C:?GLubyte>> || C <- ExtName>>)/binary,0:((8-((length(ExtName)+ 4) rem 8)) rem 8),(length(ExtString)):?GLuint,
+ (<< <<C:?GLubyte>> || C <- ExtString>>)/binary,0:((8-((length(ExtString)+ 4) rem 8)) rem 8)>>).
+
+%% @spec (Quad::integer(),Base::float(),Top::float(),Height::float(),Slices::integer(),Stacks::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluCylinder.xml">external</a> documentation.
+cylinder(Quad,Base,Top,Height,Slices,Stacks) ->
+ wxe_util:cast(5017, <<Quad:?GLUquadric,Base:?GLdouble,Top:?GLdouble,Height:?GLdouble,Slices:?GLint,Stacks:?GLint>>).
+
+%% @spec (Quad::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluDeleteQuadric.xml">external</a> documentation.
+deleteQuadric(Quad) ->
+ wxe_util:cast(5018, <<Quad:?GLUquadric>>).
+
+%% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluDisk.xml">external</a> documentation.
+disk(Quad,Inner,Outer,Slices,Loops) ->
+ wxe_util:cast(5019, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint>>).
+
+%% @spec (Error::enum()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluErrorString.xml">external</a> documentation.
+errorString(Error) ->
+ wxe_util:call(5020, <<Error:?GLenum>>).
+
+%% @spec (Name::enum()) -> string()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluGetString.xml">external</a> documentation.
+getString(Name) ->
+ wxe_util:call(5021, <<Name:?GLenum>>).
+
+%% @spec (EyeX::float(),EyeY::float(),EyeZ::float(),CenterX::float(),CenterY::float(),CenterZ::float(),UpX::float(),UpY::float(),UpZ::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluLookAt.xml">external</a> documentation.
+lookAt(EyeX,EyeY,EyeZ,CenterX,CenterY,CenterZ,UpX,UpY,UpZ) ->
+ wxe_util:cast(5022, <<EyeX:?GLdouble,EyeY:?GLdouble,EyeZ:?GLdouble,CenterX:?GLdouble,CenterY:?GLdouble,CenterZ:?GLdouble,UpX:?GLdouble,UpY:?GLdouble,UpZ:?GLdouble>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluNewQuadric.xml">external</a> documentation.
+newQuadric() ->
+ wxe_util:call(5023, <<>>).
+
+%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluOrtho2D.xml">external</a> documentation.
+ortho2D(Left,Right,Bottom,Top) ->
+ wxe_util:cast(5024, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble>>).
+
+%% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer(),Start::float(),Sweep::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPartialDisk.xml">external</a> documentation.
+partialDisk(Quad,Inner,Outer,Slices,Loops,Start,Sweep) ->
+ wxe_util:cast(5025, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint,Start:?GLdouble,Sweep:?GLdouble>>).
+
+%% @spec (Fovy::float(),Aspect::float(),ZNear::float(),ZFar::float()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPerspective.xml">external</a> documentation.
+perspective(Fovy,Aspect,ZNear,ZFar) ->
+ wxe_util:cast(5026, <<Fovy:?GLdouble,Aspect:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>).
+
+%% @spec (X::float(),Y::float(),DelX::float(),DelY::float(),Viewport::{integer()}) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPickMatrix.xml">external</a> documentation.
+pickMatrix(X,Y,DelX,DelY,{V1,V2,V3,V4}) ->
+ wxe_util:cast(5027, <<X:?GLdouble,Y:?GLdouble,DelX:?GLdouble,DelY:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>).
+
+%% @spec (ObjX::float(),ObjY::float(),ObjZ::float(),Model::{float()},Proj::{float()},View::{integer()}) -> {integer(),WinX::float(),WinY::float(),WinZ::float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluProject.xml">external</a> documentation.
+project(ObjX,ObjY,ObjZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4}) ->
+ wxe_util:call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>);
+project(ObjX,ObjY,ObjZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4}) ->
+ wxe_util:call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>).
+
+%% @spec (Quad::integer(),Draw::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricDrawStyle.xml">external</a> documentation.
+quadricDrawStyle(Quad,Draw) ->
+ wxe_util:cast(5029, <<Quad:?GLUquadric,Draw:?GLenum>>).
+
+%% @spec (Quad::integer(),Normal::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricNormals.xml">external</a> documentation.
+quadricNormals(Quad,Normal) ->
+ wxe_util:cast(5030, <<Quad:?GLUquadric,Normal:?GLenum>>).
+
+%% @spec (Quad::integer(),Orientation::enum()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricOrientation.xml">external</a> documentation.
+quadricOrientation(Quad,Orientation) ->
+ wxe_util:cast(5031, <<Quad:?GLUquadric,Orientation:?GLenum>>).
+
+%% @spec (Quad::integer(),Texture::0|1) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricTexture.xml">external</a> documentation.
+quadricTexture(Quad,Texture) ->
+ wxe_util:cast(5032, <<Quad:?GLUquadric,Texture:?GLboolean>>).
+
+%% @spec (Format::enum(),WIn::integer(),HIn::integer(),TypeIn::enum(),DataIn::binary(),WOut::integer(),HOut::integer(),TypeOut::enum(),DataOut::wx:wx_mem()) -> integer()
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluScaleImage.xml">external</a> documentation.
+scaleImage(Format,WIn,HIn,TypeIn,DataIn,WOut,HOut,TypeOut,DataOut) ->
+ wxe_util:send_bin(DataIn),
+ wxe_util:send_bin(DataOut#wx_mem.bin),
+ wxe_util:call(5033, <<Format:?GLenum,WIn:?GLsizei,HIn:?GLsizei,TypeIn:?GLenum,WOut:?GLsizei,HOut:?GLsizei,TypeOut:?GLenum>>).
+
+%% @spec (Quad::integer(),Radius::float(),Slices::integer(),Stacks::integer()) -> ok
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluSphere.xml">external</a> documentation.
+sphere(Quad,Radius,Slices,Stacks) ->
+ wxe_util:cast(5034, <<Quad:?GLUquadric,Radius:?GLdouble,Slices:?GLint,Stacks:?GLint>>).
+
+%% @spec (WinX::float(),WinY::float(),WinZ::float(),Model::{float()},Proj::{float()},View::{integer()}) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml">external</a> documentation.
+unProject(WinX,WinY,WinZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4}) ->
+ wxe_util:call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>);
+unProject(WinX,WinY,WinZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4}) ->
+ wxe_util:call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>).
+
+%% @spec (WinX::float(),WinY::float(),WinZ::float(),ClipW::float(),Model::{float()},Proj::{float()},View::{integer()},NearVal::float(),FarVal::float()) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float(),ObjW::float()}
+%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml">external</a> documentation.
+unProject4(WinX,WinY,WinZ,ClipW,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4},NearVal,FarVal) ->
+ wxe_util:call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>);
+unProject4(WinX,WinY,WinZ,ClipW,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4},NearVal,FarVal) ->
+ wxe_util:call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>).
+
diff --git a/lib/wx/src/gen/wxAcceleratorEntry.erl b/lib/wx/src/gen/wxAcceleratorEntry.erl
new file mode 100644
index 0000000000..4c6d35829c
--- /dev/null
+++ b/lib/wx/src/gen/wxAcceleratorEntry.erl
@@ -0,0 +1,109 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html">wxAcceleratorEntry</a>.
+%% @type wxAcceleratorEntry(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAcceleratorEntry).
+-include("wxe.hrl").
+-export([destroy/1,getCommand/1,getFlags/1,getKeyCode/1,new/0,new/1,set/4,set/5]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxAcceleratorEntry()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec (X::term()|wxAcceleratorEntry()) -> wxAcceleratorEntry()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html#wxacceleratorentrywxacceleratorentry">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new([Option]) -> wxAcceleratorEntry() </c>
+%%<br /> Option = {flags, integer()} | {keyCode, integer()} | {cmd, integer()} | {item, wxMenuItem:wxMenuItem()}
+%% </p>
+%% <p><c>
+%% new(Entry::wxAcceleratorEntry()) -> wxAcceleratorEntry() </c>
+%% </p>
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ ({keyCode, KeyCode}, Acc) -> [<<2:32/?UI,KeyCode:32/?UI>>|Acc];
+ ({cmd, Cmd}, Acc) -> [<<3:32/?UI,Cmd:32/?UI>>|Acc];
+ ({item, #wx_ref{type=ItemT,ref=ItemRef}}, Acc) -> ?CLASS(ItemT,wxMenuItem),[<<4:32/?UI,ItemRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxAcceleratorEntry_new_1_0,
+ <<BinOpt/binary>>);
+new(#wx_ref{type=EntryT,ref=EntryRef}) ->
+ ?CLASS(EntryT,wxAcceleratorEntry),
+ wxe_util:construct(?wxAcceleratorEntry_new_1_1,
+ <<EntryRef:32/?UI>>).
+
+%% @spec (This::wxAcceleratorEntry()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html#wxacceleratorentrygetcommand">external documentation</a>.
+getCommand(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAcceleratorEntry),
+ wxe_util:call(?wxAcceleratorEntry_GetCommand,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAcceleratorEntry()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html#wxacceleratorentrygetflags">external documentation</a>.
+getFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAcceleratorEntry),
+ wxe_util:call(?wxAcceleratorEntry_GetFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAcceleratorEntry()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html#wxacceleratorentrygetkeycode">external documentation</a>.
+getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAcceleratorEntry),
+ wxe_util:call(?wxAcceleratorEntry_GetKeyCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer()) -> ok
+%% @equiv set(This,Flags,KeyCode,Cmd, [])
+set(This,Flags,KeyCode,Cmd)
+ when is_record(This, wx_ref),is_integer(Flags),is_integer(KeyCode),is_integer(Cmd) ->
+ set(This,Flags,KeyCode,Cmd, []).
+
+%% @spec (This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer(), [Option]) -> ok
+%% Option = {item, wxMenuItem:wxMenuItem()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratorentry.html#wxacceleratorentryset">external documentation</a>.
+set(#wx_ref{type=ThisT,ref=ThisRef},Flags,KeyCode,Cmd, Options)
+ when is_integer(Flags),is_integer(KeyCode),is_integer(Cmd),is_list(Options) ->
+ ?CLASS(ThisT,wxAcceleratorEntry),
+ MOpts = fun({item, #wx_ref{type=ItemT,ref=ItemRef}}, Acc) -> ?CLASS(ItemT,wxMenuItem),[<<1:32/?UI,ItemRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxAcceleratorEntry_Set,
+ <<ThisRef:32/?UI,Flags:32/?UI,KeyCode:32/?UI,Cmd:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxAcceleratorEntry()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxAcceleratorEntry),
+ wxe_util:destroy(?wxAcceleratorEntry_destroy,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxAcceleratorTable.erl b/lib/wx/src/gen/wxAcceleratorTable.erl
new file mode 100644
index 0000000000..f4f7f55f70
--- /dev/null
+++ b/lib/wx/src/gen/wxAcceleratorTable.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratortable.html">wxAcceleratorTable</a>.
+%% @type wxAcceleratorTable(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAcceleratorTable).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/2,ok/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxAcceleratorTable()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratortable.html#wxacceleratortablewxacceleratortable">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxAcceleratorTable_new_0,
+ <<>>).
+
+%% @spec (N::integer(), Entries::[wxAcceleratorEntry:wxAcceleratorEntry()]) -> wxAcceleratorTable()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratortable.html#wxacceleratortablewxacceleratortable">external documentation</a>.
+new(N,Entries)
+ when is_integer(N),is_list(Entries) ->
+ [?CLASS(EntriesT,wxAcceleratorEntry) || #wx_ref{type=EntriesT} <- Entries],
+ wxe_util:construct(?wxAcceleratorTable_new_2,
+ <<N:32/?UI,(length(Entries)):32/?UI,
+ (<< <<(C#wx_ref.ref):32/?UI>> || C <- Entries>>)/binary, 0:(((0+length(Entries)) rem 2)*32)>>).
+
+%% @spec (This::wxAcceleratorTable()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxacceleratortable.html#wxacceleratortableok">external documentation</a>.
+ok(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAcceleratorTable),
+ wxe_util:call(?wxAcceleratorTable_Ok,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAcceleratorTable()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxAcceleratorTable),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxArtProvider.erl b/lib/wx/src/gen/wxArtProvider.erl
new file mode 100644
index 0000000000..4708f0844b
--- /dev/null
+++ b/lib/wx/src/gen/wxArtProvider.erl
@@ -0,0 +1,72 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html">wxArtProvider</a>.
+%% @type wxArtProvider(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxArtProvider).
+-include("wxe.hrl").
+-export([getBitmap/1,getBitmap/2,getIcon/1,getIcon/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Id::string()) -> wxBitmap:wxBitmap()
+%% @equiv getBitmap(Id, [])
+getBitmap(Id)
+ when is_list(Id) ->
+ getBitmap(Id, []).
+
+%% @spec (Id::string(), [Option]) -> wxBitmap:wxBitmap()
+%% Option = {client, string()} | {size, {W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html#wxartprovidergetbitmap">external documentation</a>.
+getBitmap(Id, Options)
+ when is_list(Id),is_list(Options) ->
+ Id_UC = unicode:characters_to_binary([Id,0]),
+ MOpts = fun({client, Client}, Acc) -> Client_UC = unicode:characters_to_binary([Client, $_, $C,0]),[<<1:32/?UI,(byte_size(Client_UC)):32/?UI,(Client_UC)/binary, 0:(((8- ((0+byte_size(Client_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxArtProvider_GetBitmap,
+ <<(byte_size(Id_UC)):32/?UI,(Id_UC)/binary, 0:(((8- ((4+byte_size(Id_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (Id::string()) -> wxIcon:wxIcon()
+%% @equiv getIcon(Id, [])
+getIcon(Id)
+ when is_list(Id) ->
+ getIcon(Id, []).
+
+%% @spec (Id::string(), [Option]) -> wxIcon:wxIcon()
+%% Option = {client, string()} | {size, {W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html#wxartprovidergeticon">external documentation</a>.
+getIcon(Id, Options)
+ when is_list(Id),is_list(Options) ->
+ Id_UC = unicode:characters_to_binary([Id,0]),
+ MOpts = fun({client, Client}, Acc) -> Client_UC = unicode:characters_to_binary([Client, $_, $C,0]),[<<1:32/?UI,(byte_size(Client_UC)):32/?UI,(Client_UC)/binary, 0:(((8- ((0+byte_size(Client_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxArtProvider_GetIcon,
+ <<(byte_size(Id_UC)):32/?UI,(Id_UC)/binary, 0:(((8- ((4+byte_size(Id_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
diff --git a/lib/wx/src/gen/wxAuiDockArt.erl b/lib/wx/src/gen/wxAuiDockArt.erl
new file mode 100644
index 0000000000..9997e69dfd
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiDockArt.erl
@@ -0,0 +1,34 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauidockart.html">wxAuiDockArt</a>.
+%% @type wxAuiDockArt(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiDockArt).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl
new file mode 100644
index 0000000000..7f46a36991
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiManager.erl
@@ -0,0 +1,316 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html">wxAuiManager</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxAuiManager(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiManager).
+-include("wxe.hrl").
+-export([addPane/2,addPane/3,addPane/4,destroy/1,detachPane/2,getAllPanes/1,
+ getArtProvider/1,getDockSizeConstraint/1,getFlags/1,getManagedWindow/1,
+ getManager/1,getPane/2,hideHint/1,insertPane/3,insertPane/4,loadPaneInfo/3,
+ loadPerspective/2,loadPerspective/3,new/0,new/1,savePaneInfo/2,savePerspective/1,
+ setArtProvider/2,setDockSizeConstraint/3,setFlags/2,setManagedWindow/2,
+ showHint/2,unInit/1,update/1]).
+
+%% inherited exports
+-export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]).
+
+%% @hidden
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxAuiManager()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxAuiManager()
+%% Option = {managed_wnd, wxWindow:wxWindow()} | {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerwxauimanager">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({managed_wnd, #wx_ref{type=Managed_wndT,ref=Managed_wndRef}}, Acc) -> ?CLASS(Managed_wndT,wxWindow),[<<1:32/?UI,Managed_wndRef:32/?UI>>|Acc];
+ ({flags, Flags}, Acc) -> [<<2:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxAuiManager_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow()) -> bool()
+%% @equiv addPane(This,Window, [])
+addPane(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ addPane(This,Window, []).
+
+%% @spec (This::wxAuiManager(),Window::wxWindow:wxWindow(),X::term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanageraddpane">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% addPane(This::wxAuiManager(), Window::wxWindow:wxWindow(), [Option]) -> bool() </c>
+%%<br /> Option = {direction, integer()} | {caption, string()}
+%% </p>
+%% <p><c>
+%% addPane(This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo()) -> bool() </c>
+%% </p>
+addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ MOpts = fun({direction, Direction}, Acc) -> [<<1:32/?UI,Direction:32/?UI>>|Acc];
+ ({caption, Caption}, Acc) -> Caption_UC = unicode:characters_to_binary([Caption,0]),[<<2:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((0+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiManager_AddPane_2_0,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>);
+addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=Pane_infoT,ref=Pane_infoRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ ?CLASS(Pane_infoT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiManager_AddPane_2_1,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,Pane_infoRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo(), Drop_pos::{X::integer(),Y::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanageraddpane">external documentation</a>.
+addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=Pane_infoT,ref=Pane_infoRef},{Drop_posX,Drop_posY})
+ when is_integer(Drop_posX),is_integer(Drop_posY) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ ?CLASS(Pane_infoT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiManager_AddPane_3,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,Pane_infoRef:32/?UI,Drop_posX:32/?UI,Drop_posY:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerdetachpane">external documentation</a>.
+detachPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxAuiManager_DetachPane,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> wxAuiPaneInfoArray:wxAuiPaneInfoArray()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetallpanes">external documentation</a>.
+getAllPanes(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_GetAllPanes,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> wxAuiDockArt:wxAuiDockArt()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetartprovider">external documentation</a>.
+getArtProvider(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_GetArtProvider,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> {Width_pct::float(),Height_pct::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetdocksizeconstraint">external documentation</a>.
+getDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_GetDockSizeConstraint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetflags">external documentation</a>.
+getFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_GetFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetmanagedwindow">external documentation</a>.
+getManagedWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_GetManagedWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Window::wxWindow:wxWindow()) -> wxAuiManager()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetmanager">external documentation</a>.
+getManager(#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxAuiManager_GetManager,
+ <<WindowRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(),X::string()|term()) -> wxAuiPaneInfo:wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagergetpane">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% getPane(This::wxAuiManager(), Name::string()) -> wxAuiPaneInfo:wxAuiPaneInfo() </c>
+%% </p>
+%% <p><c>
+%% getPane(This::wxAuiManager(), Window::wxWindow:wxWindow()) -> wxAuiPaneInfo:wxAuiPaneInfo() </c>
+%% </p>
+getPane(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxAuiManager),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxAuiManager_GetPane_1_0,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>);
+getPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxAuiManager_GetPane_1_1,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerhidehint">external documentation</a>.
+hideHint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_HideHint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo()) -> bool()
+%% @equiv insertPane(This,Window,Insert_location, [])
+insertPane(This,Window,Insert_location)
+ when is_record(This, wx_ref),is_record(Window, wx_ref),is_record(Insert_location, wx_ref) ->
+ insertPane(This,Window,Insert_location, []).
+
+%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo(), [Option]) -> bool()
+%% Option = {insert_level, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerinsertpane">external documentation</a>.
+insertPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=Insert_locationT,ref=Insert_locationRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(WindowT,wxWindow),
+ ?CLASS(Insert_locationT,wxAuiPaneInfo),
+ MOpts = fun({insert_level, Insert_level}, Acc) -> [<<1:32/?UI,Insert_level:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiManager_InsertPane,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,Insert_locationRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiManager(), Pane_part::string(), Pane::wxAuiPaneInfo:wxAuiPaneInfo()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerloadpaneinfo">external documentation</a>.
+loadPaneInfo(#wx_ref{type=ThisT,ref=ThisRef},Pane_part,#wx_ref{type=PaneT,ref=PaneRef})
+ when is_list(Pane_part) ->
+ ?CLASS(ThisT,wxAuiManager),
+ Pane_part_UC = unicode:characters_to_binary([Pane_part,0]),
+ ?CLASS(PaneT,wxAuiPaneInfo),
+ wxe_util:cast(?wxAuiManager_LoadPaneInfo,
+ <<ThisRef:32/?UI,(byte_size(Pane_part_UC)):32/?UI,(Pane_part_UC)/binary, 0:(((8- ((0+byte_size(Pane_part_UC)) band 16#7)) band 16#7))/unit:8,PaneRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Perspective::string()) -> bool()
+%% @equiv loadPerspective(This,Perspective, [])
+loadPerspective(This,Perspective)
+ when is_record(This, wx_ref),is_list(Perspective) ->
+ loadPerspective(This,Perspective, []).
+
+%% @spec (This::wxAuiManager(), Perspective::string(), [Option]) -> bool()
+%% Option = {update, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerloadperspective">external documentation</a>.
+loadPerspective(#wx_ref{type=ThisT,ref=ThisRef},Perspective, Options)
+ when is_list(Perspective),is_list(Options) ->
+ ?CLASS(ThisT,wxAuiManager),
+ Perspective_UC = unicode:characters_to_binary([Perspective,0]),
+ MOpts = fun({update, Update}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Update)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiManager_LoadPerspective,
+ <<ThisRef:32/?UI,(byte_size(Perspective_UC)):32/?UI,(Perspective_UC)/binary, 0:(((8- ((0+byte_size(Perspective_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxAuiManager(), Pane::wxAuiPaneInfo:wxAuiPaneInfo()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersavepaneinfo">external documentation</a>.
+savePaneInfo(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaneT,ref=PaneRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(PaneT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiManager_SavePaneInfo,
+ <<ThisRef:32/?UI,PaneRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersaveperspective">external documentation</a>.
+savePerspective(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:call(?wxAuiManager_SavePerspective,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Art_provider::wxAuiDockArt:wxAuiDockArt()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersetartprovider">external documentation</a>.
+setArtProvider(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Art_providerT,ref=Art_providerRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(Art_providerT,wxAuiDockArt),
+ wxe_util:cast(?wxAuiManager_SetArtProvider,
+ <<ThisRef:32/?UI,Art_providerRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Width_pct::float(), Height_pct::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersetdocksizeconstraint">external documentation</a>.
+setDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef},Width_pct,Height_pct)
+ when is_float(Width_pct),is_float(Height_pct) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_SetDockSizeConstraint,
+ <<ThisRef:32/?UI,0:32,Width_pct:64/?F,Height_pct:64/?F>>).
+
+%% @spec (This::wxAuiManager(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersetflags">external documentation</a>.
+setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_SetFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Managed_wnd::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagersetmanagedwindow">external documentation</a>.
+setManagedWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Managed_wndT,ref=Managed_wndRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ ?CLASS(Managed_wndT,wxWindow),
+ wxe_util:cast(?wxAuiManager_SetManagedWindow,
+ <<ThisRef:32/?UI,Managed_wndRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagershowhint">external documentation</a>.
+showHint(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_ShowHint,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanageruninit">external documentation</a>.
+unInit(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_UnInit,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanager.html#wxauimanagerupdate">external documentation</a>.
+update(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManager),
+ wxe_util:cast(?wxAuiManager_Update,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManager()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxAuiManager),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxAuiManagerEvent.erl b/lib/wx/src/gen/wxAuiManagerEvent.erl
new file mode 100644
index 0000000000..c15eeb4ad6
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiManagerEvent.erl
@@ -0,0 +1,163 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html">wxAuiManagerEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>aui_pane_button</em>, <em>aui_pane_close</em>, <em>aui_pane_maximize</em>, <em>aui_pane_restore</em>, <em>aui_render</em>, <em>aui_find_manager</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxAuiManager(). #wxAuiManager{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxAuiManagerEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiManagerEvent).
+-include("wxe.hrl").
+-export([canVeto/1,getButton/1,getDC/1,getManager/1,getPane/1,getVeto/1,setButton/2,
+ setCanVeto/2,setDC/2,setManager/2,setPane/2,veto/1,veto/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxAuiManagerEvent(), Mgr::wxAuiManager:wxAuiManager()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventsetmanager">external documentation</a>.
+setManager(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MgrT,ref=MgrRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ ?CLASS(MgrT,wxAuiManager),
+ wxe_util:cast(?wxAuiManagerEvent_SetManager,
+ <<ThisRef:32/?UI,MgrRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> wxAuiManager:wxAuiManager()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventgetmanager">external documentation</a>.
+getManager(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_GetManager,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent(), P::wxAuiPaneInfo:wxAuiPaneInfo()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventsetpane">external documentation</a>.
+setPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PT,ref=PRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ ?CLASS(PT,wxAuiPaneInfo),
+ wxe_util:cast(?wxAuiManagerEvent_SetPane,
+ <<ThisRef:32/?UI,PRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> wxAuiPaneInfo:wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventgetpane">external documentation</a>.
+getPane(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_GetPane,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventsetbutton">external documentation</a>.
+setButton(#wx_ref{type=ThisT,ref=ThisRef},B)
+ when is_integer(B) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:cast(?wxAuiManagerEvent_SetButton,
+ <<ThisRef:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventgetbutton">external documentation</a>.
+getButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_GetButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent(), Pdc::wxDC:wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventsetdc">external documentation</a>.
+setDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PdcT,ref=PdcRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ ?CLASS(PdcT,wxDC),
+ wxe_util:cast(?wxAuiManagerEvent_SetDC,
+ <<ThisRef:32/?UI,PdcRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> wxDC:wxDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventgetdc">external documentation</a>.
+getDC(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_GetDC,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> ok
+%% @equiv veto(This, [])
+veto(This)
+ when is_record(This, wx_ref) ->
+ veto(This, []).
+
+%% @spec (This::wxAuiManagerEvent(), [Option]) -> ok
+%% Option = {veto, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventveto">external documentation</a>.
+veto(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ MOpts = fun({veto, Veto}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Veto)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxAuiManagerEvent_Veto,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventgetveto">external documentation</a>.
+getVeto(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_GetVeto,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent(), Can_veto::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventsetcanveto">external documentation</a>.
+setCanVeto(#wx_ref{type=ThisT,ref=ThisRef},Can_veto)
+ when is_boolean(Can_veto) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:cast(?wxAuiManagerEvent_SetCanVeto,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Can_veto)):32/?UI>>).
+
+%% @spec (This::wxAuiManagerEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauimanagerevent.html#wxauimanagereventcanveto">external documentation</a>.
+canVeto(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiManagerEvent),
+ wxe_util:call(?wxAuiManagerEvent_CanVeto,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxAuiNotebook.erl b/lib/wx/src/gen/wxAuiNotebook.erl
new file mode 100644
index 0000000000..abd2cf618b
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiNotebook.erl
@@ -0,0 +1,666 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html">wxAuiNotebook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxAuiNotebook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiNotebook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,create/2,create/3,deletePage/2,destroy/1,getArtProvider/1,
+ getPage/2,getPageBitmap/2,getPageCount/1,getPageIndex/2,getPageText/2,
+ getSelection/1,insertPage/4,insertPage/5,new/0,new/1,new/2,removePage/2,
+ setArtProvider/2,setFont/2,setPageBitmap/3,setPageText/3,setSelection/2,
+ setTabCtrlHeight/2,setUniformBitmapSize/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setSize/2,
+ setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
+ setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxAuiNotebook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookwxauinotebook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxAuiNotebook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxAuiNotebook()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxAuiNotebook()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookwxauinotebook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxAuiNotebook_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string()) -> bool()
+%% @equiv addPage(This,Page,Caption, [])
+addPage(This,Page,Caption)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Caption) ->
+ addPage(This,Page,Caption, []).
+
+%% @spec (This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(), [Option]) -> bool()
+%% Option = {select, bool()} | {bitmap, wxBitmap:wxBitmap()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Caption, Options)
+ when is_list(Caption),is_list(Options) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(PageT,wxWindow),
+ Caption_UC = unicode:characters_to_binary([Caption,0]),
+ MOpts = fun({select, Select}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Select)):32/?UI>>|Acc];
+ ({bitmap, #wx_ref{type=BitmapT,ref=BitmapRef}}, Acc) -> ?CLASS(BitmapT,wxBitmap),[<<2:32/?UI,BitmapRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiNotebook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((4+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxAuiNotebook(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxAuiNotebook(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiNotebook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxAuiNotebook(), Page::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},Page)
+ when is_integer(Page) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_DeletePage,
+ <<ThisRef:32/?UI,Page:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook()) -> wxAuiTabArt:wxAuiTabArt()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetartprovider">external documentation</a>.
+getArtProvider(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetArtProvider,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx)
+ when is_integer(Page_idx) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetPage,
+ <<ThisRef:32/?UI,Page_idx:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetpagebitmap">external documentation</a>.
+getPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page_idx)
+ when is_integer(Page_idx) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetPageBitmap,
+ <<ThisRef:32/?UI,Page_idx:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page_wnd::wxWindow:wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetpageindex">external documentation</a>.
+getPageIndex(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Page_wndT,ref=Page_wndRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(Page_wndT,wxWindow),
+ wxe_util:call(?wxAuiNotebook_GetPageIndex,
+ <<ThisRef:32/?UI,Page_wndRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},Page_idx)
+ when is_integer(Page_idx) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetPageText,
+ <<ThisRef:32/?UI,Page_idx:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string()) -> bool()
+%% @equiv insertPage(This,Page_idx,Page,Caption, [])
+insertPage(This,Page_idx,Page,Caption)
+ when is_record(This, wx_ref),is_integer(Page_idx),is_record(Page, wx_ref),is_list(Caption) ->
+ insertPage(This,Page_idx,Page,Caption, []).
+
+%% @spec (This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(), [Option]) -> bool()
+%% Option = {select, bool()} | {bitmap, wxBitmap:wxBitmap()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx,#wx_ref{type=PageT,ref=PageRef},Caption, Options)
+ when is_integer(Page_idx),is_list(Caption),is_list(Options) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(PageT,wxWindow),
+ Caption_UC = unicode:characters_to_binary([Caption,0]),
+ MOpts = fun({select, Select}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Select)):32/?UI>>|Acc];
+ ({bitmap, #wx_ref{type=BitmapT,ref=BitmapRef}}, Acc) -> ?CLASS(BitmapT,wxBitmap),[<<2:32/?UI,BitmapRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiNotebook_InsertPage,
+ <<ThisRef:32/?UI,Page_idx:32/?UI,PageRef:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((0+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxAuiNotebook(), Page::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},Page)
+ when is_integer(Page) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_RemovePage,
+ <<ThisRef:32/?UI,Page:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Art::wxAuiTabArt:wxAuiTabArt()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetartprovider">external documentation</a>.
+setArtProvider(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ArtT,ref=ArtRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(ArtT,wxAuiTabArt),
+ wxe_util:cast(?wxAuiNotebook_SetArtProvider,
+ <<ThisRef:32/?UI,ArtRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Font::wxFont:wxFont()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(FontT,wxFont),
+ wxe_util:call(?wxAuiNotebook_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetpagebitmap">external documentation</a>.
+setPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page,#wx_ref{type=BitmapT,ref=BitmapRef})
+ when is_integer(Page) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxAuiNotebook_SetPageBitmap,
+ <<ThisRef:32/?UI,Page:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Page::integer(), Text::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},Page,Text)
+ when is_integer(Page),is_list(Text) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxAuiNotebook_SetPageText,
+ <<ThisRef:32/?UI,Page:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxAuiNotebook(), New_page::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},New_page)
+ when is_integer(New_page) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:call(?wxAuiNotebook_SetSelection,
+ <<ThisRef:32/?UI,New_page:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksettabctrlheight">external documentation</a>.
+setTabCtrlHeight(#wx_ref{type=ThisT,ref=ThisRef},Height)
+ when is_integer(Height) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:cast(?wxAuiNotebook_SetTabCtrlHeight,
+ <<ThisRef:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebook.html#wxauinotebooksetuniformbitmapsize">external documentation</a>.
+setUniformBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxAuiNotebook),
+ wxe_util:cast(?wxAuiNotebook_SetUniformBitmapSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxAuiNotebook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxAuiNotebook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxAuiNotebookEvent.erl b/lib/wx/src/gen/wxAuiNotebookEvent.erl
new file mode 100644
index 0000000000..763d7092f2
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiNotebookEvent.erl
@@ -0,0 +1,138 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html">wxAuiNotebookEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_auinotebook_page_close</em>, <em>command_auinotebook_page_changed</em>, <em>command_auinotebook_page_changing</em>, <em>command_auinotebook_button</em>, <em>command_auinotebook_begin_drag</em>, <em>command_auinotebook_end_drag</em>, <em>command_auinotebook_drag_motion</em>, <em>command_auinotebook_allow_dnd</em>, <em>command_auinotebook_tab_middle_down</em>, <em>command_auinotebook_tab_middle_up</em>, <em>command_auinotebook_tab_right_down</em>, <em>command_auinotebook_tab_right_up</em>, <em>command_auinotebook_page_closed</em>, <em>command_auinotebook_drag_done</em>, <em>command_auinotebook_bg_dclick</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxAuiNotebook(). #wxAuiNotebook{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxAuiNotebookEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiNotebookEvent).
+-include("wxe.hrl").
+-export([getDragSource/1,getOldSelection/1,getSelection/1,setDragSource/2,
+ setOldSelection/2,setSelection/2]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSkipped/1,
+ getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxAuiNotebookEvent(), S::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_integer(S) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ wxe_util:cast(?wxAuiNotebookEvent_SetSelection,
+ <<ThisRef:32/?UI,S:32/?UI>>).
+
+%% @spec (This::wxAuiNotebookEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ wxe_util:call(?wxAuiNotebookEvent_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebookEvent(), S::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventsetoldselection">external documentation</a>.
+setOldSelection(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_integer(S) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ wxe_util:cast(?wxAuiNotebookEvent_SetOldSelection,
+ <<ThisRef:32/?UI,S:32/?UI>>).
+
+%% @spec (This::wxAuiNotebookEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventgetoldselection">external documentation</a>.
+getOldSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ wxe_util:call(?wxAuiNotebookEvent_GetOldSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebookEvent(), S::wxAuiNotebook:wxAuiNotebook()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventsetdragsource">external documentation</a>.
+setDragSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ST,ref=SRef}) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ ?CLASS(ST,wxAuiNotebook),
+ wxe_util:cast(?wxAuiNotebookEvent_SetDragSource,
+ <<ThisRef:32/?UI,SRef:32/?UI>>).
+
+%% @spec (This::wxAuiNotebookEvent()) -> wxAuiNotebook:wxAuiNotebook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauinotebookevent.html#wxauinotebookeventgetdragsource">external documentation</a>.
+getDragSource(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiNotebookEvent),
+ wxe_util:call(?wxAuiNotebookEvent_GetDragSource,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxAuiPaneInfo.erl b/lib/wx/src/gen/wxAuiPaneInfo.erl
new file mode 100644
index 0000000000..1683045a90
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiPaneInfo.erl
@@ -0,0 +1,785 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html">wxAuiPaneInfo</a>.
+%% @type wxAuiPaneInfo(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiPaneInfo).
+-include("wxe.hrl").
+-export([bestSize/2,bestSize/3,bottom/1,bottomDockable/1,bottomDockable/2,caption/2,
+ captionVisible/1,captionVisible/2,centre/1,centrePane/1,closeButton/1,
+ closeButton/2,defaultPane/1,destroy/1,destroyOnClose/1,destroyOnClose/2,
+ direction/2,dock/1,dockable/1,dockable/2,fixed/1,float/1,floatable/1,
+ floatable/2,floatingPosition/2,floatingPosition/3,floatingSize/2,
+ floatingSize/3,gripper/1,gripper/2,gripperTop/1,gripperTop/2,hasBorder/1,
+ hasCaption/1,hasCloseButton/1,hasFlag/2,hasGripper/1,hasGripperTop/1,
+ hasMaximizeButton/1,hasMinimizeButton/1,hasPinButton/1,hide/1,isBottomDockable/1,
+ isDocked/1,isFixed/1,isFloatable/1,isFloating/1,isLeftDockable/1,isMovable/1,
+ isOk/1,isResizable/1,isRightDockable/1,isShown/1,isToolbar/1,isTopDockable/1,
+ layer/2,left/1,leftDockable/1,leftDockable/2,maxSize/2,maxSize/3,maximizeButton/1,
+ maximizeButton/2,minSize/2,minSize/3,minimizeButton/1,minimizeButton/2,
+ movable/1,movable/2,name/2,new/0,new/1,paneBorder/1,paneBorder/2,pinButton/1,
+ pinButton/2,position/2,resizable/1,resizable/2,right/1,rightDockable/1,
+ rightDockable/2,row/2,safeSet/2,setFlag/3,show/1,show/2,toolbarPane/1,
+ top/1,topDockable/1,topDockable/2,window/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfowxauipaneinfo">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxAuiPaneInfo_new_0,
+ <<>>).
+
+%% @spec (C::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfowxauipaneinfo">external documentation</a>.
+new(#wx_ref{type=CT,ref=CRef}) ->
+ ?CLASS(CT,wxAuiPaneInfo),
+ wxe_util:construct(?wxAuiPaneInfo_new_1,
+ <<CRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(),H::integer()}) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfobestsize">external documentation</a>.
+bestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_BestSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfobestsize">external documentation</a>.
+bestSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_BestSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfobottom">external documentation</a>.
+bottom(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Bottom,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv bottomDockable(This, [])
+bottomDockable(This)
+ when is_record(This, wx_ref) ->
+ bottomDockable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfobottomdockable">external documentation</a>.
+bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_BottomDockable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), C::string()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfocaption">external documentation</a>.
+caption(#wx_ref{type=ThisT,ref=ThisRef},C)
+ when is_list(C) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ C_UC = unicode:characters_to_binary([C,0]),
+ wxe_util:call(?wxAuiPaneInfo_Caption,
+ <<ThisRef:32/?UI,(byte_size(C_UC)):32/?UI,(C_UC)/binary, 0:(((8- ((0+byte_size(C_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv captionVisible(This, [])
+captionVisible(This)
+ when is_record(This, wx_ref) ->
+ captionVisible(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfocaptionvisible">external documentation</a>.
+captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_CaptionVisible,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfocentre">external documentation</a>.
+centre(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Centre,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfocentrepane">external documentation</a>.
+centrePane(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_CentrePane,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv closeButton(This, [])
+closeButton(This)
+ when is_record(This, wx_ref) ->
+ closeButton(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoclosebutton">external documentation</a>.
+closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_CloseButton,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfodefaultpane">external documentation</a>.
+defaultPane(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_DefaultPane,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv destroyOnClose(This, [])
+destroyOnClose(This)
+ when is_record(This, wx_ref) ->
+ destroyOnClose(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfodestroyonclose">external documentation</a>.
+destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_DestroyOnClose,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Direction::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfodirection">external documentation</a>.
+direction(#wx_ref{type=ThisT,ref=ThisRef},Direction)
+ when is_integer(Direction) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Direction,
+ <<ThisRef:32/?UI,Direction:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfodock">external documentation</a>.
+dock(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Dock,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv dockable(This, [])
+dockable(This)
+ when is_record(This, wx_ref) ->
+ dockable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfodockable">external documentation</a>.
+dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Dockable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofixed">external documentation</a>.
+fixed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Fixed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloat">external documentation</a>.
+float(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Float,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv floatable(This, [])
+floatable(This)
+ when is_record(This, wx_ref) ->
+ floatable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloatable">external documentation</a>.
+floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Floatable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Pos::{X::integer(),Y::integer()}) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloatingposition">external documentation</a>.
+floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_FloatingPosition_1,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloatingposition">external documentation</a>.
+floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_FloatingPosition_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(),H::integer()}) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloatingsize">external documentation</a>.
+floatingSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_FloatingSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfofloatingsize">external documentation</a>.
+floatingSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_FloatingSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv gripper(This, [])
+gripper(This)
+ when is_record(This, wx_ref) ->
+ gripper(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfogripper">external documentation</a>.
+gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Gripper,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv gripperTop(This, [])
+gripperTop(This)
+ when is_record(This, wx_ref) ->
+ gripperTop(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {attop, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfogrippertop">external documentation</a>.
+gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({attop, Attop}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Attop)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_GripperTop,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasborder">external documentation</a>.
+hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasBorder,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohascaption">external documentation</a>.
+hasCaption(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasCaption,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasclosebutton">external documentation</a>.
+hasCloseButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasCloseButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Flag::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasflag">external documentation</a>.
+hasFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_integer(Flag) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasFlag,
+ <<ThisRef:32/?UI,Flag:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasgripper">external documentation</a>.
+hasGripper(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasGripper,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasgrippertop">external documentation</a>.
+hasGripperTop(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasGripperTop,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasmaximizebutton">external documentation</a>.
+hasMaximizeButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasMaximizeButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohasminimizebutton">external documentation</a>.
+hasMinimizeButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasMinimizeButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohaspinbutton">external documentation</a>.
+hasPinButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_HasPinButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfohide">external documentation</a>.
+hide(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Hide,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisbottomdockable">external documentation</a>.
+isBottomDockable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsBottomDockable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisdocked">external documentation</a>.
+isDocked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsDocked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisfixed">external documentation</a>.
+isFixed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsFixed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisfloatable">external documentation</a>.
+isFloatable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsFloatable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisfloating">external documentation</a>.
+isFloating(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsFloating,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisleftdockable">external documentation</a>.
+isLeftDockable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsLeftDockable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoismovable">external documentation</a>.
+isMovable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsMovable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisresizable">external documentation</a>.
+isResizable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsResizable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisrightdockable">external documentation</a>.
+isRightDockable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsRightDockable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoisshown">external documentation</a>.
+isShown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsShown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoistoolbar">external documentation</a>.
+isToolbar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsToolbar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoistopdockable">external documentation</a>.
+isTopDockable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_IsTopDockable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Layer::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfolayer">external documentation</a>.
+layer(#wx_ref{type=ThisT,ref=ThisRef},Layer)
+ when is_integer(Layer) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Layer,
+ <<ThisRef:32/?UI,Layer:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoleft">external documentation</a>.
+left(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Left,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv leftDockable(This, [])
+leftDockable(This)
+ when is_record(This, wx_ref) ->
+ leftDockable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoleftdockable">external documentation</a>.
+leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_LeftDockable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(),H::integer()}) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfomaxsize">external documentation</a>.
+maxSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_MaxSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfomaxsize">external documentation</a>.
+maxSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_MaxSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv maximizeButton(This, [])
+maximizeButton(This)
+ when is_record(This, wx_ref) ->
+ maximizeButton(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfomaximizebutton">external documentation</a>.
+maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_MaximizeButton,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(),H::integer()}) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfominsize">external documentation</a>.
+minSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_MinSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfominsize">external documentation</a>.
+minSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_MinSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv minimizeButton(This, [])
+minimizeButton(This)
+ when is_record(This, wx_ref) ->
+ minimizeButton(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfominimizebutton">external documentation</a>.
+minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_MinimizeButton,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv movable(This, [])
+movable(This)
+ when is_record(This, wx_ref) ->
+ movable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfomovable">external documentation</a>.
+movable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Movable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), N::string()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoname">external documentation</a>.
+name(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_list(N) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ N_UC = unicode:characters_to_binary([N,0]),
+ wxe_util:call(?wxAuiPaneInfo_Name,
+ <<ThisRef:32/?UI,(byte_size(N_UC)):32/?UI,(N_UC)/binary, 0:(((8- ((0+byte_size(N_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv paneBorder(This, [])
+paneBorder(This)
+ when is_record(This, wx_ref) ->
+ paneBorder(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfopaneborder">external documentation</a>.
+paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_PaneBorder,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv pinButton(This, [])
+pinButton(This)
+ when is_record(This, wx_ref) ->
+ pinButton(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {visible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfopinbutton">external documentation</a>.
+pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({visible, Visible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_PinButton,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Pos::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoposition">external documentation</a>.
+position(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Position,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv resizable(This, [])
+resizable(This)
+ when is_record(This, wx_ref) ->
+ resizable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {resizable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinforesizable">external documentation</a>.
+resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({resizable, Resizable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Resizable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Resizable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinforight">external documentation</a>.
+right(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Right,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv rightDockable(This, [])
+rightDockable(This)
+ when is_record(This, wx_ref) ->
+ rightDockable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinforightdockable">external documentation</a>.
+rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_RightDockable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), Row::integer()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinforow">external documentation</a>.
+row(#wx_ref{type=ThisT,ref=ThisRef},Row)
+ when is_integer(Row) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Row,
+ <<ThisRef:32/?UI,Row:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Source::wxAuiPaneInfo()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfosafeset">external documentation</a>.
+safeSet(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SourceT,ref=SourceRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ ?CLASS(SourceT,wxAuiPaneInfo),
+ wxe_util:cast(?wxAuiPaneInfo_SafeSet,
+ <<ThisRef:32/?UI,SourceRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo(), Flag::integer(), Option_state::bool()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfosetflag">external documentation</a>.
+setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag,Option_state)
+ when is_integer(Flag),is_boolean(Option_state) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_SetFlag,
+ <<ThisRef:32/?UI,Flag:32/?UI,(wxe_util:from_bool(Option_state)):32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv show(This, [])
+show(This)
+ when is_record(This, wx_ref) ->
+ show(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {show, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfoshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_Show,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfotoolbarpane">external documentation</a>.
+toolbarPane(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_ToolbarPane,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfotop">external documentation</a>.
+top(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ wxe_util:call(?wxAuiPaneInfo_Top,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo()
+%% @equiv topDockable(This, [])
+topDockable(This)
+ when is_record(This, wx_ref) ->
+ topDockable(This, []).
+
+%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo()
+%% Option = {b, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfotopdockable">external documentation</a>.
+topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ MOpts = fun({b, B}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(B)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxAuiPaneInfo_TopDockable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxAuiPaneInfo(), W::wxWindow:wxWindow()) -> wxAuiPaneInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauipaneinfo.html#wxauipaneinfowindow">external documentation</a>.
+window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) ->
+ ?CLASS(ThisT,wxAuiPaneInfo),
+ ?CLASS(WT,wxWindow),
+ wxe_util:call(?wxAuiPaneInfo_Window,
+ <<ThisRef:32/?UI,WRef:32/?UI>>).
+
+%% @spec (This::wxAuiPaneInfo()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxAuiPaneInfo),
+ wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxAuiTabArt.erl b/lib/wx/src/gen/wxAuiTabArt.erl
new file mode 100644
index 0000000000..354ab611d0
--- /dev/null
+++ b/lib/wx/src/gen/wxAuiTabArt.erl
@@ -0,0 +1,34 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxauitabart.html">wxAuiTabArt</a>.
+%% @type wxAuiTabArt(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxAuiTabArt).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
diff --git a/lib/wx/src/gen/wxBitmap.erl b/lib/wx/src/gen/wxBitmap.erl
new file mode 100644
index 0000000000..930d87198c
--- /dev/null
+++ b/lib/wx/src/gen/wxBitmap.erl
@@ -0,0 +1,299 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html">wxBitmap</a>.
+%% @type wxBitmap(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBitmap).
+-include("wxe.hrl").
+-export([convertToImage/1,copyFromIcon/2,create/3,create/4,destroy/1,getDepth/1,
+ getHeight/1,getMask/1,getPalette/1,getSubBitmap/2,getWidth/1,loadFile/2,
+ loadFile/3,new/0,new/1,new/2,new/3,new/4,ok/1,saveFile/3,saveFile/4,setDepth/2,
+ setHeight/2,setMask/2,setPalette/2,setWidth/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxBitmap_new_0,
+ <<>>).
+
+%% @spec (X::string()|term()) -> wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Filename::string()) -> new(Filename, []) </c></p>
+%% <p><c>
+%% new(Image::wxImage:wxImage()) -> new(Image, []) </c></p>
+
+new(Filename)
+ when is_list(Filename) ->
+ new(Filename, []);
+
+new(Image)
+ when is_record(Image, wx_ref) ->
+ new(Image, []).
+
+%% @spec (X::integer()|string()|term(),X::integer()|term()) -> wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Width::integer(), Height::integer()) -> new(Width,Height, []) </c></p>
+%% <p><c>
+%% new(Filename::string(), [Option]) -> wxBitmap() </c>
+%%<br /> Option = {type, WxBitmapType}
+%%<br /> WxBitmapType = integer()
+%%<br /> WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
+%% </p>
+%% <p><c>
+%% new(Image::wxImage:wxImage(), [Option]) -> wxBitmap() </c>
+%%<br /> Option = {depth, integer()}
+%% </p>
+
+new(Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ new(Width,Height, []);
+new(Filename, Options)
+ when is_list(Filename),is_list(Options) ->
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmap_new_2_0,
+ <<(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((4+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>);
+new(#wx_ref{type=ImageT,ref=ImageRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ImageT,wxImage),
+ MOpts = fun({depth, Depth}, Acc) -> [<<1:32/?UI,Depth:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmap_new_2_1,
+ <<ImageRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (X::binary()|integer(),X::integer(),X::integer()|term()) -> wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Bits::binary(), Width::integer(), Height::integer()) -> new(Bits,Width,Height, []) </c></p>
+%% <p><c>
+%% new(Width::integer(), Height::integer(), [Option]) -> wxBitmap() </c>
+%%<br /> Option = {depth, integer()}
+%% </p>
+
+new(Bits,Width,Height)
+ when is_binary(Bits),is_integer(Width),is_integer(Height) ->
+ new(Bits,Width,Height, []);
+new(Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ MOpts = fun({depth, Depth}, Acc) -> [<<1:32/?UI,Depth:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmap_new_3,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (Bits::binary(), Width::integer(), Height::integer(), [Option]) -> wxBitmap()
+%% Option = {depth, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapwxbitmap">external documentation</a>.
+new(Bits,Width,Height, Options)
+ when is_binary(Bits),is_integer(Width),is_integer(Height),is_list(Options) ->
+ wxe_util:send_bin(Bits),
+ MOpts = fun({depth, Depth}, Acc) -> [<<1:32/?UI,Depth:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmap_new_4,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxBitmap()) -> wxImage:wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapconverttoimage">external documentation</a>.
+convertToImage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_ConvertToImage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Icon::wxIcon:wxIcon()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapcopyfromicon">external documentation</a>.
+copyFromIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ ?CLASS(IconT,wxIcon),
+ wxe_util:call(?wxBitmap_CopyFromIcon,
+ <<ThisRef:32/?UI,IconRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Width::integer(), Height::integer()) -> bool()
+%% @equiv create(This,Width,Height, [])
+create(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ create(This,Width,Height, []).
+
+%% @spec (This::wxBitmap(), Width::integer(), Height::integer(), [Option]) -> bool()
+%% Option = {depth, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxBitmap),
+ MOpts = fun({depth, Depth}, Acc) -> [<<1:32/?UI,Depth:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxBitmap_Create,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxBitmap()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetdepth">external documentation</a>.
+getDepth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetDepth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetheight">external documentation</a>.
+getHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap()) -> wxPalette:wxPalette()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetpalette">external documentation</a>.
+getPalette(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetPalette,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap()) -> wxMask:wxMask()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetmask">external documentation</a>.
+getMask(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetMask,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetwidth">external documentation</a>.
+getWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapgetsubbitmap">external documentation</a>.
+getSubBitmap(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_GetSubBitmap,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Name::string()) -> bool()
+%% @equiv loadFile(This,Name, [])
+loadFile(This,Name)
+ when is_record(This, wx_ref),is_list(Name) ->
+ loadFile(This,Name, []).
+
+%% @spec (This::wxBitmap(), Name::string(), [Option]) -> bool()
+%% Option = {type, WxBitmapType}
+%% WxBitmapType = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmaploadfile">external documentation</a>.
+%%<br /> WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options)
+ when is_list(Name),is_list(Options) ->
+ ?CLASS(ThisT,wxBitmap),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxBitmap_LoadFile,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxBitmap()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapok">external documentation</a>.
+ok(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:call(?wxBitmap_Ok,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Name::string(), Type::WxBitmapType) -> bool()
+%% @equiv saveFile(This,Name,Type, [])
+saveFile(This,Name,Type)
+ when is_record(This, wx_ref),is_list(Name),is_integer(Type) ->
+ saveFile(This,Name,Type, []).
+
+%% @spec (This::wxBitmap(), Name::string(), Type::WxBitmapType, [Option]) -> bool()
+%% Option = {palette, wxPalette:wxPalette()}
+%% WxBitmapType = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsavefile">external documentation</a>.
+%%<br /> WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
+saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type, Options)
+ when is_list(Name),is_integer(Type),is_list(Options) ->
+ ?CLASS(ThisT,wxBitmap),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({palette, #wx_ref{type=PaletteT,ref=PaletteRef}}, Acc) -> ?CLASS(PaletteT,wxPalette),[<<1:32/?UI,PaletteRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxBitmap_SaveFile,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,Type:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxBitmap(), Depth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsetdepth">external documentation</a>.
+setDepth(#wx_ref{type=ThisT,ref=ThisRef},Depth)
+ when is_integer(Depth) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:cast(?wxBitmap_SetDepth,
+ <<ThisRef:32/?UI,Depth:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsetheight">external documentation</a>.
+setHeight(#wx_ref{type=ThisT,ref=ThisRef},Height)
+ when is_integer(Height) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:cast(?wxBitmap_SetHeight,
+ <<ThisRef:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Mask::wxMask:wxMask()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsetmask">external documentation</a>.
+setMask(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ ?CLASS(MaskT,wxMask),
+ wxe_util:cast(?wxBitmap_SetMask,
+ <<ThisRef:32/?UI,MaskRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Palette::wxPalette:wxPalette()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsetpalette">external documentation</a>.
+setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) ->
+ ?CLASS(ThisT,wxBitmap),
+ ?CLASS(PaletteT,wxPalette),
+ wxe_util:cast(?wxBitmap_SetPalette,
+ <<ThisRef:32/?UI,PaletteRef:32/?UI>>).
+
+%% @spec (This::wxBitmap(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmap.html#wxbitmapsetwidth">external documentation</a>.
+setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxBitmap),
+ wxe_util:cast(?wxBitmap_SetWidth,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxBitmap()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBitmap),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxBitmapButton.erl b/lib/wx/src/gen/wxBitmapButton.erl
new file mode 100644
index 0000000000..78d43d4918
--- /dev/null
+++ b/lib/wx/src/gen/wxBitmapButton.erl
@@ -0,0 +1,564 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html">wxBitmapButton</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxButton}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxBitmapButton(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBitmapButton).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getBitmapDisabled/1,getBitmapFocus/1,getBitmapLabel/1,
+ getBitmapSelected/1,new/0,new/3,new/4,setBitmapDisabled/2,setBitmapFocus/2,
+ setBitmapLabel/2,setBitmapSelected/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDefault/1,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxButton) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxBitmapButton()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonwxbitmapbutton">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxBitmapButton_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap()) -> wxBitmapButton()
+%% @equiv new(Parent,Id,Bitmap, [])
+new(Parent,Id,Bitmap)
+ when is_record(Parent, wx_ref),is_integer(Id),is_record(Bitmap, wx_ref) ->
+ new(Parent,Id,Bitmap, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wxBitmapButton()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonwxbitmapbutton">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmapButton_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool()
+%% @equiv create(This,Parent,Id,Bitmap, [])
+create(This,Parent,Id,Bitmap)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_record(Bitmap, wx_ref) ->
+ create(This,Parent,Id,Bitmap, []).
+
+%% @spec (This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttoncreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxBitmapButton_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,BitmapRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttongetbitmapdisabled">external documentation</a>.
+getBitmapDisabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ wxe_util:call(?wxBitmapButton_GetBitmapDisabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttongetbitmapfocus">external documentation</a>.
+getBitmapFocus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ wxe_util:call(?wxBitmapButton_GetBitmapFocus,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttongetbitmaplabel">external documentation</a>.
+getBitmapLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ wxe_util:call(?wxBitmapButton_GetBitmapLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttongetbitmapselected">external documentation</a>.
+getBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ wxe_util:call(?wxBitmapButton_GetBitmapSelected,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton(), Disabled::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonsetbitmapdisabled">external documentation</a>.
+setBitmapDisabled(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DisabledT,ref=DisabledRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ ?CLASS(DisabledT,wxBitmap),
+ wxe_util:cast(?wxBitmapButton_SetBitmapDisabled,
+ <<ThisRef:32/?UI,DisabledRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton(), Focus::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonsetbitmapfocus">external documentation</a>.
+setBitmapFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FocusT,ref=FocusRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ ?CLASS(FocusT,wxBitmap),
+ wxe_util:cast(?wxBitmapButton_SetBitmapFocus,
+ <<ThisRef:32/?UI,FocusRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton(), Bitmap::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonsetbitmaplabel">external documentation</a>.
+setBitmapLabel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:cast(?wxBitmapButton_SetBitmapLabel,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton(), Sel::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapbutton.html#wxbitmapbuttonsetbitmapselected">external documentation</a>.
+setBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SelT,ref=SelRef}) ->
+ ?CLASS(ThisT,wxBitmapButton),
+ ?CLASS(SelT,wxBitmap),
+ wxe_util:cast(?wxBitmapButton_SetBitmapSelected,
+ <<ThisRef:32/?UI,SelRef:32/?UI>>).
+
+%% @spec (This::wxBitmapButton()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBitmapButton),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxButton
+%% @hidden
+setLabel(This,Label) -> wxButton:setLabel(This,Label).
+%% @hidden
+setDefault(This) -> wxButton:setDefault(This).
+ %% From wxControl
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl
new file mode 100644
index 0000000000..7c7f6a20b0
--- /dev/null
+++ b/lib/wx/src/gen/wxBitmapDataObject.erl
@@ -0,0 +1,87 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapdataobject.html">wxBitmapDataObject</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDataObject}
+%% </p>
+%% @type wxBitmapDataObject(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBitmapDataObject).
+-include("wxe.hrl").
+-export([destroy/1,getBitmap/1,new/0,new/1,setBitmap/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(wxDataObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxBitmapDataObject()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec (X::term()) -> wxBitmapDataObject()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapdataobject.html#wxbitmapdataobjectwxbitmapdataobject">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new([Option]) -> wxBitmapDataObject() </c>
+%%<br /> Option = {bitmap, wxBitmap:wxBitmap()}
+%% </p>
+%% <p><c>
+%% new(Bitmap::wxBitmap:wxBitmap()) -> wxBitmapDataObject() </c>
+%% </p>
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({bitmap, #wx_ref{type=BitmapT,ref=BitmapRef}}, Acc) -> ?CLASS(BitmapT,wxBitmap),[<<1:32/?UI,BitmapRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBitmapDataObject_new_1_0,
+ <<BinOpt/binary>>);
+new(#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:construct(?wxBitmapDataObject_new_1_1,
+ <<BitmapRef:32/?UI>>).
+
+%% @spec (This::wxBitmapDataObject()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapdataobject.html#wxbitmapdataobjectgetbitmap">external documentation</a>.
+getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBitmapDataObject),
+ wxe_util:call(?wxBitmapDataObject_GetBitmap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBitmapDataObject(), Bitmap::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbitmapdataobject.html#wxbitmapdataobjectsetbitmap">external documentation</a>.
+setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxBitmapDataObject),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:cast(?wxBitmapDataObject_SetBitmap,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxBitmapDataObject()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBitmapDataObject),
+ wxe_util:destroy(?wxBitmapDataObject_destroy,Obj),
+ ok.
+ %% From wxDataObject
diff --git a/lib/wx/src/gen/wxBoxSizer.erl b/lib/wx/src/gen/wxBoxSizer.erl
new file mode 100644
index 0000000000..3599cd11b6
--- /dev/null
+++ b/lib/wx/src/gen/wxBoxSizer.erl
@@ -0,0 +1,161 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxboxsizer.html">wxBoxSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxBoxSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBoxSizer).
+-include("wxe.hrl").
+-export([destroy/1,getOrientation/1,new/1]).
+
+%% inherited exports
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getItem/2,
+ getItem/3,getMinSize/1,getPosition/1,getSize/1,hide/2,hide/3,insert/3,
+ insert/4,insert/5,insertSpacer/3,insertStretchSpacer/2,insertStretchSpacer/3,
+ isShown/2,layout/1,parent_class/1,prepend/2,prepend/3,prepend/4,prependSpacer/2,
+ prependStretchSpacer/1,prependStretchSpacer/2,recalcSizes/1,remove/2,
+ replace/3,replace/4,setDimension/5,setItemMinSize/3,setItemMinSize/4,
+ setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,show/2,
+ show/3]).
+
+%% @hidden
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Orient::integer()) -> wxBoxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxboxsizer.html#wxboxsizerwxboxsizer">external documentation</a>.
+new(Orient)
+ when is_integer(Orient) ->
+ wxe_util:construct(?wxBoxSizer_new,
+ <<Orient:32/?UI>>).
+
+%% @spec (This::wxBoxSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxboxsizer.html#wxboxsizergetorientation">external documentation</a>.
+getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBoxSizer),
+ wxe_util:call(?wxBoxSizer_GetOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBoxSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBoxSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+calcMin(This) -> wxSizer:calcMin(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
+%% @hidden
+add(This,Width,Height, Options) -> wxSizer:add(This,Width,Height, Options).
+%% @hidden
+add(This,Width,Height) -> wxSizer:add(This,Width,Height).
+%% @hidden
+add(This,Window) -> wxSizer:add(This,Window).
diff --git a/lib/wx/src/gen/wxBrush.erl b/lib/wx/src/gen/wxBrush.erl
new file mode 100644
index 0000000000..2a5f184ce6
--- /dev/null
+++ b/lib/wx/src/gen/wxBrush.erl
@@ -0,0 +1,142 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html">wxBrush</a>.
+%% @type wxBrush(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBrush).
+-include("wxe.hrl").
+-export([destroy/1,getColour/1,getStipple/1,getStyle/1,isHatch/1,isOk/1,new/0,
+ new/1,new/2,setColour/2,setColour/4,setStipple/2,setStyle/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushwxbrush">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxBrush_new_0,
+ <<>>).
+
+%% @spec (X::term()) -> wxBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushwxbrush">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Colour::wx:colour()) -> new(Colour, []) </c></p>
+%% <p><c>
+%% new(StippleBitmap::wxBitmap:wxBitmap()) -> wxBrush() </c>
+%% </p>
+
+new(Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ new(Colour, []);
+new(#wx_ref{type=StippleBitmapT,ref=StippleBitmapRef}) ->
+ ?CLASS(StippleBitmapT,wxBitmap),
+ wxe_util:construct(?wxBrush_new_1,
+ <<StippleBitmapRef:32/?UI>>).
+
+%% @spec (Colour::wx:colour(), [Option]) -> wxBrush()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushwxbrush">external documentation</a>.
+new(Colour, Options)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4,is_list(Options) ->
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBrush_new_2,
+ <<(wxe_util:colour_bin(Colour)):16/binary, BinOpt/binary>>).
+
+%% @spec (This::wxBrush()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushgetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:call(?wxBrush_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBrush()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushgetstipple">external documentation</a>.
+getStipple(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:call(?wxBrush_GetStipple,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBrush()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushgetstyle">external documentation</a>.
+getStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:call(?wxBrush_GetStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBrush()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushishatch">external documentation</a>.
+isHatch(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:call(?wxBrush_IsHatch,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBrush()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:call(?wxBrush_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxBrush(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushsetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:cast(?wxBrush_SetColour_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxBrush(), R::integer(), G::integer(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushsetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},R,G,B)
+ when is_integer(R),is_integer(G),is_integer(B) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:cast(?wxBrush_SetColour_3,
+ <<ThisRef:32/?UI,R:32/?UI,G:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxBrush(), Stipple::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushsetstipple">external documentation</a>.
+setStipple(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StippleT,ref=StippleRef}) ->
+ ?CLASS(ThisT,wxBrush),
+ ?CLASS(StippleT,wxBitmap),
+ wxe_util:cast(?wxBrush_SetStipple,
+ <<ThisRef:32/?UI,StippleRef:32/?UI>>).
+
+%% @spec (This::wxBrush(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbrush.html#wxbrushsetstyle">external documentation</a>.
+setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxBrush),
+ wxe_util:cast(?wxBrush_SetStyle,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxBrush()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBrush),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxBufferedDC.erl b/lib/wx/src/gen/wxBufferedDC.erl
new file mode 100644
index 0000000000..b99822040d
--- /dev/null
+++ b/lib/wx/src/gen/wxBufferedDC.erl
@@ -0,0 +1,348 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html">wxBufferedDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxMemoryDC}
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxBufferedDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBufferedDC).
+-include("wxe.hrl").
+-export([destroy/1,init/2,init/3,init/4,new/0,new/1,new/2,new/3]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ selectObject/2,selectObjectAsSource/2,setAxisOrientation/3,setBackground/2,
+ setBackgroundMode/2,setBrush/2,setClippingRegion/2,setClippingRegion/3,
+ setDeviceOrigin/3,setFont/2,setLayoutDirection/2,setLogicalFunction/2,
+ setMapMode/2,setPalette/2,setPen/2,setTextBackground/2,setTextForeground/2,
+ setUserScale/3,startDoc/2,startPage/1]).
+
+%% @hidden
+parent_class(wxMemoryDC) -> true;
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxBufferedDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html#wxbuffereddcwxbuffereddc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxBufferedDC_new_0,
+ <<>>).
+
+%% @spec (Dc::wxDC:wxDC()) -> wxBufferedDC()
+%% @equiv new(Dc, [])
+new(Dc)
+ when is_record(Dc, wx_ref) ->
+ new(Dc, []).
+
+%% @spec (Dc::wxDC:wxDC(),X::term()) -> wxBufferedDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html#wxbuffereddcwxbuffereddc">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}) -> new(Dc,Area, []) </c></p>
+%% <p><c>
+%% new(Dc::wxDC:wxDC(), [Option]) -> wxBufferedDC() </c>
+%%<br /> Option = {buffer, wxBitmap:wxBitmap()} | {style, integer()}
+%% </p>
+
+new(Dc,Area={AreaW,AreaH})
+ when is_record(Dc, wx_ref),is_integer(AreaW),is_integer(AreaH) ->
+ new(Dc,Area, []);
+new(#wx_ref{type=DcT,ref=DcRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(DcT,wxDC),
+ MOpts = fun({buffer, #wx_ref{type=BufferT,ref=BufferRef}}, Acc) -> ?CLASS(BufferT,wxBitmap),[<<1:32/?UI,BufferRef:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBufferedDC_new_2,
+ <<DcRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}, [Option]) -> wxBufferedDC()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html#wxbuffereddcwxbuffereddc">external documentation</a>.
+new(#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, Options)
+ when is_integer(AreaW),is_integer(AreaH),is_list(Options) ->
+ ?CLASS(DcT,wxDC),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBufferedDC_new_3,
+ <<DcRef:32/?UI,AreaW:32/?UI,AreaH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxBufferedDC(), Dc::wxDC:wxDC()) -> ok
+%% @equiv init(This,Dc, [])
+init(This,Dc)
+ when is_record(This, wx_ref),is_record(Dc, wx_ref) ->
+ init(This,Dc, []).
+
+%% @spec (This::wxBufferedDC(),Dc::wxDC:wxDC(),X::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html#wxbuffereddcinit">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% init(This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}) -> init(This,Dc,Area, []) </c></p>
+%% <p><c>
+%% init(This::wxBufferedDC(), Dc::wxDC:wxDC(), [Option]) -> ok </c>
+%%<br /> Option = {buffer, wxBitmap:wxBitmap()} | {style, integer()}
+%% </p>
+
+init(This,Dc,Area={AreaW,AreaH})
+ when is_record(This, wx_ref),is_record(Dc, wx_ref),is_integer(AreaW),is_integer(AreaH) ->
+ init(This,Dc,Area, []);
+init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxBufferedDC),
+ ?CLASS(DcT,wxDC),
+ MOpts = fun({buffer, #wx_ref{type=BufferT,ref=BufferRef}}, Acc) -> ?CLASS(BufferT,wxBitmap),[<<1:32/?UI,BufferRef:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxBufferedDC_Init_2,
+ <<ThisRef:32/?UI,DcRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(),H::integer()}, [Option]) -> ok
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbuffereddc.html#wxbuffereddcinit">external documentation</a>.
+init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, Options)
+ when is_integer(AreaW),is_integer(AreaH),is_list(Options) ->
+ ?CLASS(ThisT,wxBufferedDC),
+ ?CLASS(DcT,wxDC),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxBufferedDC_Init_3,
+ <<ThisRef:32/?UI,DcRef:32/?UI,AreaW:32/?UI,AreaH:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxBufferedDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBufferedDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxMemoryDC
+%% @hidden
+selectObjectAsSource(This,Bmp) -> wxMemoryDC:selectObjectAsSource(This,Bmp).
+%% @hidden
+selectObject(This,Bmp) -> wxMemoryDC:selectObject(This,Bmp).
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl
new file mode 100644
index 0000000000..5674712055
--- /dev/null
+++ b/lib/wx/src/gen/wxBufferedPaintDC.erl
@@ -0,0 +1,309 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbufferedpaintdc.html">wxBufferedPaintDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxBufferedDC}
+%% <br />{@link wxMemoryDC}
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxBufferedPaintDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxBufferedPaintDC).
+-include("wxe.hrl").
+-export([destroy/1,new/1,new/2,new/3]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ init/2,init/3,init/4,isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,
+ logicalToDeviceY/2,logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,
+ parent_class/1,resetBoundingBox/1,selectObject/2,selectObjectAsSource/2,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxBufferedDC) -> true;
+parent_class(wxMemoryDC) -> true;
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Window::wxWindow:wxWindow()) -> wxBufferedPaintDC()
+%% @equiv new(Window, [])
+new(Window)
+ when is_record(Window, wx_ref) ->
+ new(Window, []).
+
+%% @spec (Window::wxWindow:wxWindow(),X::term()) -> wxBufferedPaintDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbufferedpaintdc.html#wxbufferedpaintdcwxbufferedpaintdc">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap()) -> new(Window,Buffer, []) </c></p>
+%% <p><c>
+%% new(Window::wxWindow:wxWindow(), [Option]) -> wxBufferedPaintDC() </c>
+%%<br /> Option = {style, integer()}
+%% </p>
+
+new(Window,Buffer)
+ when is_record(Window, wx_ref),is_record(Buffer, wx_ref) ->
+ new(Window,Buffer, []);
+new(#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(WindowT,wxWindow),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBufferedPaintDC_new_2,
+ <<WindowRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap(), [Option]) -> wxBufferedPaintDC()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbufferedpaintdc.html#wxbufferedpaintdcwxbufferedpaintdc">external documentation</a>.
+new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=BufferT,ref=BufferRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(WindowT,wxWindow),
+ ?CLASS(BufferT,wxBitmap),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxBufferedPaintDC_new_3,
+ <<WindowRef:32/?UI,BufferRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxBufferedPaintDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxBufferedPaintDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxBufferedDC
+%% @hidden
+init(This,Dc,Area, Options) -> wxBufferedDC:init(This,Dc,Area, Options).
+%% @hidden
+init(This,Dc,Area) -> wxBufferedDC:init(This,Dc,Area).
+%% @hidden
+init(This,Dc) -> wxBufferedDC:init(This,Dc).
+ %% From wxMemoryDC
+%% @hidden
+selectObjectAsSource(This,Bmp) -> wxMemoryDC:selectObjectAsSource(This,Bmp).
+%% @hidden
+selectObject(This,Bmp) -> wxMemoryDC:selectObject(This,Bmp).
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxButton.erl b/lib/wx/src/gen/wxButton.erl
new file mode 100644
index 0000000000..261a961063
--- /dev/null
+++ b/lib/wx/src/gen/wxButton.erl
@@ -0,0 +1,518 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html">wxButton</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxButton(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxButton).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getDefaultSize/0,new/0,new/2,new/3,setDefault/1,
+ setLabel/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setMaxSize/2,setMinSize/2,
+ setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxButton()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttonwxbutton">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxButton_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxButton()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxButton()
+%% Option = {label, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttonwxbutton">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({label, Label}, Acc) -> Label_UC = unicode:characters_to_binary([Label,0]),[<<1:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxButton_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {label, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttoncreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxButton),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({label, Label}, Acc) -> Label_UC = unicode:characters_to_binary([Label,0]),[<<1:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxButton_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec () -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttongetdefaultsize">external documentation</a>.
+getDefaultSize() ->
+ wxe_util:call(?wxButton_GetDefaultSize,
+ <<>>).
+
+%% @spec (This::wxButton()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttonsetdefault">external documentation</a>.
+setDefault(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxButton),
+ wxe_util:cast(?wxButton_SetDefault,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxButton(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxbutton.html#wxbuttonsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label)
+ when is_list(Label) ->
+ ?CLASS(ThisT,wxButton),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxButton_SetLabel,
+ <<ThisRef:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxButton()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxButton),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxCalendarCtrl.erl b/lib/wx/src/gen/wxCalendarCtrl.erl
new file mode 100644
index 0000000000..5b87ac54e4
--- /dev/null
+++ b/lib/wx/src/gen/wxCalendarCtrl.erl
@@ -0,0 +1,680 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html">wxCalendarCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxCalendarCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCalendarCtrl).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,enableHolidayDisplay/1,enableHolidayDisplay/2,
+ enableMonthChange/1,enableMonthChange/2,enableYearChange/1,enableYearChange/2,
+ getAttr/2,getDate/1,getHeaderColourBg/1,getHeaderColourFg/1,getHighlightColourBg/1,
+ getHighlightColourFg/1,getHolidayColourBg/1,getHolidayColourFg/1,
+ hitTest/2,new/0,new/2,new/3,resetAttr/2,setAttr/3,setDate/2,setHeaderColours/3,
+ setHighlightColours/3,setHoliday/2,setHolidayColours/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxCalendarCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlwxcalendarctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxCalendarCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxCalendarCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxCalendarCtrl()
+%% Option = {date, wx:datetime()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlwxcalendarctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({date, Date}, Acc) -> [<<1:32/?UI,(wxe_util:datetime_bin(Date)):24/binary,0:32>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCalendarCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {date, wx:datetime()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({date, Date}, Acc) -> [<<1:32/?UI,(wxe_util:datetime_bin(Date)):24/binary,0:32>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxCalendarCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxCalendarCtrl(), Date::wx:datetime()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsetdate">external documentation</a>.
+setDate(#wx_ref{type=ThisT,ref=ThisRef},Date)
+ when tuple_size(Date) =:= 2 ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_SetDate,
+ <<ThisRef:32/?UI,(wxe_util:datetime_bin(Date)):24/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:datetime()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetdate">external documentation</a>.
+getDate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetDate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl()) -> ok
+%% @equiv enableYearChange(This, [])
+enableYearChange(This)
+ when is_record(This, wx_ref) ->
+ enableYearChange(This, []).
+
+%% @spec (This::wxCalendarCtrl(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlenableyearchange">external documentation</a>.
+enableYearChange(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCalendarCtrl_EnableYearChange,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> ok
+%% @equiv enableMonthChange(This, [])
+enableMonthChange(This)
+ when is_record(This, wx_ref) ->
+ enableMonthChange(This, []).
+
+%% @spec (This::wxCalendarCtrl(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlenablemonthchange">external documentation</a>.
+enableMonthChange(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCalendarCtrl_EnableMonthChange,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> ok
+%% @equiv enableHolidayDisplay(This, [])
+enableHolidayDisplay(This)
+ when is_record(This, wx_ref) ->
+ enableHolidayDisplay(This, []).
+
+%% @spec (This::wxCalendarCtrl(), [Option]) -> ok
+%% Option = {display, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlenableholidaydisplay">external documentation</a>.
+enableHolidayDisplay(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ MOpts = fun({display, Display}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Display)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCalendarCtrl_EnableHolidayDisplay,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsetheadercolours">external documentation</a>.
+setHeaderColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg)
+ when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:cast(?wxCalendarCtrl_SetHeaderColours,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColFg)):16/binary,(wxe_util:colour_bin(ColBg)):16/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetheadercolourfg">external documentation</a>.
+getHeaderColourFg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHeaderColourFg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetheadercolourbg">external documentation</a>.
+getHeaderColourBg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHeaderColourBg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsethighlightcolours">external documentation</a>.
+setHighlightColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg)
+ when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:cast(?wxCalendarCtrl_SetHighlightColours,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColFg)):16/binary,(wxe_util:colour_bin(ColBg)):16/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgethighlightcolourfg">external documentation</a>.
+getHighlightColourFg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHighlightColourFg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgethighlightcolourbg">external documentation</a>.
+getHighlightColourBg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHighlightColourBg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsetholidaycolours">external documentation</a>.
+setHolidayColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg)
+ when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:cast(?wxCalendarCtrl_SetHolidayColours,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColFg)):16/binary,(wxe_util:colour_bin(ColBg)):16/binary>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetholidaycolourfg">external documentation</a>.
+getHolidayColourFg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHolidayColourFg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetholidaycolourbg">external documentation</a>.
+getHolidayColourBg(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetHolidayColourBg,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), Day::integer()) -> wxCalendarDateAttr:wxCalendarDateAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlgetattr">external documentation</a>.
+getAttr(#wx_ref{type=ThisT,ref=ThisRef},Day)
+ when is_integer(Day) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_GetAttr,
+ <<ThisRef:32/?UI,Day:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), Day::integer(), Attr::wxCalendarDateAttr:wxCalendarDateAttr()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsetattr">external documentation</a>.
+setAttr(#wx_ref{type=ThisT,ref=ThisRef},Day,#wx_ref{type=AttrT,ref=AttrRef})
+ when is_integer(Day) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ ?CLASS(AttrT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarCtrl_SetAttr,
+ <<ThisRef:32/?UI,Day:32/?UI,AttrRef:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), Day::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlsetholiday">external documentation</a>.
+setHoliday(#wx_ref{type=ThisT,ref=ThisRef},Day)
+ when is_integer(Day) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:cast(?wxCalendarCtrl_SetHoliday,
+ <<ThisRef:32/?UI,Day:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), Day::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlresetattr">external documentation</a>.
+resetAttr(#wx_ref{type=ThisT,ref=ThisRef},Day)
+ when is_integer(Day) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:cast(?wxCalendarCtrl_ResetAttr,
+ <<ThisRef:32/?UI,Day:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl(), Pos::{X::integer(),Y::integer()}) -> {WxCalendarHitTestResult,Date::wx:datetime(),Wd::WeekDay}
+%% WxCalendarHitTestResult = integer()
+%% WeekDay = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarctrl.html#wxcalendarctrlhittest">external documentation</a>.
+%%<br /> WxCalendarHitTestResult is one of ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK
+%%<br /> WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxCalendarCtrl),
+ wxe_util:call(?wxCalendarCtrl_HitTest,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxCalendarCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCalendarCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl
new file mode 100644
index 0000000000..197e0eb996
--- /dev/null
+++ b/lib/wx/src/gen/wxCalendarDateAttr.erl
@@ -0,0 +1,227 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html">wxCalendarDateAttr</a>.
+%% @type wxCalendarDateAttr(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCalendarDateAttr).
+-include("wxe.hrl").
+-export([destroy/1,getBackgroundColour/1,getBorder/1,getBorderColour/1,getFont/1,
+ getTextColour/1,hasBackgroundColour/1,hasBorder/1,hasBorderColour/1,
+ hasFont/1,hasTextColour/1,isHoliday/1,new/0,new/1,new/2,setBackgroundColour/2,
+ setBorder/2,setBorderColour/2,setFont/2,setHoliday/2,setTextColour/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxCalendarDateAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrwxcalendardateattr">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxCalendarDateAttr_new_0,
+ <<>>).
+
+%% @spec (X::WxCalendarDateBorder|term()) -> wxCalendarDateAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrwxcalendardateattr">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Border::WxCalendarDateBorder) -> new(Border, []) </c></p>
+%% <p><c>
+%% new(ColText::wx:colour()) -> new(ColText, []) </c></p>
+
+new(Border)
+ when is_integer(Border) ->
+ new(Border, []);
+
+new(ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ new(ColText, []).
+
+%% @spec (X::WxCalendarDateBorder|term(),[Option]) -> wxCalendarDateAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrwxcalendardateattr">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Border::WxCalendarDateBorder, [Option]) -> wxCalendarDateAttr() </c>
+%%<br /> Option = {colBorder, wx:colour()}
+%%<br /> WxCalendarDateBorder = integer()
+%%<br /> WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND
+%% </p>
+%% <p><c>
+%% new(ColText::wx:colour(), [Option]) -> wxCalendarDateAttr() </c>
+%%<br /> Option = {colBack, wx:colour()} | {colBorder, wx:colour()} | {font, wxFont:wxFont()} | {border, WxCalendarDateBorder}
+%%<br /> WxCalendarDateBorder = integer()
+%%<br /> WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND
+%% </p>
+new(Border, Options)
+ when is_integer(Border),is_list(Options) ->
+ MOpts = fun({colBorder, ColBorder}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(ColBorder)):16/binary,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCalendarDateAttr_new_2_0,
+ <<Border:32/?UI, 0:32,BinOpt/binary>>);
+new(ColText, Options)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4,is_list(Options) ->
+ MOpts = fun({colBack, ColBack}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary,0:32>>|Acc];
+ ({colBorder, ColBorder}, Acc) -> [<<2:32/?UI,(wxe_util:colour_bin(ColBorder)):16/binary,0:32>>|Acc];
+ ({font, #wx_ref{type=FontT,ref=FontRef}}, Acc) -> ?CLASS(FontT,wxFont),[<<3:32/?UI,FontRef:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<4:32/?UI,Border:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCalendarDateAttr_new_2_1,
+ <<(wxe_util:colour_bin(ColText)):16/binary, BinOpt/binary>>).
+
+%% @spec (This::wxCalendarDateAttr(), ColText::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsettextcolour">external documentation</a>.
+setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarDateAttr_SetTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColText)):16/binary>>).
+
+%% @spec (This::wxCalendarDateAttr(), ColBack::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack)
+ when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarDateAttr_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary>>).
+
+%% @spec (This::wxCalendarDateAttr(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsetbordercolour">external documentation</a>.
+setBorderColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarDateAttr_SetBorderColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxCalendarDateAttr(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxCalendarDateAttr_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr(), Border::WxCalendarDateBorder) -> ok
+%% WxCalendarDateBorder = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsetborder">external documentation</a>.
+%%<br /> WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND
+setBorder(#wx_ref{type=ThisT,ref=ThisRef},Border)
+ when is_integer(Border) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarDateAttr_SetBorder,
+ <<ThisRef:32/?UI,Border:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr(), Holiday::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrsetholiday">external documentation</a>.
+setHoliday(#wx_ref{type=ThisT,ref=ThisRef},Holiday)
+ when is_boolean(Holiday) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:cast(?wxCalendarDateAttr_SetHoliday,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Holiday)):32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrhastextcolour">external documentation</a>.
+hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_HasTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrhasbackgroundcolour">external documentation</a>.
+hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_HasBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrhasbordercolour">external documentation</a>.
+hasBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_HasBorderColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrhasfont">external documentation</a>.
+hasFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_HasFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrhasborder">external documentation</a>.
+hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_HasBorder,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrisholiday">external documentation</a>.
+isHoliday(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_IsHoliday,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrgettextcolour">external documentation</a>.
+getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_GetTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrgetbackgroundcolour">external documentation</a>.
+getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_GetBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrgetbordercolour">external documentation</a>.
+getBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_GetBorderColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> WxCalendarDateBorder
+%% WxCalendarDateBorder = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendardateattr.html#wxcalendardateattrgetborder">external documentation</a>.
+%%<br /> WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND
+getBorder(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarDateAttr),
+ wxe_util:call(?wxCalendarDateAttr_GetBorder,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCalendarDateAttr()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCalendarDateAttr),
+ wxe_util:destroy(?wxCalendarDateAttr_destroy,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxCalendarEvent.erl b/lib/wx/src/gen/wxCalendarEvent.erl
new file mode 100644
index 0000000000..de51d20cae
--- /dev/null
+++ b/lib/wx/src/gen/wxCalendarEvent.erl
@@ -0,0 +1,99 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarevent.html">wxCalendarEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>calendar_sel_changed</em>, <em>calendar_day_changed</em>, <em>calendar_month_changed</em>, <em>calendar_year_changed</em>, <em>calendar_doubleclicked</em>, <em>calendar_weekday_clicked</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxCalendar(). #wxCalendar{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDateEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxCalendarEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCalendarEvent).
+-include("wxe.hrl").
+-export([getWeekDay/1]).
+
+%% inherited exports
+-export([getClientData/1,getDate/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxDateEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxCalendarEvent()) -> WeekDay
+%% WeekDay = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcalendarevent.html#wxcalendareventgetweekday">external documentation</a>.
+%%<br /> WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay
+getWeekDay(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCalendarEvent),
+ wxe_util:call(?wxCalendarEvent_GetWeekDay,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxDateEvent
+%% @hidden
+getDate(This) -> wxDateEvent:getDate(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxCaret.erl b/lib/wx/src/gen/wxCaret.erl
new file mode 100644
index 0000000000..50844d36ff
--- /dev/null
+++ b/lib/wx/src/gen/wxCaret.erl
@@ -0,0 +1,181 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html">wxCaret</a>.
+%% @type wxCaret(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCaret).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getBlinkTime/0,getPosition/1,getSize/1,
+ getWindow/1,hide/1,isOk/1,isVisible/1,move/2,move/3,new/2,new/3,setBlinkTime/1,
+ setSize/2,setSize/3,show/1,show/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Window::wxWindow:wxWindow(), Size::{W::integer(),H::integer()}) -> wxCaret()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretwxcaret">external documentation</a>.
+new(#wx_ref{type=WindowT,ref=WindowRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:construct(?wxCaret_new_2,
+ <<WindowRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (Window::wxWindow:wxWindow(), Width::integer(), Height::integer()) -> wxCaret()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretwxcaret">external documentation</a>.
+new(#wx_ref{type=WindowT,ref=WindowRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:construct(?wxCaret_new_3,
+ <<WindowRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxCaret(), Window::wxWindow:wxWindow(), Size::{W::integer(),H::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxCaret),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxCaret_Create_2,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxCaret(), Window::wxWindow:wxWindow(), Width::integer(), Height::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxCaret),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxCaret_Create_3,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretgetblinktime">external documentation</a>.
+getBlinkTime() ->
+ wxe_util:call(?wxCaret_GetBlinkTime,
+ <<>>).
+
+%% @spec (This::wxCaret()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:call(?wxCaret_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:call(?wxCaret_GetSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretgetwindow">external documentation</a>.
+getWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:call(?wxCaret_GetWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcarethide">external documentation</a>.
+hide(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:cast(?wxCaret_Hide,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:call(?wxCaret_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretisvisible">external documentation</a>.
+isVisible(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:call(?wxCaret_IsVisible,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCaret(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretmove">external documentation</a>.
+move(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:cast(?wxCaret_Move_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxCaret(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretmove">external documentation</a>.
+move(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:cast(?wxCaret_Move_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (Milliseconds::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretsetblinktime">external documentation</a>.
+setBlinkTime(Milliseconds)
+ when is_integer(Milliseconds) ->
+ wxe_util:cast(?wxCaret_SetBlinkTime,
+ <<Milliseconds:32/?UI>>).
+
+%% @spec (This::wxCaret(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretsetsize">external documentation</a>.
+setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:cast(?wxCaret_SetSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxCaret(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretsetsize">external documentation</a>.
+setSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxCaret),
+ wxe_util:cast(?wxCaret_SetSize_2,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxCaret()) -> ok
+%% @equiv show(This, [])
+show(This)
+ when is_record(This, wx_ref) ->
+ show(This, []).
+
+%% @spec (This::wxCaret(), [Option]) -> ok
+%% Option = {show, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcaret.html#wxcaretshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxCaret),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCaret_Show,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxCaret()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCaret),
+ wxe_util:destroy(?wxCaret_destruct,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxCheckBox.erl b/lib/wx/src/gen/wxCheckBox.erl
new file mode 100644
index 0000000000..bf368dc965
--- /dev/null
+++ b/lib/wx/src/gen/wxCheckBox.erl
@@ -0,0 +1,554 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html">wxCheckBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxCheckBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCheckBox).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,get3StateValue/1,getValue/1,is3State/1,
+ is3rdStateAllowedForUser/1,isChecked/1,new/0,new/3,new/4,set3StateValue/2,
+ setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxCheckBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxwxcheckbox">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxCheckBox_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxCheckBox()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxCheckBox()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxwxcheckbox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCheckBox_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxCheckBox),
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxCheckBox_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxCheckBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:call(?wxCheckBox_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCheckBox()) -> WxCheckBoxState
+%% WxCheckBoxState = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxget3statevalue">external documentation</a>.
+%%<br /> WxCheckBoxState is one of ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED
+get3StateValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:call(?wxCheckBox_Get3StateValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCheckBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxis3rdstateallowedforuser">external documentation</a>.
+is3rdStateAllowedForUser(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:call(?wxCheckBox_Is3rdStateAllowedForUser,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCheckBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxis3state">external documentation</a>.
+is3State(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:call(?wxCheckBox_Is3State,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCheckBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:call(?wxCheckBox_IsChecked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCheckBox(), State::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},State)
+ when is_boolean(State) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:cast(?wxCheckBox_SetValue,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(State)):32/?UI>>).
+
+%% @spec (This::wxCheckBox(), State::WxCheckBoxState) -> ok
+%% WxCheckBoxState = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html#wxcheckboxset3statevalue">external documentation</a>.
+%%<br /> WxCheckBoxState is one of ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED
+set3StateValue(#wx_ref{type=ThisT,ref=ThisRef},State)
+ when is_integer(State) ->
+ ?CLASS(ThisT,wxCheckBox),
+ wxe_util:cast(?wxCheckBox_Set3StateValue,
+ <<ThisRef:32/?UI,State:32/?UI>>).
+
+%% @spec (This::wxCheckBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCheckBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxCheckListBox.erl b/lib/wx/src/gen/wxCheckListBox.erl
new file mode 100644
index 0000000000..7cbf9d18df
--- /dev/null
+++ b/lib/wx/src/gen/wxCheckListBox.erl
@@ -0,0 +1,564 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchecklistbox.html">wxCheckListBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxListBox}
+%% <br />{@link wxControlWithItems}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxCheckListBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCheckListBox).
+-include("wxe.hrl").
+-export([check/2,check/3,destroy/1,isChecked/2,new/0,new/2,new/3]).
+
+%% inherited exports
+-export([append/2,append/3,appendStrings/2,cacheBestSize/2,captureMouse/1,center/1,
+ center/2,centerOnParent/1,centerOnParent/2,centre/1,centre/2,centreOnParent/1,
+ centreOnParent/2,clear/1,clearBackground/1,clientToScreen/2,clientToScreen/3,
+ close/1,close/2,connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ delete/2,deselect/2,destroyChildren/1,disable/1,disconnect/1,disconnect/2,
+ disconnect/3,enable/1,enable/2,findString/2,findString/3,findWindow/2,
+ fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,getBackgroundColour/1,
+ getBackgroundStyle/1,getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,
+ getChildren/1,getClientData/2,getClientSize/1,getContainingSizer/1,
+ getCount/1,getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,
+ getFont/1,getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSelection/1,getSelections/1,
+ getSize/1,getSizer/1,getString/2,getStringSelection/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,hitTest/2,inheritAttributes/1,initDialog/1,insert/3,insert/4,
+ insertItems/3,invalidateBestSize/1,isEmpty/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isRetained/1,isSelected/2,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ select/2,set/2,setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientData/3,setClientSize/2,setClientSize/3,
+ setContainingSizer/2,setCursor/2,setDropTarget/2,setExtraStyle/2,
+ setFirstItem/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setSelection/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setString/3,setStringSelection/2,setThemeEnabled/2,setToolTip/2,setVirtualSize/2,
+ setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxListBox) -> true;
+parent_class(wxControlWithItems) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxCheckListBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchecklistbox.html#wxchecklistboxwxchecklistbox">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxCheckListBox_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxCheckListBox()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxCheckListBox()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchecklistbox.html#wxchecklistboxwxchecklistbox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({choices, Choices}, Acc) -> Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) || ChoicesTemp <- Choices],[<<3:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCheckListBox_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxCheckListBox(), Index::integer()) -> ok
+%% @equiv check(This,Index, [])
+check(This,Index)
+ when is_record(This, wx_ref),is_integer(Index) ->
+ check(This,Index, []).
+
+%% @spec (This::wxCheckListBox(), Index::integer(), [Option]) -> ok
+%% Option = {check, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchecklistbox.html#wxchecklistboxcheck">external documentation</a>.
+check(#wx_ref{type=ThisT,ref=ThisRef},Index, Options)
+ when is_integer(Index),is_list(Options) ->
+ ?CLASS(ThisT,wxCheckListBox),
+ MOpts = fun({check, Check}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Check)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCheckListBox_Check,
+ <<ThisRef:32/?UI,Index:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxCheckListBox(), Index::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchecklistbox.html#wxchecklistboxischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxCheckListBox),
+ wxe_util:call(?wxCheckListBox_IsChecked,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxCheckListBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCheckListBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxListBox
+%% @hidden
+setFirstItem(This,N) -> wxListBox:setFirstItem(This,N).
+%% @hidden
+hitTest(This,Point) -> wxListBox:hitTest(This,Point).
+%% @hidden
+set(This,Items) -> wxListBox:set(This,Items).
+%% @hidden
+isSelected(This,N) -> wxListBox:isSelected(This,N).
+%% @hidden
+insertItems(This,Items,Pos) -> wxListBox:insertItems(This,Items,Pos).
+%% @hidden
+getSelections(This) -> wxListBox:getSelections(This).
+%% @hidden
+deselect(This,N) -> wxListBox:deselect(This,N).
+ %% From wxControlWithItems
+%% @hidden
+setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S).
+%% @hidden
+setString(This,N,S) -> wxControlWithItems:setString(This,N,S).
+%% @hidden
+setSelection(This,N) -> wxControlWithItems:setSelection(This,N).
+%% @hidden
+select(This,N) -> wxControlWithItems:select(This,N).
+%% @hidden
+isEmpty(This) -> wxControlWithItems:isEmpty(This).
+%% @hidden
+insert(This,Item,Pos,ClientData) -> wxControlWithItems:insert(This,Item,Pos,ClientData).
+%% @hidden
+insert(This,Item,Pos) -> wxControlWithItems:insert(This,Item,Pos).
+%% @hidden
+getStringSelection(This) -> wxControlWithItems:getStringSelection(This).
+%% @hidden
+getString(This,N) -> wxControlWithItems:getString(This,N).
+%% @hidden
+getSelection(This) -> wxControlWithItems:getSelection(This).
+%% @hidden
+getCount(This) -> wxControlWithItems:getCount(This).
+%% @hidden
+setClientData(This,N,ClientData) -> wxControlWithItems:setClientData(This,N,ClientData).
+%% @hidden
+getClientData(This,N) -> wxControlWithItems:getClientData(This,N).
+%% @hidden
+findString(This,S, Options) -> wxControlWithItems:findString(This,S, Options).
+%% @hidden
+findString(This,S) -> wxControlWithItems:findString(This,S).
+%% @hidden
+delete(This,N) -> wxControlWithItems:delete(This,N).
+%% @hidden
+clear(This) -> wxControlWithItems:clear(This).
+%% @hidden
+appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings).
+%% @hidden
+append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData).
+%% @hidden
+append(This,Item) -> wxControlWithItems:append(This,Item).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxChildFocusEvent.erl b/lib/wx/src/gen/wxChildFocusEvent.erl
new file mode 100644
index 0000000000..ea04e6863b
--- /dev/null
+++ b/lib/wx/src/gen/wxChildFocusEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchildfocusevent.html">wxChildFocusEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>child_focus</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxChildFocus(). #wxChildFocus{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxChildFocusEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxChildFocusEvent).
+-include("wxe.hrl").
+-export([getWindow/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxChildFocusEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchildfocusevent.html#wxchildfocuseventgetwindow">external documentation</a>.
+getWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChildFocusEvent),
+ wxe_util:call(?wxChildFocusEvent_GetWindow,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxChoice.erl b/lib/wx/src/gen/wxChoice.erl
new file mode 100644
index 0000000000..3e20d5f933
--- /dev/null
+++ b/lib/wx/src/gen/wxChoice.erl
@@ -0,0 +1,574 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html">wxChoice</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControlWithItems}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxChoice(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxChoice).
+-include("wxe.hrl").
+-export([create/6,create/7,delete/2,destroy/1,getColumns/1,new/0,new/2,new/3,setColumns/1,
+ setColumns/2]).
+
+%% inherited exports
+-export([append/2,append/3,appendStrings/2,cacheBestSize/2,captureMouse/1,center/1,
+ center/2,centerOnParent/1,centerOnParent/2,centre/1,centre/2,centreOnParent/1,
+ centreOnParent/2,clear/1,clearBackground/1,clientToScreen/2,clientToScreen/3,
+ close/1,close/2,connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findString/2,findString/3,findWindow/2,fit/1,fitInside/1,
+ freeze/1,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
+ getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,
+ getClientData/2,getClientSize/1,getContainingSizer/1,getCount/1,getCursor/1,
+ getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSelection/1,getSize/1,getSizer/1,getString/2,getStringSelection/1,
+ getTextExtent/2,getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,
+ getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,hasScrollbar/2,
+ hasTransparentBackground/1,hide/1,inheritAttributes/1,initDialog/1,
+ insert/3,insert/4,invalidateBestSize/1,isEmpty/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,
+ moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ select/2,setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientData/3,setClientSize/2,setClientSize/3,
+ setContainingSizer/2,setCursor/2,setDropTarget/2,setExtraStyle/2,
+ setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,setHelpText/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setScrollPos/3,
+ setScrollPos/4,setScrollbar/5,setScrollbar/6,setSelection/2,setSize/2,
+ setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
+ setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setString/3,
+ setStringSelection/2,setThemeEnabled/2,setToolTip/2,setVirtualSize/2,
+ setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControlWithItems) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxChoice()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicewxchoice">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxChoice_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxChoice()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxChoice()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicewxchoice">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({choices, Choices}, Acc) -> Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) || ChoicesTemp <- Choices],[<<3:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxChoice_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]]) -> bool()
+%% @equiv create(This,Parent,Id,Pos,Size,Choices, [])
+create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) ->
+ create(This,Parent,Id,Pos,Size,Choices, []).
+
+%% @spec (This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]], [Option]) -> bool()
+%% Option = {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options)
+ when is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) ->
+ ?CLASS(ThisT,wxChoice),
+ ?CLASS(ParentT,wxWindow),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<2:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxChoice_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxChoice(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicedelete">external documentation</a>.
+delete(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoice),
+ wxe_util:cast(?wxChoice_Delete,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoice()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicegetcolumns">external documentation</a>.
+getColumns(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoice),
+ wxe_util:call(?wxChoice_GetColumns,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoice()) -> ok
+%% @equiv setColumns(This, [])
+setColumns(This)
+ when is_record(This, wx_ref) ->
+ setColumns(This, []).
+
+%% @spec (This::wxChoice(), [Option]) -> ok
+%% Option = {n, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoice.html#wxchoicesetcolumns">external documentation</a>.
+setColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxChoice),
+ MOpts = fun({n, N}, Acc) -> [<<1:32/?UI,N:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxChoice_SetColumns,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxChoice()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxChoice),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControlWithItems
+%% @hidden
+setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S).
+%% @hidden
+setString(This,N,S) -> wxControlWithItems:setString(This,N,S).
+%% @hidden
+setSelection(This,N) -> wxControlWithItems:setSelection(This,N).
+%% @hidden
+select(This,N) -> wxControlWithItems:select(This,N).
+%% @hidden
+isEmpty(This) -> wxControlWithItems:isEmpty(This).
+%% @hidden
+insert(This,Item,Pos,ClientData) -> wxControlWithItems:insert(This,Item,Pos,ClientData).
+%% @hidden
+insert(This,Item,Pos) -> wxControlWithItems:insert(This,Item,Pos).
+%% @hidden
+getStringSelection(This) -> wxControlWithItems:getStringSelection(This).
+%% @hidden
+getString(This,N) -> wxControlWithItems:getString(This,N).
+%% @hidden
+getSelection(This) -> wxControlWithItems:getSelection(This).
+%% @hidden
+getCount(This) -> wxControlWithItems:getCount(This).
+%% @hidden
+setClientData(This,N,ClientData) -> wxControlWithItems:setClientData(This,N,ClientData).
+%% @hidden
+getClientData(This,N) -> wxControlWithItems:getClientData(This,N).
+%% @hidden
+findString(This,S, Options) -> wxControlWithItems:findString(This,S, Options).
+%% @hidden
+findString(This,S) -> wxControlWithItems:findString(This,S).
+%% @hidden
+clear(This) -> wxControlWithItems:clear(This).
+%% @hidden
+appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings).
+%% @hidden
+append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData).
+%% @hidden
+append(This,Item) -> wxControlWithItems:append(This,Item).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxChoicebook.erl b/lib/wx/src/gen/wxChoicebook.erl
new file mode 100644
index 0000000000..faf7c402b7
--- /dev/null
+++ b/lib/wx/src/gen/wxChoicebook.erl
@@ -0,0 +1,698 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html">wxChoicebook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxChoicebook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxChoicebook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,advanceSelection/1,advanceSelection/2,assignImageList/2,
+ changeSelection/2,create/3,create/4,deleteAllPages/1,deletePage/2,
+ destroy/1,getCurrentPage/1,getImageList/1,getPage/2,getPageCount/1,
+ getPageImage/2,getPageText/2,getSelection/1,hitTest/2,insertPage/4,
+ insertPage/5,new/0,new/2,new/3,removePage/2,setImageList/2,setPageImage/3,
+ setPageSize/2,setPageText/3,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxChoicebook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookwxchoicebook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxChoicebook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxChoicebook()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxChoicebook()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookwxchoicebook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxChoicebook_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv addPage(This,Page,Text, [])
+addPage(This,Page,Text)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
+ addPage(This,Page,Text, []).
+
+%% @spec (This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxChoicebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxChoicebook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxChoicebook()) -> ok
+%% @equiv advanceSelection(This, [])
+advanceSelection(This)
+ when is_record(This, wx_ref) ->
+ advanceSelection(This, []).
+
+%% @spec (This::wxChoicebook(), [Option]) -> ok
+%% Option = {forward, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookadvanceselection">external documentation</a>.
+advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxChoicebook),
+ MOpts = fun({forward, Forward}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Forward)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxChoicebook_AdvanceSelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxChoicebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxChoicebook_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxChoicebook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxChoicebook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxChoicebook()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookdeleteallpages">external documentation</a>.
+deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_DeleteAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_DeletePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_RemovePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetPage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetpageimage">external documentation</a>.
+getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetPageText,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), Pt::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_HitTest,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv insertPage(This,N,Page,Text, [])
+insertPage(This,N,Page,Text)
+ when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) ->
+ insertPage(This,N,Page,Text, []).
+
+%% @spec (This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_integer(N),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxChoicebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxChoicebook_InsertPage,
+ <<ThisRef:32/?UI,N:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxChoicebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxChoicebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxChoicebook_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:cast(?wxChoicebook_SetPageSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer(), ImageId::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetpageimage">external documentation</a>.
+setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId)
+ when is_integer(N),is_integer(ImageId) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_SetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI,ImageId:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer(), StrText::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText)
+ when is_integer(N),is_list(StrText) ->
+ ?CLASS(ThisT,wxChoicebook),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ wxe_util:call(?wxChoicebook_SetPageText,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((4+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookchangeselection">external documentation</a>.
+changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxChoicebook),
+ wxe_util:call(?wxChoicebook_ChangeSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxChoicebook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxChoicebook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxClientDC.erl b/lib/wx/src/gen/wxClientDC.erl
new file mode 100644
index 0000000000..86418cc922
--- /dev/null
+++ b/lib/wx/src/gen/wxClientDC.erl
@@ -0,0 +1,267 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclientdc.html">wxClientDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindowDC}
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxClientDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxClientDC).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxWindowDC) -> true;
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxClientDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclientdc.html#wxclientdcwxclientdc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxClientDC_new_0,
+ <<>>).
+
+%% @spec (Win::wxWindow:wxWindow()) -> wxClientDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclientdc.html#wxclientdcwxclientdc">external documentation</a>.
+new(#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(WinT,wxWindow),
+ wxe_util:construct(?wxClientDC_new_1,
+ <<WinRef:32/?UI>>).
+
+%% @spec (This::wxClientDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxClientDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindowDC
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxClipboard.erl b/lib/wx/src/gen/wxClipboard.erl
new file mode 100644
index 0000000000..c92f7b9af4
--- /dev/null
+++ b/lib/wx/src/gen/wxClipboard.erl
@@ -0,0 +1,138 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html">wxClipboard</a>.
+%% @type wxClipboard(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxClipboard).
+-include("wxe.hrl").
+-export([addData/2,clear/1,close/1,destroy/1,flush/1,get/0,getData/2,isOpened/1,
+ isSupported/2,new/0,open/1,setData/2,usePrimarySelection/1,usePrimarySelection/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxClipboard()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardwxclipboard">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxClipboard_new,
+ <<>>).
+
+%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardadddata">external documentation</a>.
+addData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ ?CLASS(DataT,wxDataObject),
+ wxe_util:call(?wxClipboard_AddData,
+ <<ThisRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:cast(?wxClipboard_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardclose">external documentation</a>.
+close(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:cast(?wxClipboard_Close,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardflush">external documentation</a>.
+flush(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:call(?wxClipboard_Flush,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardgetdata">external documentation</a>.
+getData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ ?CLASS(DataT,wxDataObject),
+ wxe_util:call(?wxClipboard_GetData,
+ <<ThisRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardisopened">external documentation</a>.
+isOpened(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:call(?wxClipboard_IsOpened,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardopen">external documentation</a>.
+open(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:call(?wxClipboard_Open,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardsetdata">external documentation</a>.
+setData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ThisT,wxClipboard),
+ ?CLASS(DataT,wxDataObject),
+ wxe_util:call(?wxClipboard_SetData,
+ <<ThisRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxClipboard()) -> ok
+%% @equiv usePrimarySelection(This, [])
+usePrimarySelection(This)
+ when is_record(This, wx_ref) ->
+ usePrimarySelection(This, []).
+
+%% @spec (This::wxClipboard(), [Option]) -> ok
+%% Option = {primary, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboarduseprimaryselection">external documentation</a>.
+usePrimarySelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxClipboard),
+ MOpts = fun({primary, Primary}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Primary)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxClipboard_UsePrimarySelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxClipboard(), Format::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardissupported">external documentation</a>.
+isSupported(#wx_ref{type=ThisT,ref=ThisRef},Format)
+ when is_integer(Format) ->
+ ?CLASS(ThisT,wxClipboard),
+ wxe_util:call(?wxClipboard_IsSupported,
+ <<ThisRef:32/?UI,Format:32/?UI>>).
+
+%% @spec () -> wxClipboard()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxclipboard.html#wxclipboardget">external documentation</a>.
+get() ->
+ wxe_util:call(?wxClipboard_Get,
+ <<>>).
+
+%% @spec (This::wxClipboard()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxClipboard),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxCloseEvent.erl b/lib/wx/src/gen/wxCloseEvent.erl
new file mode 100644
index 0000000000..e8e25a448c
--- /dev/null
+++ b/lib/wx/src/gen/wxCloseEvent.erl
@@ -0,0 +1,110 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html">wxCloseEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>close_window</em>, <em>end_session</em>, <em>query_end_session</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxClose(). #wxClose{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxCloseEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCloseEvent).
+-include("wxe.hrl").
+-export([canVeto/1,getLoggingOff/1,setCanVeto/2,setLoggingOff/2,veto/1,veto/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxCloseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html#wxcloseeventcanveto">external documentation</a>.
+canVeto(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCloseEvent),
+ wxe_util:call(?wxCloseEvent_CanVeto,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCloseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html#wxcloseeventgetloggingoff">external documentation</a>.
+getLoggingOff(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCloseEvent),
+ wxe_util:call(?wxCloseEvent_GetLoggingOff,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCloseEvent(), CanVeto::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html#wxcloseeventsetcanveto">external documentation</a>.
+setCanVeto(#wx_ref{type=ThisT,ref=ThisRef},CanVeto)
+ when is_boolean(CanVeto) ->
+ ?CLASS(ThisT,wxCloseEvent),
+ wxe_util:cast(?wxCloseEvent_SetCanVeto,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(CanVeto)):32/?UI>>).
+
+%% @spec (This::wxCloseEvent(), LogOff::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html#wxcloseeventsetloggingoff">external documentation</a>.
+setLoggingOff(#wx_ref{type=ThisT,ref=ThisRef},LogOff)
+ when is_boolean(LogOff) ->
+ ?CLASS(ThisT,wxCloseEvent),
+ wxe_util:cast(?wxCloseEvent_SetLoggingOff,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(LogOff)):32/?UI>>).
+
+%% @spec (This::wxCloseEvent()) -> ok
+%% @equiv veto(This, [])
+veto(This)
+ when is_record(This, wx_ref) ->
+ veto(This, []).
+
+%% @spec (This::wxCloseEvent(), [Option]) -> ok
+%% Option = {veto, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcloseevent.html#wxcloseeventveto">external documentation</a>.
+veto(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxCloseEvent),
+ MOpts = fun({veto, Veto}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Veto)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxCloseEvent_Veto,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxColourData.erl b/lib/wx/src/gen/wxColourData.erl
new file mode 100644
index 0000000000..973086c295
--- /dev/null
+++ b/lib/wx/src/gen/wxColourData.erl
@@ -0,0 +1,100 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html">wxColourData</a>.
+%% @type wxColourData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxColourData).
+-include("wxe.hrl").
+-export([destroy/1,getChooseFull/1,getColour/1,getCustomColour/2,new/0,new/1,
+ setChooseFull/2,setColour/2,setCustomColour/3]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxColourData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatawxcolourdata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxColourData_new_0,
+ <<>>).
+
+%% @spec (Data::wxColourData()) -> wxColourData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatawxcolourdata">external documentation</a>.
+new(#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(DataT,wxColourData),
+ wxe_util:construct(?wxColourData_new_1,
+ <<DataRef:32/?UI>>).
+
+%% @spec (This::wxColourData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatagetchoosefull">external documentation</a>.
+getChooseFull(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:call(?wxColourData_GetChooseFull,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxColourData()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatagetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:call(?wxColourData_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxColourData(), I::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatagetcustomcolour">external documentation</a>.
+getCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I)
+ when is_integer(I) ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:call(?wxColourData_GetCustomColour,
+ <<ThisRef:32/?UI,I:32/?UI>>).
+
+%% @spec (This::wxColourData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatasetchoosefull">external documentation</a>.
+setChooseFull(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:cast(?wxColourData_SetChooseFull,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxColourData(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatasetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:cast(?wxColourData_SetColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxColourData(), I::integer(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdata.html#wxcolourdatasetcustomcolour">external documentation</a>.
+setCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I,Colour)
+ when is_integer(I),tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxColourData),
+ wxe_util:cast(?wxColourData_SetCustomColour,
+ <<ThisRef:32/?UI,I:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxColourData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxColourData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxColourDialog.erl b/lib/wx/src/gen/wxColourDialog.erl
new file mode 100644
index 0000000000..08a6b73775
--- /dev/null
+++ b/lib/wx/src/gen/wxColourDialog.erl
@@ -0,0 +1,570 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdialog.html">wxColourDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxColourDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxColourDialog).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getColourData/1,new/0,new/1,new/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxColourDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdialog.html#wxcolourdialogwxcolourdialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxColourDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxColourDialog()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxColourDialog()
+%% Option = {data, wxColourData:wxColourData()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdialog.html#wxcolourdialogwxcolourdialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxColourData),[<<1:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxColourDialog_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxColourDialog(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxColourDialog(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {data, wxColourData:wxColourData()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdialog.html#wxcolourdialogcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxColourDialog),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxColourData),[<<1:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxColourDialog_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxColourDialog()) -> wxColourData:wxColourData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourdialog.html#wxcolourdialoggetcolourdata">external documentation</a>.
+getColourData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxColourDialog),
+ wxe_util:call(?wxColourDialog_GetColourData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxColourDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxColourDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl
new file mode 100644
index 0000000000..1f345b4294
--- /dev/null
+++ b/lib/wx/src/gen/wxColourPickerCtrl.erl
@@ -0,0 +1,560 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html">wxColourPickerCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPickerBase}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxColourPickerCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxColourPickerCtrl).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getColour/1,new/0,new/2,new/3,setColour/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getInternalMargin/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPickerCtrlProportion/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextCtrl/1,getTextCtrlProportion/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTextCtrl/1,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isPickerCtrlGrowable/1,isRetained/1,
+ isShown/1,isTextCtrlGrowable/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setInternalMargin/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,
+ setPickerCtrlProportion/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,
+ setScrollbar/6,setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,
+ setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,
+ setSizerAndFit/3,setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPickerBase) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxColourPickerCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html#wxcolourpickerctrlwxcolourpickerctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxColourPickerCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxColourPickerCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxColourPickerCtrl()
+%% Option = {col, wx:colour()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html#wxcolourpickerctrlwxcolourpickerctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({col, Col}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(Col)):16/binary,0:32>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxColourPickerCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {col, wx:colour()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html#wxcolourpickerctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxColourPickerCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({col, Col}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(Col)):16/binary,0:32>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxColourPickerCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxColourPickerCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html#wxcolourpickerctrlgetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxColourPickerCtrl),
+ wxe_util:call(?wxColourPickerCtrl_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxColourPickerCtrl(),X::string()|term()) -> bool()|ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerctrl.html#wxcolourpickerctrlsetcolour">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setColour(This::wxColourPickerCtrl(), Text::string()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% setColour(This::wxColourPickerCtrl(), Col::wx:colour()) -> ok </c>
+%% </p>
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxColourPickerCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxColourPickerCtrl_SetColour_1_0,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>);
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxColourPickerCtrl),
+ wxe_util:cast(?wxColourPickerCtrl_SetColour_1_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxColourPickerCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxColourPickerCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPickerBase
+%% @hidden
+isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This).
+%% @hidden
+setTextCtrlGrowable(This, Options) -> wxPickerBase:setTextCtrlGrowable(This, Options).
+%% @hidden
+setTextCtrlGrowable(This) -> wxPickerBase:setTextCtrlGrowable(This).
+%% @hidden
+setPickerCtrlGrowable(This, Options) -> wxPickerBase:setPickerCtrlGrowable(This, Options).
+%% @hidden
+setPickerCtrlGrowable(This) -> wxPickerBase:setPickerCtrlGrowable(This).
+%% @hidden
+isTextCtrlGrowable(This) -> wxPickerBase:isTextCtrlGrowable(This).
+%% @hidden
+getTextCtrl(This) -> wxPickerBase:getTextCtrl(This).
+%% @hidden
+hasTextCtrl(This) -> wxPickerBase:hasTextCtrl(This).
+%% @hidden
+getPickerCtrlProportion(This) -> wxPickerBase:getPickerCtrlProportion(This).
+%% @hidden
+getTextCtrlProportion(This) -> wxPickerBase:getTextCtrlProportion(This).
+%% @hidden
+setPickerCtrlProportion(This,Prop) -> wxPickerBase:setPickerCtrlProportion(This,Prop).
+%% @hidden
+setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop).
+%% @hidden
+getInternalMargin(This) -> wxPickerBase:getInternalMargin(This).
+%% @hidden
+setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxColourPickerEvent.erl b/lib/wx/src/gen/wxColourPickerEvent.erl
new file mode 100644
index 0000000000..0ed131fc30
--- /dev/null
+++ b/lib/wx/src/gen/wxColourPickerEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerevent.html">wxColourPickerEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_colourpicker_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxColourPicker(). #wxColourPicker{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxColourPickerEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxColourPickerEvent).
+-include("wxe.hrl").
+-export([getColour/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxColourPickerEvent()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcolourpickerevent.html#wxcolourpickereventgetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxColourPickerEvent),
+ wxe_util:call(?wxColourPickerEvent_GetColour,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxComboBox.erl b/lib/wx/src/gen/wxComboBox.erl
new file mode 100644
index 0000000000..6a40aacd50
--- /dev/null
+++ b/lib/wx/src/gen/wxComboBox.erl
@@ -0,0 +1,693 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html">wxComboBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControlWithItems}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxComboBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxComboBox).
+-include("wxe.hrl").
+-export([canCopy/1,canCut/1,canPaste/1,canRedo/1,canUndo/1,copy/1,create/7,create/8,
+ cut/1,destroy/1,getInsertionPoint/1,getLastPosition/1,getValue/1,new/0,
+ new/2,new/3,paste/1,redo/1,remove/3,replace/4,setInsertionPoint/2,setInsertionPointEnd/1,
+ setSelection/2,setSelection/3,setValue/2,undo/1]).
+
+%% inherited exports
+-export([append/2,append/3,appendStrings/2,cacheBestSize/2,captureMouse/1,center/1,
+ center/2,centerOnParent/1,centerOnParent/2,centre/1,centre/2,centreOnParent/1,
+ centreOnParent/2,clear/1,clearBackground/1,clientToScreen/2,clientToScreen/3,
+ close/1,close/2,connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ delete/2,destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findString/2,findString/3,findWindow/2,fit/1,fitInside/1,
+ freeze/1,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
+ getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,
+ getClientData/2,getClientSize/1,getContainingSizer/1,getCount/1,getCursor/1,
+ getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSelection/1,getSize/1,getSizer/1,getString/2,getStringSelection/1,
+ getTextExtent/2,getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,
+ getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,hasScrollbar/2,
+ hasTransparentBackground/1,hide/1,inheritAttributes/1,initDialog/1,
+ insert/3,insert/4,invalidateBestSize/1,isEmpty/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,
+ moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ select/2,setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientData/3,setClientSize/2,setClientSize/3,
+ setContainingSizer/2,setCursor/2,setDropTarget/2,setExtraStyle/2,
+ setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,setHelpText/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setScrollPos/3,
+ setScrollPos/4,setScrollbar/5,setScrollbar/6,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setString/3,setStringSelection/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControlWithItems) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxComboBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxwxcombobox">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxComboBox_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxComboBox()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxComboBox()
+%% Option = {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxwxcombobox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<1:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({choices, Choices}, Acc) -> Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) || ChoicesTemp <- Choices],[<<4:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<6:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxComboBox_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]]) -> bool()
+%% @equiv create(This,Parent,Id,Value,Pos,Size,Choices, [])
+create(This,Parent,Id,Value,Pos={PosX,PosY},Size={SizeW,SizeH},Choices)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Value),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) ->
+ create(This,Parent,Id,Value,Pos,Size,Choices, []).
+
+%% @spec (This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]], [Option]) -> bool()
+%% Option = {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Value,{PosX,PosY},{SizeW,SizeH},Choices, Options)
+ when is_integer(Id),is_list(Value),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) ->
+ ?CLASS(ThisT,wxComboBox),
+ ?CLASS(ParentT,wxWindow),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<2:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxComboBox_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxComboBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcancopy">external documentation</a>.
+canCopy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_CanCopy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcancut">external documentation</a>.
+canCut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_CanCut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcanpaste">external documentation</a>.
+canPaste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_CanPaste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcanredo">external documentation</a>.
+canRedo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_CanRedo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcanundo">external documentation</a>.
+canUndo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_CanUndo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcopy">external documentation</a>.
+copy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Copy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxcut">external documentation</a>.
+cut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Cut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxgetinsertionpoint">external documentation</a>.
+getInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_GetInsertionPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxgetlastposition">external documentation</a>.
+getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_GetLastPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:call(?wxComboBox_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxpaste">external documentation</a>.
+paste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Paste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxredo">external documentation</a>.
+redo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Redo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox(), From::integer(), To::integer(), Value::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value)
+ when is_integer(From),is_integer(To),is_list(Value) ->
+ ?CLASS(ThisT,wxComboBox),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxComboBox_Replace,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxComboBox(), From::integer(), To::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxremove">external documentation</a>.
+remove(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Remove,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxComboBox(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxsetinsertionpoint">external documentation</a>.
+setInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_SetInsertionPoint,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxsetinsertionpointend">external documentation</a>.
+setInsertionPointEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_SetInsertionPointEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_SetSelection_1,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxComboBox(), From::integer(), To::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_SetSelection_2,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxComboBox(), Value::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
+ when is_list(Value) ->
+ ?CLASS(ThisT,wxComboBox),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxComboBox_SetValue,
+ <<ThisRef:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcombobox.html#wxcomboboxundo">external documentation</a>.
+undo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxComboBox),
+ wxe_util:cast(?wxComboBox_Undo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxComboBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxComboBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControlWithItems
+%% @hidden
+setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S).
+%% @hidden
+setString(This,N,S) -> wxControlWithItems:setString(This,N,S).
+%% @hidden
+select(This,N) -> wxControlWithItems:select(This,N).
+%% @hidden
+isEmpty(This) -> wxControlWithItems:isEmpty(This).
+%% @hidden
+insert(This,Item,Pos,ClientData) -> wxControlWithItems:insert(This,Item,Pos,ClientData).
+%% @hidden
+insert(This,Item,Pos) -> wxControlWithItems:insert(This,Item,Pos).
+%% @hidden
+getStringSelection(This) -> wxControlWithItems:getStringSelection(This).
+%% @hidden
+getString(This,N) -> wxControlWithItems:getString(This,N).
+%% @hidden
+getSelection(This) -> wxControlWithItems:getSelection(This).
+%% @hidden
+getCount(This) -> wxControlWithItems:getCount(This).
+%% @hidden
+setClientData(This,N,ClientData) -> wxControlWithItems:setClientData(This,N,ClientData).
+%% @hidden
+getClientData(This,N) -> wxControlWithItems:getClientData(This,N).
+%% @hidden
+findString(This,S, Options) -> wxControlWithItems:findString(This,S, Options).
+%% @hidden
+findString(This,S) -> wxControlWithItems:findString(This,S).
+%% @hidden
+delete(This,N) -> wxControlWithItems:delete(This,N).
+%% @hidden
+clear(This) -> wxControlWithItems:clear(This).
+%% @hidden
+appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings).
+%% @hidden
+append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData).
+%% @hidden
+append(This,Item) -> wxControlWithItems:append(This,Item).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxCommandEvent.erl b/lib/wx/src/gen/wxCommandEvent.erl
new file mode 100644
index 0000000000..f1df933d78
--- /dev/null
+++ b/lib/wx/src/gen/wxCommandEvent.erl
@@ -0,0 +1,129 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html">wxCommandEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_button_clicked</em>, <em>command_checkbox_clicked</em>, <em>command_choice_selected</em>, <em>command_listbox_selected</em>, <em>command_listbox_doubleclicked</em>, <em>command_text_updated</em>, <em>command_text_enter</em>, <em>command_menu_selected</em>, <em>command_slider_updated</em>, <em>command_radiobox_selected</em>, <em>command_radiobutton_selected</em>, <em>command_scrollbar_updated</em>, <em>command_vlbox_selected</em>, <em>command_combobox_selected</em>, <em>command_tool_rclicked</em>, <em>command_tool_enter</em>, <em>command_checklistbox_toggled</em>, <em>command_togglebutton_clicked</em>, <em>command_left_click</em>, <em>command_left_dclick</em>, <em>command_right_click</em>, <em>command_set_focus</em>, <em>command_kill_focus</em>, <em>command_enter</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxCommand(). #wxCommand{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxCommandEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCommandEvent).
+-include("wxe.hrl").
+-export([getClientData/1,getExtraLong/1,getInt/1,getSelection/1,getString/1,
+ isChecked/1,isSelection/1,setInt/2,setString/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxCommandEvent()) -> term()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetclientobject">external documentation</a>.
+getClientData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_getClientData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetextralong">external documentation</a>.
+getExtraLong(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_GetExtraLong,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetint">external documentation</a>.
+getInt(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_GetInt,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetstring">external documentation</a>.
+getString(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_GetString,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_IsChecked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventisselection">external documentation</a>.
+isSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:call(?wxCommandEvent_IsSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCommandEvent(), I::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventsetint">external documentation</a>.
+setInt(#wx_ref{type=ThisT,ref=ThisRef},I)
+ when is_integer(I) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ wxe_util:cast(?wxCommandEvent_SetInt,
+ <<ThisRef:32/?UI,I:32/?UI>>).
+
+%% @spec (This::wxCommandEvent(), S::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventsetstring">external documentation</a>.
+setString(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_list(S) ->
+ ?CLASS(ThisT,wxCommandEvent),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxCommandEvent_SetString,
+ <<ThisRef:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxContextMenuEvent.erl b/lib/wx/src/gen/wxContextMenuEvent.erl
new file mode 100644
index 0000000000..15167b0996
--- /dev/null
+++ b/lib/wx/src/gen/wxContextMenuEvent.erl
@@ -0,0 +1,100 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontextmenuevent.html">wxContextMenuEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>context_menu</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxContextMenu(). #wxContextMenu{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxContextMenuEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxContextMenuEvent).
+-include("wxe.hrl").
+-export([getPosition/1,setPosition/2]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxContextMenuEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontextmenuevent.html#wxcontextmenueventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxContextMenuEvent),
+ wxe_util:call(?wxContextMenuEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxContextMenuEvent(), Pos::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontextmenuevent.html#wxcontextmenueventsetposition">external documentation</a>.
+setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxContextMenuEvent),
+ wxe_util:cast(?wxContextMenuEvent_SetPosition,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxControl.erl b/lib/wx/src/gen/wxControl.erl
new file mode 100644
index 0000000000..1088afcc43
--- /dev/null
+++ b/lib/wx/src/gen/wxControl.erl
@@ -0,0 +1,449 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrol.html">wxControl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxControl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxControl).
+-include("wxe.hrl").
+-export([getLabel/1,setLabel/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,getPosition/1,
+ getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setMaxSize/2,setMinSize/2,
+ setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxControl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrol.html#wxcontrolgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControl),
+ wxe_util:call(?wxControl_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControl(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrol.html#wxcontrolsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label)
+ when is_list(Label) ->
+ ?CLASS(ThisT,wxControl),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxControl_SetLabel,
+ <<ThisRef:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxControlWithItems.erl b/lib/wx/src/gen/wxControlWithItems.erl
new file mode 100644
index 0000000000..ff5e3aaedf
--- /dev/null
+++ b/lib/wx/src/gen/wxControlWithItems.erl
@@ -0,0 +1,612 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html">wxControlWithItems</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxControlWithItems(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxControlWithItems).
+-include("wxe.hrl").
+-export([append/2,append/3,appendStrings/2,clear/1,delete/2,findString/2,findString/3,
+ getClientData/2,getCount/1,getSelection/1,getString/2,getStringSelection/1,
+ insert/3,insert/4,isEmpty/1,select/2,setClientData/3,setSelection/2,
+ setString/3,setStringSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxControlWithItems(), Item::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsappend">external documentation</a>.
+append(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_list(Item) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ Item_UC = unicode:characters_to_binary([Item,0]),
+ wxe_util:call(?wxControlWithItems_Append_1,
+ <<ThisRef:32/?UI,(byte_size(Item_UC)):32/?UI,(Item_UC)/binary, 0:(((8- ((0+byte_size(Item_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxControlWithItems(), Item::string(), ClientData::term()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsappend">external documentation</a>.
+append(#wx_ref{type=ThisT,ref=ThisRef},Item,ClientData)
+ when is_list(Item) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ Item_UC = unicode:characters_to_binary([Item,0]),
+ wxe_util:send_bin(term_to_binary(ClientData)),
+ wxe_util:call(?wxControlWithItems_Append_2,
+ <<ThisRef:32/?UI,(byte_size(Item_UC)):32/?UI,(Item_UC)/binary, 0:(((8- ((0+byte_size(Item_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxControlWithItems(), Strings::[[string()]]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsappend">external documentation</a>.
+appendStrings(#wx_ref{type=ThisT,ref=ThisRef},Strings)
+ when is_list(Strings) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ Strings_UCA = [unicode:characters_to_binary([StringsTemp,0]) ||
+ StringsTemp <- Strings],
+ wxe_util:cast(?wxControlWithItems_appendStrings_1,
+ <<ThisRef:32/?UI,(length(Strings_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Strings_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Strings_UCA])) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxControlWithItems()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:cast(?wxControlWithItems_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsdelete">external documentation</a>.
+delete(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:cast(?wxControlWithItems_Delete,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), S::string()) -> integer()
+%% @equiv findString(This,S, [])
+findString(This,S)
+ when is_record(This, wx_ref),is_list(S) ->
+ findString(This,S, []).
+
+%% @spec (This::wxControlWithItems(), S::string(), [Option]) -> integer()
+%% Option = {bCase, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsfindstring">external documentation</a>.
+findString(#wx_ref{type=ThisT,ref=ThisRef},S, Options)
+ when is_list(S),is_list(Options) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ S_UC = unicode:characters_to_binary([S,0]),
+ MOpts = fun({bCase, BCase}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BCase)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxControlWithItems_FindString,
+ <<ThisRef:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxControlWithItems(), N::integer()) -> term()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsgetclientobject">external documentation</a>.
+getClientData(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_getClientData,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer(), ClientData::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemssetclientobject">external documentation</a>.
+setClientData(#wx_ref{type=ThisT,ref=ThisRef},N,ClientData)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:send_bin(term_to_binary(ClientData)),
+ wxe_util:cast(?wxControlWithItems_setClientData,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsgetcount">external documentation</a>.
+getCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_GetCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControlWithItems()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsgetstring">external documentation</a>.
+getString(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_GetString,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsgetstringselection">external documentation</a>.
+getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_GetStringSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), Item::string(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsinsert">external documentation</a>.
+insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos)
+ when is_list(Item),is_integer(Pos) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ Item_UC = unicode:characters_to_binary([Item,0]),
+ wxe_util:call(?wxControlWithItems_Insert_2,
+ <<ThisRef:32/?UI,(byte_size(Item_UC)):32/?UI,(Item_UC)/binary, 0:(((8- ((0+byte_size(Item_UC)) band 16#7)) band 16#7))/unit:8,Pos:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), Item::string(), Pos::integer(), ClientData::term()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsinsert">external documentation</a>.
+insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos,ClientData)
+ when is_list(Item),is_integer(Pos) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ Item_UC = unicode:characters_to_binary([Item,0]),
+ wxe_util:send_bin(term_to_binary(ClientData)),
+ wxe_util:call(?wxControlWithItems_Insert_3,
+ <<ThisRef:32/?UI,(byte_size(Item_UC)):32/?UI,(Item_UC)/binary, 0:(((8- ((0+byte_size(Item_UC)) band 16#7)) band 16#7))/unit:8,Pos:32/?UI>>).
+
+%% @spec (This::wxControlWithItems()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsisempty">external documentation</a>.
+isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:call(?wxControlWithItems_IsEmpty,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemsselect">external documentation</a>.
+select(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:cast(?wxControlWithItems_Select,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemssetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ wxe_util:cast(?wxControlWithItems_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxControlWithItems(), N::integer(), S::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemssetstring">external documentation</a>.
+setString(#wx_ref{type=ThisT,ref=ThisRef},N,S)
+ when is_integer(N),is_list(S) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxControlWithItems_SetString,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((4+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxControlWithItems(), S::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcontrolwithitems.html#wxcontrolwithitemssetstringselection">external documentation</a>.
+setStringSelection(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_list(S) ->
+ ?CLASS(ThisT,wxControlWithItems),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:call(?wxControlWithItems_SetStringSelection,
+ <<ThisRef:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl
new file mode 100644
index 0000000000..4c2a46cc84
--- /dev/null
+++ b/lib/wx/src/gen/wxCursor.erl
@@ -0,0 +1,131 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html">wxCursor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxBitmap}
+%% </p>
+%% @type wxCursor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxCursor).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1,new/3,new/4,ok/1]).
+
+%% inherited exports
+-export([convertToImage/1,copyFromIcon/2,getDepth/1,getHeight/1,getMask/1,getPalette/1,
+ getSubBitmap/2,getWidth/1,loadFile/2,loadFile/3,parent_class/1,saveFile/3,
+ saveFile/4,setDepth/2,setHeight/2,setMask/2,setPalette/2,setWidth/2]).
+
+%% @hidden
+parent_class(wxBitmap) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxCursor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html#wxcursorwxcursor">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxCursor_new_0,
+ <<>>).
+
+%% @spec (X::integer()|term()) -> wxCursor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html#wxcursorwxcursor">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(CursorId::integer()) -> wxCursor() </c>
+%% </p>
+%% <p><c>
+%% new(Image::wxImage:wxImage()) -> wxCursor() </c>
+%% </p>
+new(CursorId)
+ when is_integer(CursorId) ->
+ wxe_util:construct(?wxCursor_new_1_0,
+ <<CursorId:32/?UI>>);
+new(#wx_ref{type=ImageT,ref=ImageRef}) ->
+ ?CLASS(ImageT,wxImage),
+ wxe_util:construct(?wxCursor_new_1_1,
+ <<ImageRef:32/?UI>>).
+
+%% @spec (Bits::binary(), Width::integer(), Height::integer()) -> wxCursor()
+%% @equiv new(Bits,Width,Height, [])
+new(Bits,Width,Height)
+ when is_binary(Bits),is_integer(Width),is_integer(Height) ->
+ new(Bits,Width,Height, []).
+
+%% @spec (Bits::binary(), Width::integer(), Height::integer(), [Option]) -> wxCursor()
+%% Option = {hotSpotX, integer()} | {hotSpotY, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html#wxcursorwxcursor">external documentation</a>.
+new(Bits,Width,Height, Options)
+ when is_binary(Bits),is_integer(Width),is_integer(Height),is_list(Options) ->
+ wxe_util:send_bin(Bits),
+ MOpts = fun({hotSpotX, HotSpotX}, Acc) -> [<<1:32/?UI,HotSpotX:32/?UI>>|Acc];
+ ({hotSpotY, HotSpotY}, Acc) -> [<<2:32/?UI,HotSpotY:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxCursor_new_4,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxCursor()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxcursor.html#wxcursorok">external documentation</a>.
+ok(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxCursor),
+ wxe_util:call(?wxCursor_Ok,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxCursor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxCursor),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxBitmap
+%% @hidden
+setWidth(This,Width) -> wxBitmap:setWidth(This,Width).
+%% @hidden
+setPalette(This,Palette) -> wxBitmap:setPalette(This,Palette).
+%% @hidden
+setMask(This,Mask) -> wxBitmap:setMask(This,Mask).
+%% @hidden
+setHeight(This,Height) -> wxBitmap:setHeight(This,Height).
+%% @hidden
+setDepth(This,Depth) -> wxBitmap:setDepth(This,Depth).
+%% @hidden
+saveFile(This,Name,Type, Options) -> wxBitmap:saveFile(This,Name,Type, Options).
+%% @hidden
+saveFile(This,Name,Type) -> wxBitmap:saveFile(This,Name,Type).
+%% @hidden
+loadFile(This,Name, Options) -> wxBitmap:loadFile(This,Name, Options).
+%% @hidden
+loadFile(This,Name) -> wxBitmap:loadFile(This,Name).
+%% @hidden
+getSubBitmap(This,Rect) -> wxBitmap:getSubBitmap(This,Rect).
+%% @hidden
+getWidth(This) -> wxBitmap:getWidth(This).
+%% @hidden
+getMask(This) -> wxBitmap:getMask(This).
+%% @hidden
+getPalette(This) -> wxBitmap:getPalette(This).
+%% @hidden
+getHeight(This) -> wxBitmap:getHeight(This).
+%% @hidden
+getDepth(This) -> wxBitmap:getDepth(This).
+%% @hidden
+copyFromIcon(This,Icon) -> wxBitmap:copyFromIcon(This,Icon).
+%% @hidden
+convertToImage(This) -> wxBitmap:convertToImage(This).
diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl
new file mode 100644
index 0000000000..17bf77c331
--- /dev/null
+++ b/lib/wx/src/gen/wxDC.erl
@@ -0,0 +1,831 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html">wxDC</a>.
+%% @type wxDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDC).
+-include("wxe.hrl").
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxDC(), DestPt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}, Source::wxDC(), SrcPt::{X::integer(),Y::integer()}) -> bool()
+%% @equiv blit(This,DestPt,Sz,Source,SrcPt, [])
+blit(This,DestPt={DestPtX,DestPtY},Sz={SzW,SzH},Source,SrcPt={SrcPtX,SrcPtY})
+ when is_record(This, wx_ref),is_integer(DestPtX),is_integer(DestPtY),is_integer(SzW),is_integer(SzH),is_record(Source, wx_ref),is_integer(SrcPtX),is_integer(SrcPtY) ->
+ blit(This,DestPt,Sz,Source,SrcPt, []).
+
+%% @spec (This::wxDC(), DestPt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}, Source::wxDC(), SrcPt::{X::integer(),Y::integer()}, [Option]) -> bool()
+%% Option = {rop, integer()} | {useMask, bool()} | {srcPtMask, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcblit">external documentation</a>.
+blit(#wx_ref{type=ThisT,ref=ThisRef},{DestPtX,DestPtY},{SzW,SzH},#wx_ref{type=SourceT,ref=SourceRef},{SrcPtX,SrcPtY}, Options)
+ when is_integer(DestPtX),is_integer(DestPtY),is_integer(SzW),is_integer(SzH),is_integer(SrcPtX),is_integer(SrcPtY),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(SourceT,wxDC),
+ MOpts = fun({rop, Rop}, Acc) -> [<<1:32/?UI,Rop:32/?UI>>|Acc];
+ ({useMask, UseMask}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(UseMask)):32/?UI>>|Acc];
+ ({srcPtMask, {SrcPtMaskX,SrcPtMaskY}}, Acc) -> [<<3:32/?UI,SrcPtMaskX:32/?UI,SrcPtMaskY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDC_Blit,
+ <<ThisRef:32/?UI,DestPtX:32/?UI,DestPtY:32/?UI,SzW:32/?UI,SzH:32/?UI,SourceRef:32/?UI,SrcPtX:32/?UI,SrcPtY:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdccalcboundingbox">external documentation</a>.
+calcBoundingBox(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_CalcBoundingBox,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdccomputescaleandorigin">external documentation</a>.
+computeScaleAndOrigin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_ComputeScaleAndOrigin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdccrosshair">external documentation</a>.
+crossHair(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_CrossHair,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdestroyclippingregion">external documentation</a>.
+destroyClippingRegion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DestroyClippingRegion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), X::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdevicetologicalx">external documentation</a>.
+deviceToLogicalX(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_DeviceToLogicalX,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxDC(), X::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdevicetologicalxrel">external documentation</a>.
+deviceToLogicalXRel(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_DeviceToLogicalXRel,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxDC(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdevicetologicaly">external documentation</a>.
+deviceToLogicalY(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_DeviceToLogicalY,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdevicetologicalyrel">external documentation</a>.
+deviceToLogicalYRel(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_DeviceToLogicalYRel,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt1::{X::integer(),Y::integer()}, Pt2::{X::integer(),Y::integer()}, Centre::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawarc">external documentation</a>.
+drawArc(#wx_ref{type=ThisT,ref=ThisRef},{Pt1X,Pt1Y},{Pt2X,Pt2Y},{CentreX,CentreY})
+ when is_integer(Pt1X),is_integer(Pt1Y),is_integer(Pt2X),is_integer(Pt2Y),is_integer(CentreX),is_integer(CentreY) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawArc,
+ <<ThisRef:32/?UI,Pt1X:32/?UI,Pt1Y:32/?UI,Pt2X:32/?UI,Pt2Y:32/?UI,CentreX:32/?UI,CentreY:32/?UI>>).
+
+%% @spec (This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @equiv drawBitmap(This,Bmp,Pt, [])
+drawBitmap(This,Bmp,Pt={PtX,PtY})
+ when is_record(This, wx_ref),is_record(Bmp, wx_ref),is_integer(PtX),is_integer(PtY) ->
+ drawBitmap(This,Bmp,Pt, []).
+
+%% @spec (This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(),Y::integer()}, [Option]) -> ok
+%% Option = {useMask, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawbitmap">external documentation</a>.
+drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},{PtX,PtY}, Options)
+ when is_integer(PtX),is_integer(PtY),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(BmpT,wxBitmap),
+ MOpts = fun({useMask, UseMask}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(UseMask)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxDC_DrawBitmap,
+ <<ThisRef:32/?UI,BmpRef:32/?UI,PtX:32/?UI,PtY:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawcheckmark">external documentation</a>.
+drawCheckMark(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawCheckMark,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Radius::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawcircle">external documentation</a>.
+drawCircle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Radius)
+ when is_integer(PtX),is_integer(PtY),is_integer(Radius) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawCircle,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,Radius:32/?UI>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawellipse">external documentation</a>.
+drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawEllipse_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawellipse">external documentation</a>.
+drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH})
+ when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawEllipse_2,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}, Sa::float(), Ea::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawellipticarc">external documentation</a>.
+drawEllipticArc(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Sa,Ea)
+ when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Sa),is_float(Ea) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawEllipticArc,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,SzW:32/?UI,SzH:32/?UI,0:32,Sa:64/?F,Ea:64/?F>>).
+
+%% @spec (This::wxDC(), Icon::wxIcon:wxIcon(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawicon">external documentation</a>.
+drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(IconT,wxIcon),
+ wxe_util:cast(?wxDC_DrawIcon,
+ <<ThisRef:32/?UI,IconRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxDC(), Text::string(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @equiv drawLabel(This,Text,Rect, [])
+drawLabel(This,Text,Rect={RectX,RectY,RectW,RectH})
+ when is_record(This, wx_ref),is_list(Text),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ drawLabel(This,Text,Rect, []).
+
+%% @spec (This::wxDC(), Text::string(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, [Option]) -> ok
+%% Option = {alignment, integer()} | {indexAccel, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawlabel">external documentation</a>.
+drawLabel(#wx_ref{type=ThisT,ref=ThisRef},Text,{RectX,RectY,RectW,RectH}, Options)
+ when is_list(Text),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({alignment, Alignment}, Acc) -> [<<1:32/?UI,Alignment:32/?UI>>|Acc];
+ ({indexAccel, IndexAccel}, Acc) -> [<<2:32/?UI,IndexAccel:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxDC_DrawLabel,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), Pt1::{X::integer(),Y::integer()}, Pt2::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawline">external documentation</a>.
+drawLine(#wx_ref{type=ThisT,ref=ThisRef},{Pt1X,Pt1Y},{Pt2X,Pt2Y})
+ when is_integer(Pt1X),is_integer(Pt1Y),is_integer(Pt2X),is_integer(Pt2Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawLine,
+ <<ThisRef:32/?UI,Pt1X:32/?UI,Pt1Y:32/?UI,Pt2X:32/?UI,Pt2Y:32/?UI>>).
+
+%% @spec (This::wxDC(), Points::[{X::integer(),Y::integer()}]) -> ok
+%% @equiv drawLines(This,Points, [])
+drawLines(This,Points)
+ when is_record(This, wx_ref),is_list(Points) ->
+ drawLines(This,Points, []).
+
+%% @spec (This::wxDC(), Points::[{X::integer(),Y::integer()}], [Option]) -> ok
+%% Option = {xoffset, integer()} | {yoffset, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawlines">external documentation</a>.
+drawLines(#wx_ref{type=ThisT,ref=ThisRef},Points, Options)
+ when is_list(Points),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ MOpts = fun({xoffset, Xoffset}, Acc) -> [<<1:32/?UI,Xoffset:32/?UI>>|Acc];
+ ({yoffset, Yoffset}, Acc) -> [<<2:32/?UI,Yoffset:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxDC_DrawLines,
+ <<ThisRef:32/?UI,(length(Points)):32/?UI,
+ (<< <<X:32/?I,Y:32/?I>> || {X,Y} <- Points>>)/binary, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), Points::[{X::integer(),Y::integer()}]) -> ok
+%% @equiv drawPolygon(This,Points, [])
+drawPolygon(This,Points)
+ when is_record(This, wx_ref),is_list(Points) ->
+ drawPolygon(This,Points, []).
+
+%% @spec (This::wxDC(), Points::[{X::integer(),Y::integer()}], [Option]) -> ok
+%% Option = {xoffset, integer()} | {yoffset, integer()} | {fillStyle, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawpolygon">external documentation</a>.
+drawPolygon(#wx_ref{type=ThisT,ref=ThisRef},Points, Options)
+ when is_list(Points),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ MOpts = fun({xoffset, Xoffset}, Acc) -> [<<1:32/?UI,Xoffset:32/?UI>>|Acc];
+ ({yoffset, Yoffset}, Acc) -> [<<2:32/?UI,Yoffset:32/?UI>>|Acc];
+ ({fillStyle, FillStyle}, Acc) -> [<<3:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxDC_DrawPolygon,
+ <<ThisRef:32/?UI,(length(Points)):32/?UI,
+ (<< <<X:32/?I,Y:32/?I>> || {X,Y} <- Points>>)/binary, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawpoint">external documentation</a>.
+drawPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawPoint,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawrectangle">external documentation</a>.
+drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawRectangle_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawrectangle">external documentation</a>.
+drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH})
+ when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawRectangle_2,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxDC(), Text::string(), Pt::{X::integer(),Y::integer()}, Angle::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawrotatedtext">external documentation</a>.
+drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle)
+ when is_list(Text),is_integer(PtX),is_integer(PtY),is_float(Angle) ->
+ ?CLASS(ThisT,wxDC),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxDC_DrawRotatedText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,PtX:32/?UI,PtY:32/?UI,Angle:64/?F>>).
+
+%% @spec (This::wxDC(), R::{X::integer(),Y::integer(),W::integer(),H::integer()}, Radius::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawroundedrectangle">external documentation</a>.
+drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{RX,RY,RW,RH},Radius)
+ when is_integer(RX),is_integer(RY),is_integer(RW),is_integer(RH),is_float(Radius) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawRoundedRectangle_2,
+ <<ThisRef:32/?UI,RX:32/?UI,RY:32/?UI,RW:32/?UI,RH:32/?UI,0:32,Radius:64/?F>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}, Radius::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawroundedrectangle">external documentation</a>.
+drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Radius)
+ when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Radius) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_DrawRoundedRectangle_3,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,SzW:32/?UI,SzH:32/?UI,0:32,Radius:64/?F>>).
+
+%% @spec (This::wxDC(), Text::string(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcdrawtext">external documentation</a>.
+drawText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY})
+ when is_list(Text),is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxDC),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxDC_DrawText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcenddoc">external documentation</a>.
+endDoc(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_EndDoc,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcendpage">external documentation</a>.
+endPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_EndPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Col::wx:colour()) -> bool()
+%% @equiv floodFill(This,Pt,Col, [])
+floodFill(This,Pt={PtX,PtY},Col)
+ when is_record(This, wx_ref),is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ floodFill(This,Pt,Col, []).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Col::wx:colour(), [Option]) -> bool()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcfloodfill">external documentation</a>.
+floodFill(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col, Options)
+ when is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4,is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDC_FloodFill,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,(wxe_util:colour_bin(Col)):16/binary, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxDC()) -> wxBrush:wxBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetbackground">external documentation</a>.
+getBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetbackgroundmode">external documentation</a>.
+getBackgroundMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetBackgroundMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> wxBrush:wxBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetbrush">external documentation</a>.
+getBrush(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetBrush,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetcharheight">external documentation</a>.
+getCharHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetCharHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetcharwidth">external documentation</a>.
+getCharWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetCharWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetclippingbox">external documentation</a>.
+getClippingBox(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_GetClippingBox,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxDC()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> WxLayoutDirection
+%% WxLayoutDirection = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetlayoutdirection">external documentation</a>.
+%%<br /> WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
+getLayoutDirection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetLayoutDirection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetlogicalfunction">external documentation</a>.
+getLogicalFunction(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetLogicalFunction,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetmapmode">external documentation</a>.
+getMapMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetMapMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), String::string()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetmultilinetextextent">external documentation</a>.
+getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String)
+ when is_list(String) ->
+ ?CLASS(ThisT,wxDC),
+ String_UC = unicode:characters_to_binary([String,0]),
+ wxe_util:call(?wxDC_GetMultiLineTextExtent_1,
+ <<ThisRef:32/?UI,(byte_size(String_UC)):32/?UI,(String_UC)/binary, 0:(((8- ((0+byte_size(String_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDC(), String::string(), [Option]) -> {Width::integer(),Height::integer(),HeightLine::integer()}
+%% Option = {font, wxFont:wxFont()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetmultilinetextextent">external documentation</a>.
+getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options)
+ when is_list(String),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ String_UC = unicode:characters_to_binary([String,0]),
+ MOpts = fun({font, #wx_ref{type=FontT,ref=FontRef}}, Acc) -> ?CLASS(FontT,wxFont),[<<1:32/?UI,FontRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDC_GetMultiLineTextExtent_4,
+ <<ThisRef:32/?UI,(byte_size(String_UC)):32/?UI,(String_UC)/binary, 0:(((8- ((0+byte_size(String_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxDC(), Text::string(), Widths::[integer()]) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetpartialtextextents">external documentation</a>.
+getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths)
+ when is_list(Text),is_list(Widths) ->
+ ?CLASS(ThisT,wxDC),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxDC_GetPartialTextExtents,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,(length(Widths)):32/?UI,
+ (<< <<C:32/?I>> || C <- Widths>>)/binary, 0:(((1+length(Widths)) rem 2)*32)>>).
+
+%% @spec (This::wxDC()) -> wxPen:wxPen()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetpen">external documentation</a>.
+getPen(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetPen,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Col::wx:colour()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetpixel">external documentation</a>.
+getPixel(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col)
+ when is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetPixel,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxDC()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetppi">external documentation</a>.
+getPPI(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetPPI,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetsizemm">external documentation</a>.
+getSizeMM(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetSizeMM,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgettextbackground">external documentation</a>.
+getTextBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetTextBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), String::string()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgettextextent">external documentation</a>.
+getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String)
+ when is_list(String) ->
+ ?CLASS(ThisT,wxDC),
+ String_UC = unicode:characters_to_binary([String,0]),
+ wxe_util:call(?wxDC_GetTextExtent_1,
+ <<ThisRef:32/?UI,(byte_size(String_UC)):32/?UI,(String_UC)/binary, 0:(((8- ((0+byte_size(String_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDC(), String::string(), [Option]) -> {X::integer(),Y::integer(),Descent::integer(),ExternalLeading::integer()}
+%% Option = {theFont, wxFont:wxFont()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgettextextent">external documentation</a>.
+getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options)
+ when is_list(String),is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ String_UC = unicode:characters_to_binary([String,0]),
+ MOpts = fun({theFont, #wx_ref{type=TheFontT,ref=TheFontRef}}, Acc) -> ?CLASS(TheFontT,wxFont),[<<1:32/?UI,TheFontRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDC_GetTextExtent_4,
+ <<ThisRef:32/?UI,(byte_size(String_UC)):32/?UI,(String_UC)/binary, 0:(((8- ((0+byte_size(String_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxDC()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgettextforeground">external documentation</a>.
+getTextForeground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetTextForeground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> {X::float(),Y::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgetuserscale">external documentation</a>.
+getUserScale(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_GetUserScale,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgradientfillconcentric">external documentation</a>.
+gradientFillConcentric(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4 ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_GradientFillConcentric_3,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,(wxe_util:colour_bin(InitialColour)):16/binary,(wxe_util:colour_bin(DestColour)):16/binary>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), CircleCenter::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgradientfillconcentric">external documentation</a>.
+gradientFillConcentric(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour,{CircleCenterX,CircleCenterY})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4,is_integer(CircleCenterX),is_integer(CircleCenterY) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_GradientFillConcentric_4,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,(wxe_util:colour_bin(InitialColour)):16/binary,(wxe_util:colour_bin(DestColour)):16/binary,CircleCenterX:32/?UI,CircleCenterY:32/?UI>>).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok
+%% @equiv gradientFillLinear(This,Rect,InitialColour,DestColour, [])
+gradientFillLinear(This,Rect={RectX,RectY,RectW,RectH},InitialColour,DestColour)
+ when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4 ->
+ gradientFillLinear(This,Rect,InitialColour,DestColour, []).
+
+%% @spec (This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), [Option]) -> ok
+%% Option = {nDirection, WxDirection}
+%% WxDirection = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcgradientfilllinear">external documentation</a>.
+%%<br /> WxDirection is one of ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL
+gradientFillLinear(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour, Options)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4,is_list(Options) ->
+ ?CLASS(ThisT,wxDC),
+ MOpts = fun({nDirection, NDirection}, Acc) -> [<<1:32/?UI,NDirection:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxDC_GradientFillLinear,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,(wxe_util:colour_bin(InitialColour)):16/binary,(wxe_util:colour_bin(DestColour)):16/binary, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxDC(), X::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdclogicaltodevicex">external documentation</a>.
+logicalToDeviceX(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_LogicalToDeviceX,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxDC(), X::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdclogicaltodevicexrel">external documentation</a>.
+logicalToDeviceXRel(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_LogicalToDeviceXRel,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxDC(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdclogicaltodevicey">external documentation</a>.
+logicalToDeviceY(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_LogicalToDeviceY,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdclogicaltodeviceyrel">external documentation</a>.
+logicalToDeviceYRel(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_LogicalToDeviceYRel,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcmaxx">external documentation</a>.
+maxX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_MaxX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcmaxy">external documentation</a>.
+maxY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_MaxY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcminx">external documentation</a>.
+minX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_MinX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcminy">external documentation</a>.
+minY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_MinY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:call(?wxDC_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcresetboundingbox">external documentation</a>.
+resetBoundingBox(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_ResetBoundingBox,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDC(), XLeftRight::bool(), YBottomUp::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetaxisorientation">external documentation</a>.
+setAxisOrientation(#wx_ref{type=ThisT,ref=ThisRef},XLeftRight,YBottomUp)
+ when is_boolean(XLeftRight),is_boolean(YBottomUp) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetAxisOrientation,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(XLeftRight)):32/?UI,(wxe_util:from_bool(YBottomUp)):32/?UI>>).
+
+%% @spec (This::wxDC(), Brush::wxBrush:wxBrush()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetbackground">external documentation</a>.
+setBackground(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(BrushT,wxBrush),
+ wxe_util:cast(?wxDC_SetBackground,
+ <<ThisRef:32/?UI,BrushRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetbackgroundmode">external documentation</a>.
+setBackgroundMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetBackgroundMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxDC(), Brush::wxBrush:wxBrush()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetbrush">external documentation</a>.
+setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(BrushT,wxBrush),
+ wxe_util:cast(?wxDC_SetBrush,
+ <<ThisRef:32/?UI,BrushRef:32/?UI>>).
+
+%% @spec (This::wxDC(),X::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetclippingregion">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setClippingRegion(This::wxDC(), Region::wxRegion:wxRegion()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setClippingRegion(This::wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok </c>
+%% </p>
+setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:cast(?wxDC_SetClippingRegion_1_0,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>);
+setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetClippingRegion_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxDC(), Pt::{X::integer(),Y::integer()}, Sz::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetclippingregion">external documentation</a>.
+setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH})
+ when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetClippingRegion_2,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxDC(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetdeviceorigin">external documentation</a>.
+setDeviceOrigin(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetDeviceOrigin,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxDC(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxDC_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Dir::WxLayoutDirection) -> ok
+%% WxLayoutDirection = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetlayoutdirection">external documentation</a>.
+%%<br /> WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft
+setLayoutDirection(#wx_ref{type=ThisT,ref=ThisRef},Dir)
+ when is_integer(Dir) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetLayoutDirection,
+ <<ThisRef:32/?UI,Dir:32/?UI>>).
+
+%% @spec (This::wxDC(), Function::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetlogicalfunction">external documentation</a>.
+setLogicalFunction(#wx_ref{type=ThisT,ref=ThisRef},Function)
+ when is_integer(Function) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetLogicalFunction,
+ <<ThisRef:32/?UI,Function:32/?UI>>).
+
+%% @spec (This::wxDC(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetmapmode">external documentation</a>.
+setMapMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetMapMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxDC(), Palette::wxPalette:wxPalette()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetpalette">external documentation</a>.
+setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(PaletteT,wxPalette),
+ wxe_util:cast(?wxDC_SetPalette,
+ <<ThisRef:32/?UI,PaletteRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Pen::wxPen:wxPen()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetpen">external documentation</a>.
+setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) ->
+ ?CLASS(ThisT,wxDC),
+ ?CLASS(PenT,wxPen),
+ wxe_util:cast(?wxDC_SetPen,
+ <<ThisRef:32/?UI,PenRef:32/?UI>>).
+
+%% @spec (This::wxDC(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsettextbackground">external documentation</a>.
+setTextBackground(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetTextBackground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxDC(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsettextforeground">external documentation</a>.
+setTextForeground(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetTextForeground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxDC(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcsetuserscale">external documentation</a>.
+setUserScale(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_SetUserScale,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxDC(), Message::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcstartdoc">external documentation</a>.
+startDoc(#wx_ref{type=ThisT,ref=ThisRef},Message)
+ when is_list(Message) ->
+ ?CLASS(ThisT,wxDC),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ wxe_util:call(?wxDC_StartDoc,
+ <<ThisRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcstartpage">external documentation</a>.
+startPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDC),
+ wxe_util:cast(?wxDC_StartPage,
+ <<ThisRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxDataObject.erl b/lib/wx/src/gen/wxDataObject.erl
new file mode 100644
index 0000000000..801bd3dfba
--- /dev/null
+++ b/lib/wx/src/gen/wxDataObject.erl
@@ -0,0 +1,34 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdataobject.html">wxDataObject</a>.
+%% @type wxDataObject(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDataObject).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
diff --git a/lib/wx/src/gen/wxDateEvent.erl b/lib/wx/src/gen/wxDateEvent.erl
new file mode 100644
index 0000000000..9885d6729a
--- /dev/null
+++ b/lib/wx/src/gen/wxDateEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdateevent.html">wxDateEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>date_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxDate(). #wxDate{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxDateEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDateEvent).
+-include("wxe.hrl").
+-export([getDate/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxDateEvent()) -> wx:datetime()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdateevent.html#wxdateeventgetdate">external documentation</a>.
+getDate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDateEvent),
+ wxe_util:call(?wxDateEvent_GetDate,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxDatePickerCtrl.erl b/lib/wx/src/gen/wxDatePickerCtrl.erl
new file mode 100644
index 0000000000..b9ac9cdbad
--- /dev/null
+++ b/lib/wx/src/gen/wxDatePickerCtrl.erl
@@ -0,0 +1,540 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html">wxDatePickerCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPickerBase}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxDatePickerCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDatePickerCtrl).
+-include("wxe.hrl").
+-export([destroy/1,getRange/3,getValue/1,new/0,new/2,new/3,setRange/3,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getInternalMargin/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPickerCtrlProportion/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextCtrl/1,getTextCtrlProportion/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTextCtrl/1,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isPickerCtrlGrowable/1,isRetained/1,
+ isShown/1,isTextCtrlGrowable/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setInternalMargin/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,
+ setPickerCtrlProportion/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,
+ setScrollbar/6,setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,
+ setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,
+ setSizerAndFit/3,setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPickerBase) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxDatePickerCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlwxdatepickerctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxDatePickerCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxDatePickerCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxDatePickerCtrl()
+%% Option = {date, wx:datetime()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlwxdatepickerctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({date, Date}, Acc) -> [<<1:32/?UI,(wxe_util:datetime_bin(Date)):24/binary,0:32>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxDatePickerCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxDatePickerCtrl(), Dt1::wx:datetime(), Dt2::wx:datetime()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlgetrange">external documentation</a>.
+getRange(#wx_ref{type=ThisT,ref=ThisRef},Dt1,Dt2)
+ when tuple_size(Dt1) =:= 2,tuple_size(Dt2) =:= 2 ->
+ ?CLASS(ThisT,wxDatePickerCtrl),
+ wxe_util:call(?wxDatePickerCtrl_GetRange,
+ <<ThisRef:32/?UI,(wxe_util:datetime_bin(Dt1)):24/binary,(wxe_util:datetime_bin(Dt2)):24/binary>>).
+
+%% @spec (This::wxDatePickerCtrl()) -> wx:datetime()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDatePickerCtrl),
+ wxe_util:call(?wxDatePickerCtrl_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDatePickerCtrl(), Dt1::wx:datetime(), Dt2::wx:datetime()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlsetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},Dt1,Dt2)
+ when tuple_size(Dt1) =:= 2,tuple_size(Dt2) =:= 2 ->
+ ?CLASS(ThisT,wxDatePickerCtrl),
+ wxe_util:cast(?wxDatePickerCtrl_SetRange,
+ <<ThisRef:32/?UI,(wxe_util:datetime_bin(Dt1)):24/binary,(wxe_util:datetime_bin(Dt2)):24/binary>>).
+
+%% @spec (This::wxDatePickerCtrl(), Date::wx:datetime()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdatepickerctrl.html#wxdatepickerctrlsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Date)
+ when tuple_size(Date) =:= 2 ->
+ ?CLASS(ThisT,wxDatePickerCtrl),
+ wxe_util:cast(?wxDatePickerCtrl_SetValue,
+ <<ThisRef:32/?UI,(wxe_util:datetime_bin(Date)):24/binary>>).
+
+%% @spec (This::wxDatePickerCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxDatePickerCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPickerBase
+%% @hidden
+isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This).
+%% @hidden
+setTextCtrlGrowable(This, Options) -> wxPickerBase:setTextCtrlGrowable(This, Options).
+%% @hidden
+setTextCtrlGrowable(This) -> wxPickerBase:setTextCtrlGrowable(This).
+%% @hidden
+setPickerCtrlGrowable(This, Options) -> wxPickerBase:setPickerCtrlGrowable(This, Options).
+%% @hidden
+setPickerCtrlGrowable(This) -> wxPickerBase:setPickerCtrlGrowable(This).
+%% @hidden
+isTextCtrlGrowable(This) -> wxPickerBase:isTextCtrlGrowable(This).
+%% @hidden
+getTextCtrl(This) -> wxPickerBase:getTextCtrl(This).
+%% @hidden
+hasTextCtrl(This) -> wxPickerBase:hasTextCtrl(This).
+%% @hidden
+getPickerCtrlProportion(This) -> wxPickerBase:getPickerCtrlProportion(This).
+%% @hidden
+getTextCtrlProportion(This) -> wxPickerBase:getTextCtrlProportion(This).
+%% @hidden
+setPickerCtrlProportion(This,Prop) -> wxPickerBase:setPickerCtrlProportion(This,Prop).
+%% @hidden
+setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop).
+%% @hidden
+getInternalMargin(This) -> wxPickerBase:getInternalMargin(This).
+%% @hidden
+setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxDialog.erl b/lib/wx/src/gen/wxDialog.erl
new file mode 100644
index 0000000000..75b8064bf7
--- /dev/null
+++ b/lib/wx/src/gen/wxDialog.erl
@@ -0,0 +1,630 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html">wxDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDialog).
+-include("wxe.hrl").
+-export([create/4,create/5,createButtonSizer/2,createStdDialogButtonSizer/2,
+ destroy/1,endModal/2,getAffirmativeId/1,getReturnCode/1,isModal/1,
+ new/0,new/3,new/4,setAffirmativeId/2,setReturnCode/2,show/1,show/2,showModal/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,
+ getScrollPos/2,getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,
+ getTextExtent/2,getTextExtent/3,getTitle/1,getToolTip/1,getUpdateRegion/1,
+ getVirtualSize/1,getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,
+ hasScrollbar/2,hasTransparentBackground/1,hide/1,iconize/1,iconize/2,
+ inheritAttributes/1,initDialog/1,invalidateBestSize/1,isActive/1,
+ isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,isIconized/1,
+ isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,
+ lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,requestUserAttention/1,
+ requestUserAttention/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,setTitle/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,showFullScreen/2,showFullScreen/3,
+ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogwxdialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxDialog()
+%% @equiv new(Parent,Id,Title, [])
+new(Parent,Id,Title)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ new(Parent,Id,Title, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxDialog()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogwxdialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxDialog_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Id,Title, [])
+create(This,Parent,Id,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ create(This,Parent,Id,Title, []).
+
+%% @spec (This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxDialog),
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDialog_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxDialog(), Flags::integer()) -> wxSizer:wxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogcreatebuttonsizer">external documentation</a>.
+createButtonSizer(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_CreateButtonSizer,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxDialog(), Flags::integer()) -> wxStdDialogButtonSizer:wxStdDialogButtonSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogcreatestddialogbuttonsizer">external documentation</a>.
+createStdDialogButtonSizer(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_CreateStdDialogButtonSizer,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxDialog(), RetCode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogendmodal">external documentation</a>.
+endModal(#wx_ref{type=ThisT,ref=ThisRef},RetCode)
+ when is_integer(RetCode) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:cast(?wxDialog_EndModal,
+ <<ThisRef:32/?UI,RetCode:32/?UI>>).
+
+%% @spec (This::wxDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialoggetaffirmativeid">external documentation</a>.
+getAffirmativeId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_GetAffirmativeId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialoggetreturncode">external documentation</a>.
+getReturnCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_GetReturnCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDialog()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogismodal">external documentation</a>.
+isModal(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_IsModal,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDialog(), AffirmativeId::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogsetaffirmativeid">external documentation</a>.
+setAffirmativeId(#wx_ref{type=ThisT,ref=ThisRef},AffirmativeId)
+ when is_integer(AffirmativeId) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:cast(?wxDialog_SetAffirmativeId,
+ <<ThisRef:32/?UI,AffirmativeId:32/?UI>>).
+
+%% @spec (This::wxDialog(), ReturnCode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogsetreturncode">external documentation</a>.
+setReturnCode(#wx_ref{type=ThisT,ref=ThisRef},ReturnCode)
+ when is_integer(ReturnCode) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:cast(?wxDialog_SetReturnCode,
+ <<ThisRef:32/?UI,ReturnCode:32/?UI>>).
+
+%% @spec (This::wxDialog()) -> bool()
+%% @equiv show(This, [])
+show(This)
+ when is_record(This, wx_ref) ->
+ show(This, []).
+
+%% @spec (This::wxDialog(), [Option]) -> bool()
+%% Option = {show, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxDialog),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDialog_Show,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html#wxdialogshowmodal">external documentation</a>.
+showModal(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDialog),
+ wxe_util:call(?wxDialog_ShowModal,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxDirDialog.erl b/lib/wx/src/gen/wxDirDialog.erl
new file mode 100644
index 0000000000..4329be13bd
--- /dev/null
+++ b/lib/wx/src/gen/wxDirDialog.erl
@@ -0,0 +1,574 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html">wxDirDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxDirDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDirDialog).
+-include("wxe.hrl").
+-export([destroy/1,getMessage/1,getPath/1,new/1,new/2,setMessage/2,setPath/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxDirDialog()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxDirDialog()
+%% Option = {title, string()} | {defaultPath, string()} | {style, integer()} | {pos, {X::integer(),Y::integer()}} | {sz, {W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html#wxdirdialogwxdirdialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({title, Title}, Acc) -> Title_UC = unicode:characters_to_binary([Title,0]),[<<1:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({defaultPath, DefaultPath}, Acc) -> DefaultPath_UC = unicode:characters_to_binary([DefaultPath,0]),[<<2:32/?UI,(byte_size(DefaultPath_UC)):32/?UI,(DefaultPath_UC)/binary, 0:(((8- ((0+byte_size(DefaultPath_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<4:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({sz, {SzW,SzH}}, Acc) -> [<<5:32/?UI,SzW:32/?UI,SzH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxDirDialog_new,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxDirDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html#wxdirdialoggetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDirDialog),
+ wxe_util:call(?wxDirDialog_GetPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDirDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html#wxdirdialoggetmessage">external documentation</a>.
+getMessage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDirDialog),
+ wxe_util:call(?wxDirDialog_GetMessage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDirDialog(), Message::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html#wxdirdialogsetmessage">external documentation</a>.
+setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message)
+ when is_list(Message) ->
+ ?CLASS(ThisT,wxDirDialog),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ wxe_util:cast(?wxDirDialog_SetMessage,
+ <<ThisRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDirDialog(), Path::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirdialog.html#wxdirdialogsetpath">external documentation</a>.
+setPath(#wx_ref{type=ThisT,ref=ThisRef},Path)
+ when is_list(Path) ->
+ ?CLASS(ThisT,wxDirDialog),
+ Path_UC = unicode:characters_to_binary([Path,0]),
+ wxe_util:cast(?wxDirDialog_SetPath,
+ <<ThisRef:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDirDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxDirDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxDirPickerCtrl.erl b/lib/wx/src/gen/wxDirPickerCtrl.erl
new file mode 100644
index 0000000000..787d3606f5
--- /dev/null
+++ b/lib/wx/src/gen/wxDirPickerCtrl.erl
@@ -0,0 +1,550 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html">wxDirPickerCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPickerBase}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxDirPickerCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDirPickerCtrl).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getPath/1,new/0,new/2,new/3,setPath/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getInternalMargin/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPickerCtrlProportion/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextCtrl/1,getTextCtrlProportion/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTextCtrl/1,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isPickerCtrlGrowable/1,isRetained/1,
+ isShown/1,isTextCtrlGrowable/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setInternalMargin/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,
+ setPickerCtrlProportion/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,
+ setScrollbar/6,setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,
+ setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,
+ setSizerAndFit/3,setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPickerBase) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxDirPickerCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html#wxdirpickerctrlwxdirpickerctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxDirPickerCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxDirPickerCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxDirPickerCtrl()
+%% Option = {path, string()} | {message, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html#wxdirpickerctrlwxdirpickerctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({path, Path}, Acc) -> Path_UC = unicode:characters_to_binary([Path,0]),[<<1:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({message, Message}, Acc) -> Message_UC = unicode:characters_to_binary([Message,0]),[<<2:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<6:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxDirPickerCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {path, string()} | {message, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html#wxdirpickerctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxDirPickerCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({path, Path}, Acc) -> Path_UC = unicode:characters_to_binary([Path,0]),[<<1:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({message, Message}, Acc) -> Message_UC = unicode:characters_to_binary([Message,0]),[<<2:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<6:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxDirPickerCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxDirPickerCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html#wxdirpickerctrlgetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxDirPickerCtrl),
+ wxe_util:call(?wxDirPickerCtrl_GetPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxDirPickerCtrl(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdirpickerctrl.html#wxdirpickerctrlsetpath">external documentation</a>.
+setPath(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxDirPickerCtrl),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxDirPickerCtrl_SetPath,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxDirPickerCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxDirPickerCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPickerBase
+%% @hidden
+isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This).
+%% @hidden
+setTextCtrlGrowable(This, Options) -> wxPickerBase:setTextCtrlGrowable(This, Options).
+%% @hidden
+setTextCtrlGrowable(This) -> wxPickerBase:setTextCtrlGrowable(This).
+%% @hidden
+setPickerCtrlGrowable(This, Options) -> wxPickerBase:setPickerCtrlGrowable(This, Options).
+%% @hidden
+setPickerCtrlGrowable(This) -> wxPickerBase:setPickerCtrlGrowable(This).
+%% @hidden
+isTextCtrlGrowable(This) -> wxPickerBase:isTextCtrlGrowable(This).
+%% @hidden
+getTextCtrl(This) -> wxPickerBase:getTextCtrl(This).
+%% @hidden
+hasTextCtrl(This) -> wxPickerBase:hasTextCtrl(This).
+%% @hidden
+getPickerCtrlProportion(This) -> wxPickerBase:getPickerCtrlProportion(This).
+%% @hidden
+getTextCtrlProportion(This) -> wxPickerBase:getTextCtrlProportion(This).
+%% @hidden
+setPickerCtrlProportion(This,Prop) -> wxPickerBase:setPickerCtrlProportion(This,Prop).
+%% @hidden
+setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop).
+%% @hidden
+getInternalMargin(This) -> wxPickerBase:getInternalMargin(This).
+%% @hidden
+setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxDisplayChangedEvent.erl b/lib/wx/src/gen/wxDisplayChangedEvent.erl
new file mode 100644
index 0000000000..280a51ffc2
--- /dev/null
+++ b/lib/wx/src/gen/wxDisplayChangedEvent.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxdisplaychangedevent.html">wxDisplayChangedEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>display_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxDisplayChanged(). #wxDisplayChanged{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxDisplayChangedEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxDisplayChangedEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxEraseEvent.erl b/lib/wx/src/gen/wxEraseEvent.erl
new file mode 100644
index 0000000000..66fc161aba
--- /dev/null
+++ b/lib/wx/src/gen/wxEraseEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxeraseevent.html">wxEraseEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>erase_background</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxErase(). #wxErase{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxEraseEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxEraseEvent).
+-include("wxe.hrl").
+-export([getDC/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxEraseEvent()) -> wxDC:wxDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxeraseevent.html#wxeraseeventgetdc">external documentation</a>.
+getDC(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEraseEvent),
+ wxe_util:call(?wxEraseEvent_GetDC,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxEvent.erl b/lib/wx/src/gen/wxEvent.erl
new file mode 100644
index 0000000000..dda4c0189d
--- /dev/null
+++ b/lib/wx/src/gen/wxEvent.erl
@@ -0,0 +1,103 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html">wxEvent</a>.
+%% @type wxEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxEvent).
+-include("wxe.hrl").
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,resumePropagation/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventgetid">external documentation</a>.
+getId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_GetId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventgetskipped">external documentation</a>.
+getSkipped(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_GetSkipped,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventgettimestamp">external documentation</a>.
+getTimestamp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_GetTimestamp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventiscommandevent">external documentation</a>.
+isCommandEvent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_IsCommandEvent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxEvent(), PropagationLevel::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventresumepropagation">external documentation</a>.
+resumePropagation(#wx_ref{type=ThisT,ref=ThisRef},PropagationLevel)
+ when is_integer(PropagationLevel) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:cast(?wxEvent_ResumePropagation,
+ <<ThisRef:32/?UI,PropagationLevel:32/?UI>>).
+
+%% @spec (This::wxEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventshouldpropagate">external documentation</a>.
+shouldPropagate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_ShouldPropagate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxEvent()) -> ok
+%% @equiv skip(This, [])
+skip(This)
+ when is_record(This, wx_ref) ->
+ skip(This, []).
+
+%% @spec (This::wxEvent(), [Option]) -> ok
+%% Option = {skip, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventskip">external documentation</a>.
+skip(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxEvent),
+ MOpts = fun({skip, Skip}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Skip)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxEvent_Skip,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevent.html#wxeventstoppropagation">external documentation</a>.
+stopPropagation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxEvent),
+ wxe_util:call(?wxEvent_StopPropagation,
+ <<ThisRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxEvtHandler.erl b/lib/wx/src/gen/wxEvtHandler.erl
new file mode 100644
index 0000000000..0d4e224fc5
--- /dev/null
+++ b/lib/wx/src/gen/wxEvtHandler.erl
@@ -0,0 +1,203 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% This module is actually handwritten see ../api_gen/wx_extra/wxEvtHandler.erl
+%%
+%% @doc The Event handler.
+%%
+%% To get events from wxwidgets objects you subscribe to them by
+%% calling connect/[2-3]. Events are sent as messages, if no callback
+%% was supplied These messages will be {@link wx(). #wx{}} where
+%% EventRecord is a record that depends on the {@link
+%% wxEventType(). event type}. The records are defined in:
+%% wx/include/wx.hrl.
+%%
+%% If a callback was supplied to connect, the callback will be invoked
+%% (in another process) to handle the event. The callback should be of
+%% arity 2. fun(EventRecord::wx(), EventObject::wxObject()).
+%%
+%% Beware that the callback will be in executed in new process each time.
+%%
+%% <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevthandler.html">
+%% The orginal documentation</a>.
+%%
+%% @headerfile "../../include/wx.hrl"
+%%
+%%@type wxEvtHandler(). An object reference
+
+-module(wxEvtHandler).
+-include("wxe.hrl").
+-include("../include/wx.hrl").
+
+%% API
+-export([connect/2, connect/3, disconnect/1, disconnect/2, disconnect/3]).
+
+%% internal exports
+-export([connect_impl/3, disconnect_impl/2, disconnect_impl/3,
+ new_evt_listener/0, destroy_evt_listener/1,
+ get_callback/1, replace_fun_with_id/2]).
+
+-record(evh, {et=null,id=?wxID_ANY,lastId=?wxID_ANY,skip=undefined,userdata=[],cb=0}).
+
+
+
+%% @spec (This::wxEvtHandler(), EventType::wxEventType()) -> ok
+%% @doc Equivalent to {@link connect/3. connect(This, EventType, [])}
+
+connect(This, EventType) ->
+ connect(This, EventType, []).
+
+%% @spec (This::wxEvtHandler(), EventType::wxEventType(), [Options]) -> ok
+%% @doc This function subscribes the to events of EventType,
+%% in the range id, lastId. The events will be received as messages
+%% if no callback is supplied.
+%%
+%% Options:
+%% {id, integer()}, The identifier (or first of the identifier range) to be
+%% associated with this event handler.
+%% Default ?wxID_ANY
+%% {lastId, integer()}, The second part of the identifier range.
+%% If used 'id' must be set as the starting identifier range.
+%% Default ?wxID_ANY
+%% {skip, boolean()}, If skip is true further event_handlers will be called.
+%% This is not used if the 'callback' option is used.
+%% Default false.
+%% {callback, function()} Use a callback fun(EventRecord::wx(), EventObject::wxObject())
+%% to process the event. Default not specfied i.e. a message will
+%% be delivered to the process calling this function.
+%% {userData, term()} An erlang term that will be sent with the event. Default: [].
+connect(This=#wx_ref{type=ThisT}, EventType, Options) ->
+ EvH = parse_opts(Options, #evh{et=EventType}),
+ ?CLASS(ThisT,wxEvtHandler),
+ case wxe_util:connect_cb(This, EvH) of
+ ok -> ok;
+ {badarg, event_type} ->
+ erlang:error({badarg,EventType})
+ end.
+
+parse_opts([{callback,Fun}|R], Opts) when is_function(Fun) ->
+ %% Check Fun Arity?
+ parse_opts(R, Opts#evh{cb=Fun});
+parse_opts([callback|R], Opts) ->
+ parse_opts(R, Opts#evh{cb=1});
+parse_opts([{userData, UserData}|R],Opts) ->
+ parse_opts(R, Opts#evh{userdata=UserData});
+parse_opts([{skip, Skip}|R],Opts) when is_boolean(Skip) ->
+ parse_opts(R, Opts#evh{skip=Skip});
+parse_opts([{id, Id}|R],Opts) when is_integer(Id) ->
+ parse_opts(R, Opts#evh{id=Id});
+parse_opts([{lastId, Id}|R],Opts) when is_integer(Id) ->
+ parse_opts(R, Opts#evh{lastId=Id});
+parse_opts([_BadArg|R], Opts) ->
+ parse_opts(R, Opts);
+parse_opts([], Opts = #evh{id=Id,lastId=Lid,skip=Skip, cb=CB}) ->
+ if
+ Skip =/= undefined andalso CB =/= 0 ->
+ erlang:error({badarg, {combined, skip, callback}});
+ Lid =/= ?wxID_ANY andalso Id =:= ?wxID_ANY ->
+ erlang:error({badarg, no_start_identifier_range});
+ Skip =:= undefined -> %% Default
+ Opts#evh{skip=false};
+ true ->
+ Opts
+ end.
+
+%% @spec (This::wxEvtHandler()) -> true | false
+%% @doc Equivalent to {@link disconnect/3. disconnect(This, null, [])}
+%% Can also have an optional callback Fun() as an additional last argument.
+
+disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}) ->
+ ?CLASS(ThisT,wxEvtHandler),
+ disconnect(This, null, []).
+
+%% @spec (This::wxEvtHandler(), EventType::wxEventType()) -> true | false
+%% @doc Equivalent to {@link disconnect/3. disconnect(This, EventType, [])}
+disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}, EventType) when is_atom(EventType) ->
+ ?CLASS(ThisT,wxEvtHandler),
+ disconnect(This, EventType, []).
+
+%% @spec (This::wxEvtHandler(), EventType::wxEventType(), Opts) -> true | false
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevthandler.html#wxevthandlerdisconnect">external documentation</a>
+%% This function unsubscribes the process or callback fun from the event handler.
+%% EventType may be the atom 'null' to match any eventtype.
+%% Notice that the options skip and userdata is not used to match the eventhandler.
+disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}, EventType, Opts) ->
+ ?CLASS(ThisT,wxEvtHandler),
+ EvH = parse_opts(Opts, #evh{et=EventType}),
+ case wxe_util:disconnect_cb(This, EvH) of
+ {badarg, event_type} ->
+ erlang:error({badarg,EventType});
+ Bool ->
+ Bool
+ end.
+
+
+%% @hidden
+connect_impl(#wx_ref{type=wxeEvtListener,ref=EvtList},
+ #wx_ref{type=ThisT,ref=ThisRef},
+ #evh{id=Winid, lastId=LastId, et=EventType,
+ skip=Skip, userdata=Userdata, cb=FunID})
+ when is_integer(FunID)->
+ EventTypeBin = list_to_binary([atom_to_list(EventType)|[0]]),
+ ThisTypeBin = list_to_binary([atom_to_list(ThisT)|[0]]),
+ UD = if Userdata =:= [] -> 0;
+ true ->
+ wxe_util:send_bin(term_to_binary(Userdata)),
+ 1
+ end,
+ wxe_util:call(100, <<EvtList:32/?UI,ThisRef:32/?UI,
+ Winid:32/?UI,LastId:32/?UI,
+ (wxe_util:from_bool(Skip)):32/?UI,
+ UD:32/?UI,
+ FunID:32/?UI,
+ (size(EventTypeBin)):32/?UI,
+ (size(ThisTypeBin)):32/?UI,
+ %% Note no alignment
+ EventTypeBin/binary,ThisTypeBin/binary>>).
+
+%% @hidden
+disconnect_impl(Listener, Object) ->
+ disconnect_impl(Listener, Object, #evh{}).
+%% @hidden
+disconnect_impl(#wx_ref{type=wxeEvtListener,ref=EvtList},
+ #wx_ref{type=_ThisT,ref=ThisRef},
+ #evh{id=Winid, lastId=LastId, et=EventType}) ->
+ EventTypeBin = list_to_binary([atom_to_list(EventType)|[0]]),
+ wxe_util:call(101, <<EvtList:32/?UI,
+ ThisRef:32/?UI,Winid:32/?UI,LastId:32/?UI,
+ (size(EventTypeBin)):32/?UI,
+ %% Note no alignment
+ EventTypeBin/binary>>).
+
+%% @hidden
+new_evt_listener() ->
+ wxe_util:call(98, <<>>).
+
+%% @hidden
+destroy_evt_listener(#wx_ref{type=wxeEvtListener,ref=EvtList}) ->
+ wxe_util:call(99, <<EvtList:32/?UI>>).
+
+%% @hidden
+get_callback(#evh{cb=Callback}) ->
+ Callback.
+
+%% @hidden
+replace_fun_with_id(Evh, Id) ->
+ Evh#evh{cb=Id}.
+
diff --git a/lib/wx/src/gen/wxFileDataObject.erl b/lib/wx/src/gen/wxFileDataObject.erl
new file mode 100644
index 0000000000..513f15eb00
--- /dev/null
+++ b/lib/wx/src/gen/wxFileDataObject.erl
@@ -0,0 +1,67 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html">wxFileDataObject</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDataObject}
+%% </p>
+%% @type wxFileDataObject(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFileDataObject).
+-include("wxe.hrl").
+-export([addFile/2,destroy/1,getFilenames/1,new/0]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(wxDataObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFileDataObject()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html#wxfiledataobjectwxfiledataobject">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFileDataObject_new,
+ <<>>).
+
+%% @spec (This::wxFileDataObject(), Filename::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html#wxfiledataobjectaddfile">external documentation</a>.
+addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename)
+ when is_list(Filename) ->
+ ?CLASS(ThisT,wxFileDataObject),
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ wxe_util:cast(?wxFileDataObject_AddFile,
+ <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDataObject()) -> [[string()]]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html#wxfiledataobjectgetfilenames">external documentation</a>.
+getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDataObject),
+ wxe_util:call(?wxFileDataObject_GetFilenames,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDataObject()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFileDataObject),
+ wxe_util:destroy(?wxFileDataObject_destroy,Obj),
+ ok.
+ %% From wxDataObject
diff --git a/lib/wx/src/gen/wxFileDialog.erl b/lib/wx/src/gen/wxFileDialog.erl
new file mode 100644
index 0000000000..22b39aa150
--- /dev/null
+++ b/lib/wx/src/gen/wxFileDialog.erl
@@ -0,0 +1,658 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html">wxFileDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFileDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFileDialog).
+-include("wxe.hrl").
+-export([destroy/1,getDirectory/1,getFilename/1,getFilenames/1,getFilterIndex/1,
+ getMessage/1,getPath/1,getPaths/2,getWildcard/1,new/1,new/2,setDirectory/2,
+ setFilename/2,setFilterIndex/2,setMessage/2,setPath/2,setWildcard/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxFileDialog()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxFileDialog()
+%% Option = {message, string()} | {defaultDir, string()} | {defaultFile, string()} | {wildCard, string()} | {style, integer()} | {pos, {X::integer(),Y::integer()}} | {sz, {W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogwxfiledialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({message, Message}, Acc) -> Message_UC = unicode:characters_to_binary([Message,0]),[<<1:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({defaultDir, DefaultDir}, Acc) -> DefaultDir_UC = unicode:characters_to_binary([DefaultDir,0]),[<<2:32/?UI,(byte_size(DefaultDir_UC)):32/?UI,(DefaultDir_UC)/binary, 0:(((8- ((0+byte_size(DefaultDir_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({defaultFile, DefaultFile}, Acc) -> DefaultFile_UC = unicode:characters_to_binary([DefaultFile,0]),[<<3:32/?UI,(byte_size(DefaultFile_UC)):32/?UI,(DefaultFile_UC)/binary, 0:(((8- ((0+byte_size(DefaultFile_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({wildCard, WildCard}, Acc) -> WildCard_UC = unicode:characters_to_binary([WildCard,0]),[<<4:32/?UI,(byte_size(WildCard_UC)):32/?UI,(WildCard_UC)/binary, 0:(((8- ((0+byte_size(WildCard_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<6:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({sz, {SzW,SzH}}, Acc) -> [<<7:32/?UI,SzW:32/?UI,SzH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFileDialog_new,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxFileDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetdirectory">external documentation</a>.
+getDirectory(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetDirectory,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetfilename">external documentation</a>.
+getFilename(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetFilename,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog()) -> [[string()]]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetfilenames">external documentation</a>.
+getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetFilenames,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetfilterindex">external documentation</a>.
+getFilterIndex(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetFilterIndex,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetmessage">external documentation</a>.
+getMessage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetMessage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog(), Paths::[[string()]]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetpaths">external documentation</a>.
+getPaths(#wx_ref{type=ThisT,ref=ThisRef},Paths)
+ when is_list(Paths) ->
+ ?CLASS(ThisT,wxFileDialog),
+ Paths_UCA = [unicode:characters_to_binary([PathsTemp,0]) ||
+ PathsTemp <- Paths],
+ wxe_util:cast(?wxFileDialog_GetPaths,
+ <<ThisRef:32/?UI,(length(Paths_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Paths_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Paths_UCA])) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetwildcard">external documentation</a>.
+getWildcard(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:call(?wxFileDialog_GetWildcard,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFileDialog(), Dir::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetdirectory">external documentation</a>.
+setDirectory(#wx_ref{type=ThisT,ref=ThisRef},Dir)
+ when is_list(Dir) ->
+ ?CLASS(ThisT,wxFileDialog),
+ Dir_UC = unicode:characters_to_binary([Dir,0]),
+ wxe_util:cast(?wxFileDialog_SetDirectory,
+ <<ThisRef:32/?UI,(byte_size(Dir_UC)):32/?UI,(Dir_UC)/binary, 0:(((8- ((0+byte_size(Dir_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog(), Name::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetfilename">external documentation</a>.
+setFilename(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxFileDialog),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:cast(?wxFileDialog_SetFilename,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog(), FilterIndex::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetfilterindex">external documentation</a>.
+setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},FilterIndex)
+ when is_integer(FilterIndex) ->
+ ?CLASS(ThisT,wxFileDialog),
+ wxe_util:cast(?wxFileDialog_SetFilterIndex,
+ <<ThisRef:32/?UI,FilterIndex:32/?UI>>).
+
+%% @spec (This::wxFileDialog(), Message::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetmessage">external documentation</a>.
+setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message)
+ when is_list(Message) ->
+ ?CLASS(ThisT,wxFileDialog),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ wxe_util:cast(?wxFileDialog_SetMessage,
+ <<ThisRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog(), Path::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetpath">external documentation</a>.
+setPath(#wx_ref{type=ThisT,ref=ThisRef},Path)
+ when is_list(Path) ->
+ ?CLASS(ThisT,wxFileDialog),
+ Path_UC = unicode:characters_to_binary([Path,0]),
+ wxe_util:cast(?wxFileDialog_SetPath,
+ <<ThisRef:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog(), WildCard::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialogsetwildcard">external documentation</a>.
+setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard)
+ when is_list(WildCard) ->
+ ?CLASS(ThisT,wxFileDialog),
+ WildCard_UC = unicode:characters_to_binary([WildCard,0]),
+ wxe_util:cast(?wxFileDialog_SetWildcard,
+ <<ThisRef:32/?UI,(byte_size(WildCard_UC)):32/?UI,(WildCard_UC)/binary, 0:(((8- ((0+byte_size(WildCard_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFileDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFileDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxFileDirPickerEvent.erl b/lib/wx/src/gen/wxFileDirPickerEvent.erl
new file mode 100644
index 0000000000..0f9166e542
--- /dev/null
+++ b/lib/wx/src/gen/wxFileDirPickerEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledirpickerevent.html">wxFileDirPickerEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_filepicker_changed</em>, <em>command_dirpicker_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxFileDirPicker(). #wxFileDirPicker{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxFileDirPickerEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFileDirPickerEvent).
+-include("wxe.hrl").
+-export([getPath/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxFileDirPickerEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledirpickerevent.html#wxfiledirpickereventgetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFileDirPickerEvent),
+ wxe_util:call(?wxFileDirPickerEvent_GetPath,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxFilePickerCtrl.erl b/lib/wx/src/gen/wxFilePickerCtrl.erl
new file mode 100644
index 0000000000..c182d20f36
--- /dev/null
+++ b/lib/wx/src/gen/wxFilePickerCtrl.erl
@@ -0,0 +1,552 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html">wxFilePickerCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPickerBase}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFilePickerCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFilePickerCtrl).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getPath/1,new/0,new/2,new/3,setPath/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getInternalMargin/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPickerCtrlProportion/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextCtrl/1,getTextCtrlProportion/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTextCtrl/1,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isPickerCtrlGrowable/1,isRetained/1,
+ isShown/1,isTextCtrlGrowable/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setInternalMargin/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,
+ setPickerCtrlProportion/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,
+ setScrollbar/6,setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,
+ setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,
+ setSizerAndFit/3,setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPickerBase) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFilePickerCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html#wxfilepickerctrlwxfilepickerctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFilePickerCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxFilePickerCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxFilePickerCtrl()
+%% Option = {path, string()} | {message, string()} | {wildcard, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html#wxfilepickerctrlwxfilepickerctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({path, Path}, Acc) -> Path_UC = unicode:characters_to_binary([Path,0]),[<<1:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({message, Message}, Acc) -> Message_UC = unicode:characters_to_binary([Message,0]),[<<2:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({wildcard, Wildcard}, Acc) -> Wildcard_UC = unicode:characters_to_binary([Wildcard,0]),[<<3:32/?UI,(byte_size(Wildcard_UC)):32/?UI,(Wildcard_UC)/binary, 0:(((8- ((0+byte_size(Wildcard_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<4:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<5:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<6:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<7:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFilePickerCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {path, string()} | {message, string()} | {wildcard, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html#wxfilepickerctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxFilePickerCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({path, Path}, Acc) -> Path_UC = unicode:characters_to_binary([Path,0]),[<<1:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({message, Message}, Acc) -> Message_UC = unicode:characters_to_binary([Message,0]),[<<2:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({wildcard, Wildcard}, Acc) -> Wildcard_UC = unicode:characters_to_binary([Wildcard,0]),[<<3:32/?UI,(byte_size(Wildcard_UC)):32/?UI,(Wildcard_UC)/binary, 0:(((8- ((0+byte_size(Wildcard_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<4:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<5:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<6:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<7:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFilePickerCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxFilePickerCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html#wxfilepickerctrlgetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFilePickerCtrl),
+ wxe_util:call(?wxFilePickerCtrl_GetPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFilePickerCtrl(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfilepickerctrl.html#wxfilepickerctrlsetpath">external documentation</a>.
+setPath(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxFilePickerCtrl),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxFilePickerCtrl_SetPath,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFilePickerCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFilePickerCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPickerBase
+%% @hidden
+isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This).
+%% @hidden
+setTextCtrlGrowable(This, Options) -> wxPickerBase:setTextCtrlGrowable(This, Options).
+%% @hidden
+setTextCtrlGrowable(This) -> wxPickerBase:setTextCtrlGrowable(This).
+%% @hidden
+setPickerCtrlGrowable(This, Options) -> wxPickerBase:setPickerCtrlGrowable(This, Options).
+%% @hidden
+setPickerCtrlGrowable(This) -> wxPickerBase:setPickerCtrlGrowable(This).
+%% @hidden
+isTextCtrlGrowable(This) -> wxPickerBase:isTextCtrlGrowable(This).
+%% @hidden
+getTextCtrl(This) -> wxPickerBase:getTextCtrl(This).
+%% @hidden
+hasTextCtrl(This) -> wxPickerBase:hasTextCtrl(This).
+%% @hidden
+getPickerCtrlProportion(This) -> wxPickerBase:getPickerCtrlProportion(This).
+%% @hidden
+getTextCtrlProportion(This) -> wxPickerBase:getTextCtrlProportion(This).
+%% @hidden
+setPickerCtrlProportion(This,Prop) -> wxPickerBase:setPickerCtrlProportion(This,Prop).
+%% @hidden
+setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop).
+%% @hidden
+getInternalMargin(This) -> wxPickerBase:getInternalMargin(This).
+%% @hidden
+setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxFindReplaceData.erl b/lib/wx/src/gen/wxFindReplaceData.erl
new file mode 100644
index 0000000000..ac09a23e89
--- /dev/null
+++ b/lib/wx/src/gen/wxFindReplaceData.erl
@@ -0,0 +1,101 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html">wxFindReplaceData</a>.
+%% @type wxFindReplaceData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFindReplaceData).
+-include("wxe.hrl").
+-export([destroy/1,getFindString/1,getFlags/1,getReplaceString/1,new/0,new/1,
+ setFindString/2,setFlags/2,setReplaceString/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFindReplaceData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatawxfindreplacedata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFindReplaceData_new_0,
+ <<>>).
+
+%% @spec (Flags::integer()) -> wxFindReplaceData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatawxfindreplacedata">external documentation</a>.
+new(Flags)
+ when is_integer(Flags) ->
+ wxe_util:construct(?wxFindReplaceData_new_1,
+ <<Flags:32/?UI>>).
+
+%% @spec (This::wxFindReplaceData()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatagetfindstring">external documentation</a>.
+getFindString(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ wxe_util:call(?wxFindReplaceData_GetFindString,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFindReplaceData()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatagetreplacestring">external documentation</a>.
+getReplaceString(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ wxe_util:call(?wxFindReplaceData_GetReplaceString,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFindReplaceData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatagetflags">external documentation</a>.
+getFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ wxe_util:call(?wxFindReplaceData_GetFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFindReplaceData(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatasetflags">external documentation</a>.
+setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ wxe_util:cast(?wxFindReplaceData_SetFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxFindReplaceData(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatasetfindstring">external documentation</a>.
+setFindString(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxFindReplaceData_SetFindString,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFindReplaceData(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedata.html#wxfindreplacedatasetreplacestring">external documentation</a>.
+setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxFindReplaceData),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxFindReplaceData_SetReplaceString,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFindReplaceData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFindReplaceData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxFindReplaceDialog.erl b/lib/wx/src/gen/wxFindReplaceDialog.erl
new file mode 100644
index 0000000000..82da24abf5
--- /dev/null
+++ b/lib/wx/src/gen/wxFindReplaceDialog.erl
@@ -0,0 +1,574 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html">wxFindReplaceDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFindReplaceDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFindReplaceDialog).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getData/1,new/0,new/3,new/4]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFindReplaceDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html#wxfindreplacedialogwxfindreplacedialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFindReplaceDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string()) -> wxFindReplaceDialog()
+%% @equiv new(Parent,Data,Title, [])
+new(Parent,Data,Title)
+ when is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) ->
+ new(Parent,Data,Title, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), [Option]) -> wxFindReplaceDialog()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html#wxfindreplacedialogwxfindreplacedialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options)
+ when is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(DataT,wxFindReplaceData),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFindReplaceDialog_new_4,
+ <<ParentRef:32/?UI,DataRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Data,Title, [])
+create(This,Parent,Data,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) ->
+ create(This,Parent,Data,Title, []).
+
+%% @spec (This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), [Option]) -> bool()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html#wxfindreplacedialogcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options)
+ when is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxFindReplaceDialog),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(DataT,wxFindReplaceData),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFindReplaceDialog_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,DataRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxFindReplaceDialog()) -> wxFindReplaceData:wxFindReplaceData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfindreplacedialog.html#wxfindreplacedialoggetdata">external documentation</a>.
+getData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFindReplaceDialog),
+ wxe_util:call(?wxFindReplaceDialog_GetData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFindReplaceDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFindReplaceDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxFlexGridSizer.erl b/lib/wx/src/gen/wxFlexGridSizer.erl
new file mode 100644
index 0000000000..5387d04043
--- /dev/null
+++ b/lib/wx/src/gen/wxFlexGridSizer.erl
@@ -0,0 +1,281 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html">wxFlexGridSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridSizer}
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxFlexGridSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFlexGridSizer).
+-include("wxe.hrl").
+-export([addGrowableCol/2,addGrowableCol/3,addGrowableRow/2,addGrowableRow/3,
+ destroy/1,getFlexibleDirection/1,getNonFlexibleGrowMode/1,new/1,new/2,
+ new/4,removeGrowableCol/2,removeGrowableRow/2,setFlexibleDirection/2,
+ setNonFlexibleGrowMode/2]).
+
+%% inherited exports
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getCols/1,
+ getHGap/1,getItem/2,getItem/3,getMinSize/1,getPosition/1,getRows/1,
+ getSize/1,getVGap/1,hide/2,hide/3,insert/3,insert/4,insert/5,insertSpacer/3,
+ insertStretchSpacer/2,insertStretchSpacer/3,isShown/2,layout/1,parent_class/1,
+ prepend/2,prepend/3,prepend/4,prependSpacer/2,prependStretchSpacer/1,
+ prependStretchSpacer/2,recalcSizes/1,remove/2,replace/3,replace/4,
+ setCols/2,setDimension/5,setHGap/2,setItemMinSize/3,setItemMinSize/4,
+ setMinSize/2,setMinSize/3,setRows/2,setSizeHints/2,setVGap/2,setVirtualSizeHints/2,
+ show/2,show/3]).
+
+%% @hidden
+parent_class(wxGridSizer) -> true;
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Cols::integer()) -> wxFlexGridSizer()
+%% @equiv new(Cols, [])
+new(Cols)
+ when is_integer(Cols) ->
+ new(Cols, []).
+
+%% @spec (Cols::integer(), [Option]) -> wxFlexGridSizer()
+%% Option = {vgap, integer()} | {hgap, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizerwxflexgridsizer">external documentation</a>.
+new(Cols, Options)
+ when is_integer(Cols),is_list(Options) ->
+ MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc];
+ ({hgap, Hgap}, Acc) -> [<<2:32/?UI,Hgap:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFlexGridSizer_new_2,
+ <<Cols:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer()) -> wxFlexGridSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizerwxflexgridsizer">external documentation</a>.
+new(Rows,Cols,Vgap,Hgap)
+ when is_integer(Rows),is_integer(Cols),is_integer(Vgap),is_integer(Hgap) ->
+ wxe_util:construct(?wxFlexGridSizer_new_4,
+ <<Rows:32/?UI,Cols:32/?UI,Vgap:32/?UI,Hgap:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok
+%% @equiv addGrowableCol(This,Idx, [])
+addGrowableCol(This,Idx)
+ when is_record(This, wx_ref),is_integer(Idx) ->
+ addGrowableCol(This,Idx, []).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer(), [Option]) -> ok
+%% Option = {proportion, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizeraddgrowablecol">external documentation</a>.
+addGrowableCol(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options)
+ when is_integer(Idx),is_list(Options) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxFlexGridSizer_AddGrowableCol,
+ <<ThisRef:32/?UI,Idx:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok
+%% @equiv addGrowableRow(This,Idx, [])
+addGrowableRow(This,Idx)
+ when is_record(This, wx_ref),is_integer(Idx) ->
+ addGrowableRow(This,Idx, []).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer(), [Option]) -> ok
+%% Option = {proportion, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizeraddgrowablerow">external documentation</a>.
+addGrowableRow(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options)
+ when is_integer(Idx),is_list(Options) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxFlexGridSizer_AddGrowableRow,
+ <<ThisRef:32/?UI,Idx:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxFlexGridSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizergetflexibledirection">external documentation</a>.
+getFlexibleDirection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:call(?wxFlexGridSizer_GetFlexibleDirection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer()) -> WxFlexSizerGrowMode
+%% WxFlexSizerGrowMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizergetnonflexiblegrowmode">external documentation</a>.
+%%<br /> WxFlexSizerGrowMode is one of ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL
+getNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:call(?wxFlexGridSizer_GetNonFlexibleGrowMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizerremovegrowablecol">external documentation</a>.
+removeGrowableCol(#wx_ref{type=ThisT,ref=ThisRef},Idx)
+ when is_integer(Idx) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:cast(?wxFlexGridSizer_RemoveGrowableCol,
+ <<ThisRef:32/?UI,Idx:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizerremovegrowablerow">external documentation</a>.
+removeGrowableRow(#wx_ref{type=ThisT,ref=ThisRef},Idx)
+ when is_integer(Idx) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:cast(?wxFlexGridSizer_RemoveGrowableRow,
+ <<ThisRef:32/?UI,Idx:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer(), Direction::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizersetflexibledirection">external documentation</a>.
+setFlexibleDirection(#wx_ref{type=ThisT,ref=ThisRef},Direction)
+ when is_integer(Direction) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:cast(?wxFlexGridSizer_SetFlexibleDirection,
+ <<ThisRef:32/?UI,Direction:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer(), Mode::WxFlexSizerGrowMode) -> ok
+%% WxFlexSizerGrowMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxflexgridsizer.html#wxflexgridsizersetnonflexiblegrowmode">external documentation</a>.
+%%<br /> WxFlexSizerGrowMode is one of ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL
+setNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxFlexGridSizer),
+ wxe_util:cast(?wxFlexGridSizer_SetNonFlexibleGrowMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxFlexGridSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFlexGridSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxGridSizer
+%% @hidden
+setVGap(This,Gap) -> wxGridSizer:setVGap(This,Gap).
+%% @hidden
+setRows(This,Rows) -> wxGridSizer:setRows(This,Rows).
+%% @hidden
+setHGap(This,Gap) -> wxGridSizer:setHGap(This,Gap).
+%% @hidden
+setCols(This,Cols) -> wxGridSizer:setCols(This,Cols).
+%% @hidden
+getVGap(This) -> wxGridSizer:getVGap(This).
+%% @hidden
+getRows(This) -> wxGridSizer:getRows(This).
+%% @hidden
+getHGap(This) -> wxGridSizer:getHGap(This).
+%% @hidden
+getCols(This) -> wxGridSizer:getCols(This).
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+calcMin(This) -> wxSizer:calcMin(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
+%% @hidden
+add(This,Width,Height, Options) -> wxSizer:add(This,Width,Height, Options).
+%% @hidden
+add(This,Width,Height) -> wxSizer:add(This,Width,Height).
+%% @hidden
+add(This,Window) -> wxSizer:add(This,Window).
diff --git a/lib/wx/src/gen/wxFocusEvent.erl b/lib/wx/src/gen/wxFocusEvent.erl
new file mode 100644
index 0000000000..48a0f65e4f
--- /dev/null
+++ b/lib/wx/src/gen/wxFocusEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfocusevent.html">wxFocusEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>set_focus</em>, <em>kill_focus</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxFocus(). #wxFocus{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxFocusEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFocusEvent).
+-include("wxe.hrl").
+-export([getWindow/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxFocusEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfocusevent.html#wxfocuseventgetwindow">external documentation</a>.
+getWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFocusEvent),
+ wxe_util:call(?wxFocusEvent_GetWindow,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxFont.erl b/lib/wx/src/gen/wxFont.erl
new file mode 100644
index 0000000000..4ee829d83d
--- /dev/null
+++ b/lib/wx/src/gen/wxFont.erl
@@ -0,0 +1,227 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html">wxFont</a>.
+%% @type wxFont(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFont).
+-include("wxe.hrl").
+-export([destroy/1,getDefaultEncoding/0,getFaceName/1,getFamily/1,getNativeFontInfoDesc/1,
+ getNativeFontInfoUserDesc/1,getPointSize/1,getStyle/1,getUnderlined/1,
+ getWeight/1,isFixedWidth/1,new/0,new/1,new/4,new/5,ok/1,setDefaultEncoding/1,
+ setFaceName/2,setFamily/2,setPointSize/2,setStyle/2,setUnderlined/2,
+ setWeight/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontwxfont">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFont_new_0,
+ <<>>).
+
+%% @spec (Fontname::string()) -> wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontwxfont">external documentation</a>.
+new(Fontname)
+ when is_list(Fontname) ->
+ Fontname_UC = unicode:characters_to_binary([Fontname,0]),
+ wxe_util:construct(?wxFont_new_1,
+ <<(byte_size(Fontname_UC)):32/?UI,(Fontname_UC)/binary, 0:(((8- ((4+byte_size(Fontname_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (Size::integer(), Family::WxFontFamily, Style::WxFontStyle, Weight::integer()) -> wxFont()
+%% @equiv new(Size,Family,Style,Weight, [])
+new(Size,Family,Style,Weight)
+ when is_integer(Size),is_integer(Family),is_integer(Style),is_integer(Weight) ->
+ new(Size,Family,Style,Weight, []).
+
+%% @spec (Size::integer(), Family::WxFontFamily, Style::WxFontStyle, Weight::integer(), [Option]) -> wxFont()
+%% Option = {underlined, bool()} | {face, string()} | {encoding, WxFontEncoding}
+%% WxFontFamily = integer()
+%% WxFontStyle = integer()
+%% WxFontEncoding = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontwxfont">external documentation</a>.
+%%<br /> WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN
+%%<br /> WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
+%%<br /> WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
+new(Size,Family,Style,Weight, Options)
+ when is_integer(Size),is_integer(Family),is_integer(Style),is_integer(Weight),is_list(Options) ->
+ MOpts = fun({underlined, Underlined}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Underlined)):32/?UI>>|Acc];
+ ({face, Face}, Acc) -> Face_UC = unicode:characters_to_binary([Face,0]),[<<2:32/?UI,(byte_size(Face_UC)):32/?UI,(Face_UC)/binary, 0:(((8- ((0+byte_size(Face_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({encoding, Encoding}, Acc) -> [<<3:32/?UI,Encoding:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFont_new_5,
+ <<Size:32/?UI,Family:32/?UI,Style:32/?UI,Weight:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxFont()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontisfixedwidth">external documentation</a>.
+isFixedWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_IsFixedWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> WxFontEncoding
+%% WxFontEncoding = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetdefaultencoding">external documentation</a>.
+%%<br /> WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
+getDefaultEncoding() ->
+ wxe_util:call(?wxFont_GetDefaultEncoding,
+ <<>>).
+
+%% @spec (This::wxFont()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetfacename">external documentation</a>.
+getFaceName(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetFaceName,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> WxFontFamily
+%% WxFontFamily = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetfamily">external documentation</a>.
+%%<br /> WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN
+getFamily(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetFamily,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetnativefontinfodesc">external documentation</a>.
+getNativeFontInfoDesc(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetNativeFontInfoDesc,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetnativefontinfouserdesc">external documentation</a>.
+getNativeFontInfoUserDesc(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetNativeFontInfoUserDesc,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetpointsize">external documentation</a>.
+getPointSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetPointSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> WxFontStyle
+%% WxFontStyle = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetstyle">external documentation</a>.
+%%<br /> WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
+getStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetunderlined">external documentation</a>.
+getUnderlined(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetUnderlined,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontgetweight">external documentation</a>.
+getWeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_GetWeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFont()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontok">external documentation</a>.
+ok(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:call(?wxFont_Ok,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Encoding::WxFontEncoding) -> ok
+%% WxFontEncoding = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetdefaultencoding">external documentation</a>.
+%%<br /> WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
+setDefaultEncoding(Encoding)
+ when is_integer(Encoding) ->
+ wxe_util:cast(?wxFont_SetDefaultEncoding,
+ <<Encoding:32/?UI>>).
+
+%% @spec (This::wxFont(), FaceName::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetfacename">external documentation</a>.
+setFaceName(#wx_ref{type=ThisT,ref=ThisRef},FaceName)
+ when is_list(FaceName) ->
+ ?CLASS(ThisT,wxFont),
+ FaceName_UC = unicode:characters_to_binary([FaceName,0]),
+ wxe_util:call(?wxFont_SetFaceName,
+ <<ThisRef:32/?UI,(byte_size(FaceName_UC)):32/?UI,(FaceName_UC)/binary, 0:(((8- ((0+byte_size(FaceName_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxFont(), Family::WxFontFamily) -> ok
+%% WxFontFamily = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetfamily">external documentation</a>.
+%%<br /> WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN
+setFamily(#wx_ref{type=ThisT,ref=ThisRef},Family)
+ when is_integer(Family) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:cast(?wxFont_SetFamily,
+ <<ThisRef:32/?UI,Family:32/?UI>>).
+
+%% @spec (This::wxFont(), PointSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetpointsize">external documentation</a>.
+setPointSize(#wx_ref{type=ThisT,ref=ThisRef},PointSize)
+ when is_integer(PointSize) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:cast(?wxFont_SetPointSize,
+ <<ThisRef:32/?UI,PointSize:32/?UI>>).
+
+%% @spec (This::wxFont(), Style::WxFontStyle) -> ok
+%% WxFontStyle = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetstyle">external documentation</a>.
+%%<br /> WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX
+setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:cast(?wxFont_SetStyle,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxFont(), Underlined::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetunderlined">external documentation</a>.
+setUnderlined(#wx_ref{type=ThisT,ref=ThisRef},Underlined)
+ when is_boolean(Underlined) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:cast(?wxFont_SetUnderlined,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Underlined)):32/?UI>>).
+
+%% @spec (This::wxFont(), Weight::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfont.html#wxfontsetweight">external documentation</a>.
+setWeight(#wx_ref{type=ThisT,ref=ThisRef},Weight)
+ when is_integer(Weight) ->
+ ?CLASS(ThisT,wxFont),
+ wxe_util:cast(?wxFont_SetWeight,
+ <<ThisRef:32/?UI,Weight:32/?UI>>).
+
+%% @spec (This::wxFont()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFont),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxFontData.erl b/lib/wx/src/gen/wxFontData.erl
new file mode 100644
index 0000000000..9b8de9212f
--- /dev/null
+++ b/lib/wx/src/gen/wxFontData.erl
@@ -0,0 +1,153 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html">wxFontData</a>.
+%% @type wxFontData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFontData).
+-include("wxe.hrl").
+-export([destroy/1,enableEffects/2,getAllowSymbols/1,getChosenFont/1,getColour/1,
+ getEnableEffects/1,getInitialFont/1,getShowHelp/1,new/0,new/1,setAllowSymbols/2,
+ setChosenFont/2,setColour/2,setInitialFont/2,setRange/3,setShowHelp/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFontData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatawxfontdata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFontData_new_0,
+ <<>>).
+
+%% @spec (Data::wxFontData()) -> wxFontData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatawxfontdata">external documentation</a>.
+new(#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(DataT,wxFontData),
+ wxe_util:construct(?wxFontData_new_1,
+ <<DataRef:32/?UI>>).
+
+%% @spec (This::wxFontData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdataenableeffects">external documentation</a>.
+enableEffects(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:cast(?wxFontData_EnableEffects,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxFontData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetallowsymbols">external documentation</a>.
+getAllowSymbols(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetAllowSymbols,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetchosenfont">external documentation</a>.
+getChosenFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetChosenFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetenableeffects">external documentation</a>.
+getEnableEffects(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetEnableEffects,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetinitialfont">external documentation</a>.
+getInitialFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetInitialFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatagetshowhelp">external documentation</a>.
+getShowHelp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:call(?wxFontData_GetShowHelp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetallowsymbols">external documentation</a>.
+setAllowSymbols(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:cast(?wxFontData_SetAllowSymbols,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxFontData(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetchosenfont">external documentation</a>.
+setChosenFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxFontData_SetChosenFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxFontData(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:cast(?wxFontData_SetColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxFontData(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetinitialfont">external documentation</a>.
+setInitialFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxFontData),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxFontData_SetInitialFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxFontData(), MinRange::integer(), MaxRange::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},MinRange,MaxRange)
+ when is_integer(MinRange),is_integer(MaxRange) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:cast(?wxFontData_SetRange,
+ <<ThisRef:32/?UI,MinRange:32/?UI,MaxRange:32/?UI>>).
+
+%% @spec (This::wxFontData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdata.html#wxfontdatasetshowhelp">external documentation</a>.
+setShowHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxFontData),
+ wxe_util:cast(?wxFontData_SetShowHelp,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxFontData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFontData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxFontDialog.erl b/lib/wx/src/gen/wxFontDialog.erl
new file mode 100644
index 0000000000..009e320117
--- /dev/null
+++ b/lib/wx/src/gen/wxFontDialog.erl
@@ -0,0 +1,550 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdialog.html">wxFontDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFontDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFontDialog).
+-include("wxe.hrl").
+-export([create/3,destroy/1,getFontData/1,new/0,new/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFontDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdialog.html#wxfontdialogwxfontdialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFontDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData()) -> wxFontDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdialog.html#wxfontdialogwxfontdialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(DataT,wxFontData),
+ wxe_util:construct(?wxFontDialog_new_2,
+ <<ParentRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxFontDialog(), Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdialog.html#wxfontdialogcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ThisT,wxFontDialog),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(DataT,wxFontData),
+ wxe_util:call(?wxFontDialog_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxFontDialog()) -> wxFontData:wxFontData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontdialog.html#wxfontdialoggetfontdata">external documentation</a>.
+getFontData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontDialog),
+ wxe_util:call(?wxFontDialog_GetFontData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFontDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxFontPickerCtrl.erl b/lib/wx/src/gen/wxFontPickerCtrl.erl
new file mode 100644
index 0000000000..fca934df49
--- /dev/null
+++ b/lib/wx/src/gen/wxFontPickerCtrl.erl
@@ -0,0 +1,563 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html">wxFontPickerCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPickerBase}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFontPickerCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFontPickerCtrl).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getMaxPointSize/1,getSelectedFont/1,new/0,
+ new/2,new/3,setMaxPointSize/2,setSelectedFont/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getInternalMargin/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPickerCtrlProportion/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextCtrl/1,getTextCtrlProportion/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTextCtrl/1,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isPickerCtrlGrowable/1,isRetained/1,
+ isShown/1,isTextCtrlGrowable/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setInternalMargin/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,
+ setPickerCtrlProportion/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,
+ setScrollbar/6,setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,
+ setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,
+ setSizerAndFit/3,setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPickerBase) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFontPickerCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlwxfontpickerctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFontPickerCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxFontPickerCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxFontPickerCtrl()
+%% Option = {initial, wxFont:wxFont()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlwxfontpickerctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({initial, #wx_ref{type=InitialT,ref=InitialRef}}, Acc) -> ?CLASS(InitialT,wxFont),[<<1:32/?UI,InitialRef:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFontPickerCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {initial, wxFont:wxFont()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxFontPickerCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({initial, #wx_ref{type=InitialT,ref=InitialRef}}, Acc) -> ?CLASS(InitialT,wxFont),[<<1:32/?UI,InitialRef:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFontPickerCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxFontPickerCtrl()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlgetselectedfont">external documentation</a>.
+getSelectedFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontPickerCtrl),
+ wxe_util:call(?wxFontPickerCtrl_GetSelectedFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontPickerCtrl(), F::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlsetselectedfont">external documentation</a>.
+setSelectedFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FT,ref=FRef}) ->
+ ?CLASS(ThisT,wxFontPickerCtrl),
+ ?CLASS(FT,wxFont),
+ wxe_util:cast(?wxFontPickerCtrl_SetSelectedFont,
+ <<ThisRef:32/?UI,FRef:32/?UI>>).
+
+%% @spec (This::wxFontPickerCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlgetmaxpointsize">external documentation</a>.
+getMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontPickerCtrl),
+ wxe_util:call(?wxFontPickerCtrl_GetMaxPointSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFontPickerCtrl(), Max::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerctrl.html#wxfontpickerctrlsetmaxpointsize">external documentation</a>.
+setMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef},Max)
+ when is_integer(Max) ->
+ ?CLASS(ThisT,wxFontPickerCtrl),
+ wxe_util:cast(?wxFontPickerCtrl_SetMaxPointSize,
+ <<ThisRef:32/?UI,Max:32/?UI>>).
+
+%% @spec (This::wxFontPickerCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFontPickerCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPickerBase
+%% @hidden
+isPickerCtrlGrowable(This) -> wxPickerBase:isPickerCtrlGrowable(This).
+%% @hidden
+setTextCtrlGrowable(This, Options) -> wxPickerBase:setTextCtrlGrowable(This, Options).
+%% @hidden
+setTextCtrlGrowable(This) -> wxPickerBase:setTextCtrlGrowable(This).
+%% @hidden
+setPickerCtrlGrowable(This, Options) -> wxPickerBase:setPickerCtrlGrowable(This, Options).
+%% @hidden
+setPickerCtrlGrowable(This) -> wxPickerBase:setPickerCtrlGrowable(This).
+%% @hidden
+isTextCtrlGrowable(This) -> wxPickerBase:isTextCtrlGrowable(This).
+%% @hidden
+getTextCtrl(This) -> wxPickerBase:getTextCtrl(This).
+%% @hidden
+hasTextCtrl(This) -> wxPickerBase:hasTextCtrl(This).
+%% @hidden
+getPickerCtrlProportion(This) -> wxPickerBase:getPickerCtrlProportion(This).
+%% @hidden
+getTextCtrlProportion(This) -> wxPickerBase:getTextCtrlProportion(This).
+%% @hidden
+setPickerCtrlProportion(This,Prop) -> wxPickerBase:setPickerCtrlProportion(This,Prop).
+%% @hidden
+setTextCtrlProportion(This,Prop) -> wxPickerBase:setTextCtrlProportion(This,Prop).
+%% @hidden
+getInternalMargin(This) -> wxPickerBase:getInternalMargin(This).
+%% @hidden
+setInternalMargin(This,Newmargin) -> wxPickerBase:setInternalMargin(This,Newmargin).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxFontPickerEvent.erl b/lib/wx/src/gen/wxFontPickerEvent.erl
new file mode 100644
index 0000000000..28c1e0fc98
--- /dev/null
+++ b/lib/wx/src/gen/wxFontPickerEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerevent.html">wxFontPickerEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_fontpicker_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxFontPicker(). #wxFontPicker{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxFontPickerEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFontPickerEvent).
+-include("wxe.hrl").
+-export([getFont/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxFontPickerEvent()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfontpickerevent.html#wxfontpickereventgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFontPickerEvent),
+ wxe_util:call(?wxFontPickerEvent_GetFont,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxFrame.erl b/lib/wx/src/gen/wxFrame.erl
new file mode 100644
index 0000000000..136651c001
--- /dev/null
+++ b/lib/wx/src/gen/wxFrame.erl
@@ -0,0 +1,699 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html">wxFrame</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxFrame(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxFrame).
+-include("wxe.hrl").
+-export([create/4,create/5,createStatusBar/1,createStatusBar/2,createToolBar/1,
+ createToolBar/2,destroy/1,getClientAreaOrigin/1,getMenuBar/1,getStatusBar/1,
+ getStatusBarPane/1,getToolBar/1,new/0,new/3,new/4,processCommand/2,
+ sendSizeEvent/1,setMenuBar/2,setStatusBar/2,setStatusBarPane/2,setStatusText/2,
+ setStatusText/3,setStatusWidths/2,setToolBar/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,
+ getParent/1,getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,
+ getScrollPos/2,getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,
+ getTextExtent/2,getTextExtent/3,getTitle/1,getToolTip/1,getUpdateRegion/1,
+ getVirtualSize/1,getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,
+ hasScrollbar/2,hasTransparentBackground/1,hide/1,iconize/1,iconize/2,
+ inheritAttributes/1,initDialog/1,invalidateBestSize/1,isActive/1,
+ isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,isIconized/1,
+ isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,
+ lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,requestUserAttention/1,
+ requestUserAttention/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,setTitle/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,showFullScreen/2,
+ showFullScreen/3,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframewxframe">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxFrame_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxFrame()
+%% @equiv new(Parent,Id,Title, [])
+new(Parent,Id,Title)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ new(Parent,Id,Title, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxFrame()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframewxframe">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxFrame_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Id,Title, [])
+create(This,Parent,Id,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ create(This,Parent,Id,Title, []).
+
+%% @spec (This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxFrame),
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFrame_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxFrame()) -> wxStatusBar:wxStatusBar()
+%% @equiv createStatusBar(This, [])
+createStatusBar(This)
+ when is_record(This, wx_ref) ->
+ createStatusBar(This, []).
+
+%% @spec (This::wxFrame(), [Option]) -> wxStatusBar:wxStatusBar()
+%% Option = {number, integer()} | {style, integer()} | {id, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframecreatestatusbar">external documentation</a>.
+createStatusBar(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxFrame),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ ({id, Id}, Acc) -> [<<3:32/?UI,Id:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFrame_CreateStatusBar,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxFrame()) -> wxToolBar:wxToolBar()
+%% @equiv createToolBar(This, [])
+createToolBar(This)
+ when is_record(This, wx_ref) ->
+ createToolBar(This, []).
+
+%% @spec (This::wxFrame(), [Option]) -> wxToolBar:wxToolBar()
+%% Option = {style, integer()} | {id, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframecreatetoolbar">external documentation</a>.
+createToolBar(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxFrame),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({id, Id}, Acc) -> [<<2:32/?UI,Id:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxFrame_CreateToolBar,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxFrame()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframegetclientareaorigin">external documentation</a>.
+getClientAreaOrigin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_GetClientAreaOrigin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> wxMenuBar:wxMenuBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframegetmenubar">external documentation</a>.
+getMenuBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_GetMenuBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> wxStatusBar:wxStatusBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframegetstatusbar">external documentation</a>.
+getStatusBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_GetStatusBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframegetstatusbarpane">external documentation</a>.
+getStatusBarPane(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_GetStatusBarPane,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> wxToolBar:wxToolBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframegettoolbar">external documentation</a>.
+getToolBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_GetToolBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame(), Winid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframeprocesscommand">external documentation</a>.
+processCommand(#wx_ref{type=ThisT,ref=ThisRef},Winid)
+ when is_integer(Winid) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:call(?wxFrame_ProcessCommand,
+ <<ThisRef:32/?UI,Winid:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesendsizeevent">external documentation</a>.
+sendSizeEvent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:cast(?wxFrame_SendSizeEvent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxFrame(), Menubar::wxMenuBar:wxMenuBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesetmenubar">external documentation</a>.
+setMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenubarT,ref=MenubarRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ ?CLASS(MenubarT,wxMenuBar),
+ wxe_util:cast(?wxFrame_SetMenuBar,
+ <<ThisRef:32/?UI,MenubarRef:32/?UI>>).
+
+%% @spec (This::wxFrame(), Statbar::wxStatusBar:wxStatusBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesetstatusbar">external documentation</a>.
+setStatusBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StatbarT,ref=StatbarRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ ?CLASS(StatbarT,wxStatusBar),
+ wxe_util:cast(?wxFrame_SetStatusBar,
+ <<ThisRef:32/?UI,StatbarRef:32/?UI>>).
+
+%% @spec (This::wxFrame(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesetstatusbarpane">external documentation</a>.
+setStatusBarPane(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:cast(?wxFrame_SetStatusBarPane,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxFrame(), Text::string()) -> ok
+%% @equiv setStatusText(This,Text, [])
+setStatusText(This,Text)
+ when is_record(This, wx_ref),is_list(Text) ->
+ setStatusText(This,Text, []).
+
+%% @spec (This::wxFrame(), Text::string(), [Option]) -> ok
+%% Option = {number, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesetstatustext">external documentation</a>.
+setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxFrame),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxFrame_SetStatusText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxFrame(), Widths_field::[integer()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesetstatuswidths">external documentation</a>.
+setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field)
+ when is_list(Widths_field) ->
+ ?CLASS(ThisT,wxFrame),
+ wxe_util:cast(?wxFrame_SetStatusWidths,
+ <<ThisRef:32/?UI,(length(Widths_field)):32/?UI,
+ (<< <<C:32/?I>> || C <- Widths_field>>)/binary, 0:(((0+length(Widths_field)) rem 2)*32)>>).
+
+%% @spec (This::wxFrame(), Toolbar::wxToolBar:wxToolBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxframe.html#wxframesettoolbar">external documentation</a>.
+setToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolbarT,ref=ToolbarRef}) ->
+ ?CLASS(ThisT,wxFrame),
+ ?CLASS(ToolbarT,wxToolBar),
+ wxe_util:cast(?wxFrame_SetToolBar,
+ <<ThisRef:32/?UI,ToolbarRef:32/?UI>>).
+
+%% @spec (This::wxFrame()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxFrame),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxGBSizerItem.erl b/lib/wx/src/gen/wxGBSizerItem.erl
new file mode 100644
index 0000000000..4d79e5c3db
--- /dev/null
+++ b/lib/wx/src/gen/wxGBSizerItem.erl
@@ -0,0 +1,110 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgbsizeritem.html">wxGBSizerItem</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxSizerItem}
+%% </p>
+%% @type wxGBSizerItem(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGBSizerItem).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([calcMin/1,deleteWindows/1,detachSizer/1,getBorder/1,getFlag/1,getMinSize/1,
+ getPosition/1,getProportion/1,getRatio/1,getRect/1,getSize/1,getSizer/1,
+ getSpacer/1,getUserData/1,getWindow/1,isShown/1,isSizer/1,isSpacer/1,
+ isWindow/1,parent_class/1,setBorder/2,setDimension/3,setFlag/2,setInitSize/3,
+ setMinSize/2,setMinSize/3,setProportion/2,setRatio/2,setRatio/3,setSizer/2,
+ setSpacer/2,setSpacer/3,setWindow/2,show/2]).
+
+%% @hidden
+parent_class(wxSizerItem) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxSizerItem
+%% @hidden
+show(This,Show) -> wxSizerItem:show(This,Show).
+%% @hidden
+setWindow(This,Window) -> wxSizerItem:setWindow(This,Window).
+%% @hidden
+setSpacer(This,Width,Height) -> wxSizerItem:setSpacer(This,Width,Height).
+%% @hidden
+setSpacer(This,Size) -> wxSizerItem:setSpacer(This,Size).
+%% @hidden
+setSizer(This,Sizer) -> wxSizerItem:setSizer(This,Sizer).
+%% @hidden
+setRatio(This,Width,Height) -> wxSizerItem:setRatio(This,Width,Height).
+%% @hidden
+setRatio(This,Ratio) -> wxSizerItem:setRatio(This,Ratio).
+%% @hidden
+setProportion(This,Proportion) -> wxSizerItem:setProportion(This,Proportion).
+%% @hidden
+setMinSize(This,X,Y) -> wxSizerItem:setMinSize(This,X,Y).
+%% @hidden
+setMinSize(This,Size) -> wxSizerItem:setMinSize(This,Size).
+%% @hidden
+setInitSize(This,X,Y) -> wxSizerItem:setInitSize(This,X,Y).
+%% @hidden
+setFlag(This,Flag) -> wxSizerItem:setFlag(This,Flag).
+%% @hidden
+setDimension(This,Pos,Size) -> wxSizerItem:setDimension(This,Pos,Size).
+%% @hidden
+setBorder(This,Border) -> wxSizerItem:setBorder(This,Border).
+%% @hidden
+isWindow(This) -> wxSizerItem:isWindow(This).
+%% @hidden
+isSpacer(This) -> wxSizerItem:isSpacer(This).
+%% @hidden
+isShown(This) -> wxSizerItem:isShown(This).
+%% @hidden
+isSizer(This) -> wxSizerItem:isSizer(This).
+%% @hidden
+getWindow(This) -> wxSizerItem:getWindow(This).
+%% @hidden
+getUserData(This) -> wxSizerItem:getUserData(This).
+%% @hidden
+getSpacer(This) -> wxSizerItem:getSpacer(This).
+%% @hidden
+getSizer(This) -> wxSizerItem:getSizer(This).
+%% @hidden
+getSize(This) -> wxSizerItem:getSize(This).
+%% @hidden
+getRect(This) -> wxSizerItem:getRect(This).
+%% @hidden
+getRatio(This) -> wxSizerItem:getRatio(This).
+%% @hidden
+getProportion(This) -> wxSizerItem:getProportion(This).
+%% @hidden
+getPosition(This) -> wxSizerItem:getPosition(This).
+%% @hidden
+getMinSize(This) -> wxSizerItem:getMinSize(This).
+%% @hidden
+getFlag(This) -> wxSizerItem:getFlag(This).
+%% @hidden
+getBorder(This) -> wxSizerItem:getBorder(This).
+%% @hidden
+detachSizer(This) -> wxSizerItem:detachSizer(This).
+%% @hidden
+deleteWindows(This) -> wxSizerItem:deleteWindows(This).
+%% @hidden
+calcMin(This) -> wxSizerItem:calcMin(This).
diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl
new file mode 100644
index 0000000000..25d4ddc9f2
--- /dev/null
+++ b/lib/wx/src/gen/wxGLCanvas.erl
@@ -0,0 +1,524 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html">wxGLCanvas</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxGLCanvas(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGLCanvas).
+-include("wxe.hrl").
+-export([destroy/1,getContext/1,new/1,new/2,new/3,setCurrent/1,swapBuffers/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxGLCanvas()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(),X::term()) -> wxGLCanvas()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvaswxglcanvas">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas()) -> new(Parent,Shared, []) </c></p>
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), [Option]) -> wxGLCanvas() </c>
+%%<br /> Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()}
+%% </p>
+
+new(Parent,Shared)
+ when is_record(Parent, wx_ref),is_record(Shared, wx_ref) ->
+ new(Parent,Shared, []);
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({name, Name}, Acc) -> Name_UC = unicode:characters_to_binary([Name,0]),[<<5:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({attribList, AttribList}, Acc) -> [<<6:32/?UI,(length(AttribList)):32/?UI,
+ (<< <<C:32/?I>> || C <- AttribList>>)/binary, 0:(((0+length(AttribList)) rem 2)*32)>>|Acc];
+ ({palette, #wx_ref{type=PaletteT,ref=PaletteRef}}, Acc) -> ?CLASS(PaletteT,wxPalette),[<<7:32/?UI,PaletteRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGLCanvas_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas(), [Option]) -> wxGLCanvas()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvaswxglcanvas">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=SharedT,ref=SharedRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ SharedOP = case ?CLASS_T(SharedT,wxGLContext) of
+ true ->
+ ?wxGLCanvas_new_3_1;
+ _ -> ?CLASS(SharedT,wxGLCanvas),
+ ?wxGLCanvas_new_3_0
+ end,
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({name, Name}, Acc) -> Name_UC = unicode:characters_to_binary([Name,0]),[<<5:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({attribList, AttribList}, Acc) -> [<<6:32/?UI,(length(AttribList)):32/?UI,
+ (<< <<C:32/?I>> || C <- AttribList>>)/binary, 0:(((0+length(AttribList)) rem 2)*32)>>|Acc];
+ ({palette, #wx_ref{type=PaletteT,ref=PaletteRef}}, Acc) -> ?CLASS(PaletteT,wxPalette),[<<7:32/?UI,PaletteRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(SharedOP,
+ <<ParentRef:32/?UI,SharedRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGLCanvas()) -> wxGLContext:wxGLContext()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvasgetcontext">external documentation</a>.
+getContext(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGLCanvas),
+ wxe_util:call(?wxGLCanvas_GetContext,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGLCanvas()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvassetcurrent">external documentation</a>.
+setCurrent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGLCanvas),
+ wxe_util:cast(?wxGLCanvas_SetCurrent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGLCanvas()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvasswapbuffers">external documentation</a>.
+swapBuffers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGLCanvas),
+ wxe_util:cast(?wxGLCanvas_SwapBuffers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGLCanvas()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGLCanvas),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxGauge.erl b/lib/wx/src/gen/wxGauge.erl
new file mode 100644
index 0000000000..3a5e117e19
--- /dev/null
+++ b/lib/wx/src/gen/wxGauge.erl
@@ -0,0 +1,571 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html">wxGauge</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxGauge(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGauge).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getBezelFace/1,getRange/1,getShadowWidth/1,
+ getValue/1,isVertical/1,new/0,new/3,new/4,pulse/1,setBezelFace/2,setRange/2,
+ setShadowWidth/2,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGauge()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugewxgauge">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGauge_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Range::integer()) -> wxGauge()
+%% @equiv new(Parent,Id,Range, [])
+new(Parent,Id,Range)
+ when is_record(Parent, wx_ref),is_integer(Id),is_integer(Range) ->
+ new(Parent,Id,Range, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), [Option]) -> wxGauge()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugewxgauge">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Range, Options)
+ when is_integer(Id),is_integer(Range),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGauge_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,Range:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer()) -> bool()
+%% @equiv create(This,Parent,Id,Range, [])
+create(This,Parent,Id,Range)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(Range) ->
+ create(This,Parent,Id,Range, []).
+
+%% @spec (This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Range, Options)
+ when is_integer(Id),is_integer(Range),is_list(Options) ->
+ ?CLASS(ThisT,wxGauge),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGauge_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,Range:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGauge()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugegetbezelface">external documentation</a>.
+getBezelFace(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:call(?wxGauge_GetBezelFace,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugegetrange">external documentation</a>.
+getRange(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:call(?wxGauge_GetRange,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugegetshadowwidth">external documentation</a>.
+getShadowWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:call(?wxGauge_GetShadowWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugegetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:call(?wxGauge_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugeisvertical">external documentation</a>.
+isVertical(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:call(?wxGauge_IsVertical,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge(), W::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugesetbezelface">external documentation</a>.
+setBezelFace(#wx_ref{type=ThisT,ref=ThisRef},W)
+ when is_integer(W) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:cast(?wxGauge_SetBezelFace,
+ <<ThisRef:32/?UI,W:32/?UI>>).
+
+%% @spec (This::wxGauge(), R::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugesetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},R)
+ when is_integer(R) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:cast(?wxGauge_SetRange,
+ <<ThisRef:32/?UI,R:32/?UI>>).
+
+%% @spec (This::wxGauge(), W::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugesetshadowwidth">external documentation</a>.
+setShadowWidth(#wx_ref{type=ThisT,ref=ThisRef},W)
+ when is_integer(W) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:cast(?wxGauge_SetShadowWidth,
+ <<ThisRef:32/?UI,W:32/?UI>>).
+
+%% @spec (This::wxGauge(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugesetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:cast(?wxGauge_SetValue,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgauge.html#wxgaugepulse">external documentation</a>.
+pulse(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGauge),
+ wxe_util:cast(?wxGauge_Pulse,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGauge()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGauge),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxGenericDirCtrl.erl b/lib/wx/src/gen/wxGenericDirCtrl.erl
new file mode 100644
index 0000000000..4146a3bacc
--- /dev/null
+++ b/lib/wx/src/gen/wxGenericDirCtrl.erl
@@ -0,0 +1,618 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html">wxGenericDirCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxGenericDirCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGenericDirCtrl).
+-include("wxe.hrl").
+-export([collapseTree/1,create/2,create/3,destroy/1,expandPath/2,getDefaultPath/1,
+ getFilePath/1,getFilter/1,getFilterIndex/1,getPath/1,getRootId/1,getTreeCtrl/1,
+ init/1,new/0,new/1,new/2,reCreateTree/1,setDefaultPath/2,setFilter/2,
+ setFilterIndex/2,setPath/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGenericDirCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlwxgenericdirctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGenericDirCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxGenericDirCtrl()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxGenericDirCtrl()
+%% Option = {id, integer()} | {dir, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {filter, string()} | {defaultFilter, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlwxgenericdirctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({dir, Dir}, Acc) -> Dir_UC = unicode:characters_to_binary([Dir,0]),[<<2:32/?UI,(byte_size(Dir_UC)):32/?UI,(Dir_UC)/binary, 0:(((8- ((0+byte_size(Dir_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({filter, Filter}, Acc) -> Filter_UC = unicode:characters_to_binary([Filter,0]),[<<6:32/?UI,(byte_size(Filter_UC)):32/?UI,(Filter_UC)/binary, 0:(((8- ((0+byte_size(Filter_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({defaultFilter, DefaultFilter}, Acc) -> [<<7:32/?UI,DefaultFilter:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGenericDirCtrl_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {dir, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {filter, string()} | {defaultFilter, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({dir, Dir}, Acc) -> Dir_UC = unicode:characters_to_binary([Dir,0]),[<<2:32/?UI,(byte_size(Dir_UC)):32/?UI,(Dir_UC)/binary, 0:(((8- ((0+byte_size(Dir_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({filter, Filter}, Acc) -> Filter_UC = unicode:characters_to_binary([Filter,0]),[<<6:32/?UI,(byte_size(Filter_UC)):32/?UI,(Filter_UC)/binary, 0:(((8- ((0+byte_size(Filter_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({defaultFilter, DefaultFilter}, Acc) -> [<<7:32/?UI,DefaultFilter:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGenericDirCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlinit">external documentation</a>.
+init(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:cast(?wxGenericDirCtrl_Init,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlcollapsetree">external documentation</a>.
+collapseTree(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:cast(?wxGenericDirCtrl_CollapseTree,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl(), Path::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlexpandpath">external documentation</a>.
+expandPath(#wx_ref{type=ThisT,ref=ThisRef},Path)
+ when is_list(Path) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ Path_UC = unicode:characters_to_binary([Path,0]),
+ wxe_util:call(?wxGenericDirCtrl_ExpandPath,
+ <<ThisRef:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetdefaultpath">external documentation</a>.
+getDefaultPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetDefaultPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetpath">external documentation</a>.
+getPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetPath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetfilepath">external documentation</a>.
+getFilePath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetFilePath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetfilter">external documentation</a>.
+getFilter(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetFilter,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetfilterindex">external documentation</a>.
+getFilterIndex(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetFilterIndex,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgetrootid">external documentation</a>.
+getRootId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetRootId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> wxTreeCtrl:wxTreeCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlgettreectrl">external documentation</a>.
+getTreeCtrl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:call(?wxGenericDirCtrl_GetTreeCtrl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlrecreatetree">external documentation</a>.
+reCreateTree(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:cast(?wxGenericDirCtrl_ReCreateTree,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl(), Path::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlsetdefaultpath">external documentation</a>.
+setDefaultPath(#wx_ref{type=ThisT,ref=ThisRef},Path)
+ when is_list(Path) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ Path_UC = unicode:characters_to_binary([Path,0]),
+ wxe_util:cast(?wxGenericDirCtrl_SetDefaultPath,
+ <<ThisRef:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGenericDirCtrl(), Filter::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlsetfilter">external documentation</a>.
+setFilter(#wx_ref{type=ThisT,ref=ThisRef},Filter)
+ when is_list(Filter) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ Filter_UC = unicode:characters_to_binary([Filter,0]),
+ wxe_util:cast(?wxGenericDirCtrl_SetFilter,
+ <<ThisRef:32/?UI,(byte_size(Filter_UC)):32/?UI,(Filter_UC)/binary, 0:(((8- ((0+byte_size(Filter_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGenericDirCtrl(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlsetfilterindex">external documentation</a>.
+setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ wxe_util:cast(?wxGenericDirCtrl_SetFilterIndex,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxGenericDirCtrl(), Path::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgenericdirctrl.html#wxgenericdirctrlsetpath">external documentation</a>.
+setPath(#wx_ref{type=ThisT,ref=ThisRef},Path)
+ when is_list(Path) ->
+ ?CLASS(ThisT,wxGenericDirCtrl),
+ Path_UC = unicode:characters_to_binary([Path,0]),
+ wxe_util:cast(?wxGenericDirCtrl_SetPath,
+ <<ThisRef:32/?UI,(byte_size(Path_UC)):32/?UI,(Path_UC)/binary, 0:(((8- ((0+byte_size(Path_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGenericDirCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGenericDirCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxGraphicsBrush.erl b/lib/wx/src/gen/wxGraphicsBrush.erl
new file mode 100644
index 0000000000..c1db82dcb3
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsBrush.erl
@@ -0,0 +1,43 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsbrush.html">wxGraphicsBrush</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsBrush(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsBrush).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl
new file mode 100644
index 0000000000..885578657d
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsContext.erl
@@ -0,0 +1,461 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html">wxGraphicsContext</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsContext(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsContext).
+-include("wxe.hrl").
+-export([clip/2,clip/5,concatTransform/2,create/0,create/1,createBrush/2,createFont/2,
+ createFont/3,createLinearGradientBrush/7,createMatrix/1,createMatrix/2,
+ createPath/1,createPen/2,createRadialGradientBrush/8,drawBitmap/6,
+ drawEllipse/5,drawIcon/6,drawLines/3,drawLines/4,drawPath/2,drawPath/3,
+ drawRectangle/5,drawRoundedRectangle/6,drawText/4,drawText/5,drawText/6,
+ fillPath/2,fillPath/3,getNativeContext/1,getPartialTextExtents/3,
+ getTextExtent/2,getTransform/1,resetClip/1,rotate/2,scale/3,setBrush/2,
+ setFont/2,setFont/3,setPen/2,setTransform/2,strokeLine/5,strokeLines/3,
+ strokeLines/4,strokePath/2,translate/3]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGraphicsContext()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreate">external documentation</a>.
+create() ->
+ wxe_util:call(?wxGraphicsContext_Create_0,
+ <<>>).
+
+%% @spec (Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow()) -> wxGraphicsContext()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreate">external documentation</a>.
+create(#wx_ref{type=DcT,ref=DcRef}) ->
+ DcOP = case ?CLASS_T(DcT,wxWindowDC) of
+ true ->
+ ?wxGraphicsContext_Create_1_1;
+ _ -> ?CLASS(DcT,wxWindow),
+ ?wxGraphicsContext_Create_1_0
+ end,
+ wxe_util:call(DcOP,
+ <<DcRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Pen::wxPen:wxPen()) -> wxGraphicsPen:wxGraphicsPen()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatepen">external documentation</a>.
+createPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(PenT,wxPen),
+ wxe_util:call(?wxGraphicsContext_CreatePen,
+ <<ThisRef:32/?UI,PenRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Brush::wxBrush:wxBrush()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatebrush">external documentation</a>.
+createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(BrushT,wxBrush),
+ wxe_util:call(?wxGraphicsContext_CreateBrush,
+ <<ThisRef:32/?UI,BrushRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:colour(), CColor::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreateradialgradientbrush">external documentation</a>.
+createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor)
+ when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:call(?wxGraphicsContext_CreateRadialGradientBrush,
+ <<ThisRef:32/?UI,0:32,Xo:64/?F,Yo:64/?F,Xc:64/?F,Yc:64/?F,Radius:64/?F,(wxe_util:colour_bin(OColor)):16/binary,(wxe_util:colour_bin(CColor)):16/binary>>).
+
+%% @spec (This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:colour(), C2::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatelineargradientbrush">external documentation</a>.
+createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2)
+ when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:call(?wxGraphicsContext_CreateLinearGradientBrush,
+ <<ThisRef:32/?UI,0:32,X1:64/?F,Y1:64/?F,X2:64/?F,Y2:64/?F,(wxe_util:colour_bin(C1)):16/binary,(wxe_util:colour_bin(C2)):16/binary>>).
+
+%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont()) -> wxGraphicsFont:wxGraphicsFont()
+%% @equiv createFont(This,Font, [])
+createFont(This,Font)
+ when is_record(This, wx_ref),is_record(Font, wx_ref) ->
+ createFont(This,Font, []).
+
+%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont(), [Option]) -> wxGraphicsFont:wxGraphicsFont()
+%% Option = {col, wx:colour()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatefont">external documentation</a>.
+createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(FontT,wxFont),
+ MOpts = fun({col, Col}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(Col)):16/binary,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsContext_CreateFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix()
+%% @equiv createMatrix(This, [])
+createMatrix(This)
+ when is_record(This, wx_ref) ->
+ createMatrix(This, []).
+
+%% @spec (This::wxGraphicsContext(), [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix()
+%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatematrix">external documentation</a>.
+createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ MOpts = fun({a, A}, Acc) -> [<<1:32/?UI,0:32,A:64/?F>>|Acc];
+ ({b, B}, Acc) -> [<<2:32/?UI,0:32,B:64/?F>>|Acc];
+ ({c, C}, Acc) -> [<<3:32/?UI,0:32,C:64/?F>>|Acc];
+ ({d, D}, Acc) -> [<<4:32/?UI,0:32,D:64/?F>>|Acc];
+ ({tx, Tx}, Acc) -> [<<5:32/?UI,0:32,Tx:64/?F>>|Acc];
+ ({ty, Ty}, Acc) -> [<<6:32/?UI,0:32,Ty:64/?F>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsContext_CreateMatrix,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsContext()) -> wxGraphicsPath:wxGraphicsPath()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextcreatepath">external documentation</a>.
+createPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:call(?wxGraphicsContext_CreatePath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Region::wxRegion:wxRegion()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextclip">external documentation</a>.
+clip(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:cast(?wxGraphicsContext_Clip_1,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextclip">external documentation</a>.
+clip(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_Clip_4,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsContext()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextresetclip">external documentation</a>.
+resetClip(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_ResetClip,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawbitmap">external documentation</a>.
+drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxGraphicsContext_DrawBitmap,
+ <<ThisRef:32/?UI,BmpRef:32/?UI,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawellipse">external documentation</a>.
+drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_DrawEllipse,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawicon">external documentation</a>.
+drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(IconT,wxIcon),
+ wxe_util:cast(?wxGraphicsContext_DrawIcon,
+ <<ThisRef:32/?UI,IconRef:32/?UI,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(),Y::float()}) -> ok
+%% @equiv drawLines(This,N,Points, [])
+drawLines(This,N,Points={PointsX,PointsY})
+ when is_record(This, wx_ref),is_integer(N),is_number(PointsX),is_number(PointsY) ->
+ drawLines(This,N,Points, []).
+
+%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(),Y::float()}, [Option]) -> ok
+%% Option = {fillStyle, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawlines">external documentation</a>.
+drawLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}, Options)
+ when is_integer(N),is_number(PointsX),is_number(PointsY),is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGraphicsContext_DrawLines,
+ <<ThisRef:32/?UI,N:32/?UI,PointsX:64/float,PointsY:64/float, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok
+%% @equiv drawPath(This,Path, [])
+drawPath(This,Path)
+ when is_record(This, wx_ref),is_record(Path, wx_ref) ->
+ drawPath(This,Path, []).
+
+%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), [Option]) -> ok
+%% Option = {fillStyle, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawpath">external documentation</a>.
+drawPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(PathT,wxGraphicsPath),
+ MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGraphicsContext_DrawPath,
+ <<ThisRef:32/?UI,PathRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawrectangle">external documentation</a>.
+drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_DrawRectangle,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawroundedrectangle">external documentation</a>.
+drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius)
+ when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_DrawRoundedRectangle,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F,Radius:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), Str::string(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawtext">external documentation</a>.
+drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y)
+ when is_list(Str),is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxGraphicsContext_DrawText_3,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(),Str::string(),X::float(),Y::float(),X::float()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawtext">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float()) -> ok </c>
+%% </p>
+%% <p><c>
+%% drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok </c>
+%% </p>
+drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle)
+ when is_list(Str),is_float(X),is_float(Y),is_float(Angle) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxGraphicsContext_DrawText_4_0,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8,X:64/?F,Y:64/?F,Angle:64/?F>>);
+drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef})
+ when is_list(Str),is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ ?CLASS(BackgroundBrushT,wxGraphicsBrush),
+ wxe_util:cast(?wxGraphicsContext_DrawText_4_1,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8,X:64/?F,Y:64/?F,BackgroundBrushRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextdrawtext">external documentation</a>.
+drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef})
+ when is_list(Str),is_float(X),is_float(Y),is_float(Angle) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ ?CLASS(BackgroundBrushT,wxGraphicsBrush),
+ wxe_util:cast(?wxGraphicsContext_DrawText_5,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8,X:64/?F,Y:64/?F,Angle:64/?F,BackgroundBrushRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok
+%% @equiv fillPath(This,Path, [])
+fillPath(This,Path)
+ when is_record(This, wx_ref),is_record(Path, wx_ref) ->
+ fillPath(This,Path, []).
+
+%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), [Option]) -> ok
+%% Option = {fillStyle, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextfillpath">external documentation</a>.
+fillPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(PathT,wxGraphicsPath),
+ MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGraphicsContext_FillPath,
+ <<ThisRef:32/?UI,PathRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextstrokepath">external documentation</a>.
+strokePath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(PathT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsContext_StrokePath,
+ <<ThisRef:32/?UI,PathRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextgetnativecontext">external documentation</a>.
+getNativeContext(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_GetNativeContext,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Text::string(), Widths::[float()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextgetpartialtextextents">external documentation</a>.
+getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths)
+ when is_list(Text),is_list(Widths) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxGraphicsContext_GetPartialTextExtents,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,(length(Widths)):32/?UI,
+0:32, (<< <<C:64/float>> || C <- Widths>>)/binary>>).
+
+%% @spec (This::wxGraphicsContext(), Text::string()) -> {Width::float(),Height::float(),Descent::float(),ExternalLeading::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextgettextextent">external documentation</a>.
+getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxGraphicsContext_GetTextExtent,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGraphicsContext(), Angle::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextrotate">external documentation</a>.
+rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle)
+ when is_float(Angle) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_Rotate,
+ <<ThisRef:32/?UI,0:32,Angle:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), XScale::float(), YScale::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextscale">external documentation</a>.
+scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale)
+ when is_float(XScale),is_float(YScale) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_Scale,
+ <<ThisRef:32/?UI,0:32,XScale:64/?F,YScale:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), Dx::float(), Dy::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontexttranslate">external documentation</a>.
+translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy)
+ when is_float(Dx),is_float(Dy) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_Translate,
+ <<ThisRef:32/?UI,0:32,Dx:64/?F,Dy:64/?F>>).
+
+%% @spec (This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextgettransform">external documentation</a>.
+getTransform(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:call(?wxGraphicsContext_GetTransform,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextsettransform">external documentation</a>.
+setTransform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(MatrixT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsContext_SetTransform,
+ <<ThisRef:32/?UI,MatrixRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextconcattransform">external documentation</a>.
+concatTransform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(MatrixT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsContext_ConcatTransform,
+ <<ThisRef:32/?UI,MatrixRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Brush::wxGraphicsBrush:wxGraphicsBrush() | wxBrush:wxBrush()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextsetbrush">external documentation</a>.
+setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ BrushOP = case ?CLASS_T(BrushT,wxGraphicsBrush) of
+ true ->
+ ?wxGraphicsContext_SetBrush_1_1;
+ _ -> ?CLASS(BrushT,wxBrush),
+ ?wxGraphicsContext_SetBrush_1_0
+ end,
+ wxe_util:cast(BrushOP,
+ <<ThisRef:32/?UI,BrushRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Font::wxGraphicsFont:wxGraphicsFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(FontT,wxGraphicsFont),
+ wxe_util:cast(?wxGraphicsContext_SetFont_1,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxGraphicsContext_SetFont_2,
+ <<ThisRef:32/?UI,FontRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxGraphicsContext(), Pen::wxPen:wxPen() | wxGraphicsPen:wxGraphicsPen()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextsetpen">external documentation</a>.
+setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ PenOP = case ?CLASS_T(PenT,wxPen) of
+ true ->
+ ?wxGraphicsContext_SetPen_1_1;
+ _ -> ?CLASS(PenT,wxGraphicsPen),
+ ?wxGraphicsContext_SetPen_1_0
+ end,
+ wxe_util:cast(PenOP,
+ <<ThisRef:32/?UI,PenRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextstrokeline">external documentation</a>.
+strokeLine(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2)
+ when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_StrokeLine,
+ <<ThisRef:32/?UI,0:32,X1:64/?F,Y1:64/?F,X2:64/?F,Y2:64/?F>>).
+
+%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(),Y::float()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextstrokelines">external documentation</a>.
+strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY})
+ when is_integer(N),is_number(PointsX),is_number(PointsY) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_StrokeLines_2,
+ <<ThisRef:32/?UI,N:32/?UI,PointsX:64/float,PointsY:64/float>>).
+
+%% @spec (This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(),Y::float()}, EndPoints::{X::float(),Y::float()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicscontext.html#wxgraphicscontextstrokelines">external documentation</a>.
+strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{BeginPointsX,BeginPointsY},{EndPointsX,EndPointsY})
+ when is_integer(N),is_number(BeginPointsX),is_number(BeginPointsY),is_number(EndPointsX),is_number(EndPointsY) ->
+ ?CLASS(ThisT,wxGraphicsContext),
+ wxe_util:cast(?wxGraphicsContext_StrokeLines_3,
+ <<ThisRef:32/?UI,N:32/?UI,BeginPointsX:64/float,BeginPointsY:64/float,EndPointsX:64/float,EndPointsY:64/float>>).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsFont.erl b/lib/wx/src/gen/wxGraphicsFont.erl
new file mode 100644
index 0000000000..07c964d9b9
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsFont.erl
@@ -0,0 +1,43 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsfont.html">wxGraphicsFont</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsFont(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsFont).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsMatrix.erl b/lib/wx/src/gen/wxGraphicsMatrix.erl
new file mode 100644
index 0000000000..b8c7b3eefb
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsMatrix.erl
@@ -0,0 +1,149 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html">wxGraphicsMatrix</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsMatrix(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsMatrix).
+-include("wxe.hrl").
+-export([concat/2,get/1,getNativeMatrix/1,invert/1,isEqual/2,isIdentity/1,rotate/2,
+ scale/3,set/1,set/2,transformDistance/1,transformPoint/1,translate/3]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixconcat">external documentation</a>.
+concat(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TT,ref=TRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ ?CLASS(TT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_Concat,
+ <<ThisRef:32/?UI,TRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> {A::float(),B::float(),C::float(),D::float(),Tx::float(),Ty::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixget">external documentation</a>.
+get(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:call(?wxGraphicsMatrix_Get,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixgetnativematrix">external documentation</a>.
+getNativeMatrix(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_GetNativeMatrix,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixinvert">external documentation</a>.
+invert(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_Invert,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixisequal">external documentation</a>.
+isEqual(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TT,ref=TRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ ?CLASS(TT,wxGraphicsMatrix),
+ wxe_util:call(?wxGraphicsMatrix_IsEqual,
+ <<ThisRef:32/?UI,TRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixisidentity">external documentation</a>.
+isIdentity(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:call(?wxGraphicsMatrix_IsIdentity,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix(), Angle::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixrotate">external documentation</a>.
+rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle)
+ when is_float(Angle) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_Rotate,
+ <<ThisRef:32/?UI,0:32,Angle:64/?F>>).
+
+%% @spec (This::wxGraphicsMatrix(), XScale::float(), YScale::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixscale">external documentation</a>.
+scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale)
+ when is_float(XScale),is_float(YScale) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_Scale,
+ <<ThisRef:32/?UI,0:32,XScale:64/?F,YScale:64/?F>>).
+
+%% @spec (This::wxGraphicsMatrix(), Dx::float(), Dy::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixtranslate">external documentation</a>.
+translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy)
+ when is_float(Dx),is_float(Dy) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsMatrix_Translate,
+ <<ThisRef:32/?UI,0:32,Dx:64/?F,Dy:64/?F>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> ok
+%% @equiv set(This, [])
+set(This)
+ when is_record(This, wx_ref) ->
+ set(This, []).
+
+%% @spec (This::wxGraphicsMatrix(), [Option]) -> ok
+%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixset">external documentation</a>.
+set(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ MOpts = fun({a, A}, Acc) -> [<<1:32/?UI,0:32,A:64/?F>>|Acc];
+ ({b, B}, Acc) -> [<<2:32/?UI,0:32,B:64/?F>>|Acc];
+ ({c, C}, Acc) -> [<<3:32/?UI,0:32,C:64/?F>>|Acc];
+ ({d, D}, Acc) -> [<<4:32/?UI,0:32,D:64/?F>>|Acc];
+ ({tx, Tx}, Acc) -> [<<5:32/?UI,0:32,Tx:64/?F>>|Acc];
+ ({ty, Ty}, Acc) -> [<<6:32/?UI,0:32,Ty:64/?F>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGraphicsMatrix_Set,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> {X::float(),Y::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixtransformpoint">external documentation</a>.
+transformPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:call(?wxGraphicsMatrix_TransformPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsMatrix()) -> {Dx::float(),Dy::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsmatrix.html#wxgraphicsmatrixtransformdistance">external documentation</a>.
+transformDistance(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsMatrix),
+ wxe_util:call(?wxGraphicsMatrix_TransformDistance,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsObject.erl b/lib/wx/src/gen/wxGraphicsObject.erl
new file mode 100644
index 0000000000..5b8b44ceca
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsObject.erl
@@ -0,0 +1,48 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsobject.html">wxGraphicsObject</a>.
+%% @type wxGraphicsObject(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsObject).
+-include("wxe.hrl").
+-export([getRenderer/1,isNull/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGraphicsObject()) -> wxGraphicsRenderer:wxGraphicsRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsobject.html#wxgraphicsobjectgetrenderer">external documentation</a>.
+getRenderer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsObject),
+ wxe_util:call(?wxGraphicsObject_GetRenderer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsObject()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsobject.html#wxgraphicsobjectisnull">external documentation</a>.
+isNull(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsObject),
+ wxe_util:call(?wxGraphicsObject_IsNull,
+ <<ThisRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxGraphicsPath.erl b/lib/wx/src/gen/wxGraphicsPath.erl
new file mode 100644
index 0000000000..7b27545d5f
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsPath.erl
@@ -0,0 +1,236 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html">wxGraphicsPath</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsPath(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsPath).
+-include("wxe.hrl").
+-export([addArc/6,addArc/7,addArcToPoint/6,addCircle/4,addCurveToPoint/4,addCurveToPoint/7,
+ addEllipse/5,addLineToPoint/2,addLineToPoint/3,addPath/2,addQuadCurveToPoint/5,
+ addRectangle/5,addRoundedRectangle/6,closeSubpath/1,contains/2,contains/3,
+ contains/4,getBox/1,getCurrentPoint/1,moveToPoint/2,moveToPoint/3,
+ transform/2]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGraphicsPath(), P::{X::float(),Y::float()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathmovetopoint">external documentation</a>.
+moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY})
+ when is_number(PX),is_number(PY) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_MoveToPoint_1,
+ <<ThisRef:32/?UI,0:32,PX:64/float,PY:64/float>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathmovetopoint">external documentation</a>.
+moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_MoveToPoint_2,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), C::{X::float(),Y::float()}, R::float(), StartAngle::float(), EndAngle::float(), Clockwise::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddarc">external documentation</a>.
+addArc(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY},R,StartAngle,EndAngle,Clockwise)
+ when is_number(CX),is_number(CY),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddArc_5,
+ <<ThisRef:32/?UI,0:32,CX:64/float,CY:64/float,R:64/?F,StartAngle:64/?F,EndAngle:64/?F,(wxe_util:from_bool(Clockwise)):32/?UI>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), R::float(), StartAngle::float(), EndAngle::float(), Clockwise::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddarc">external documentation</a>.
+addArc(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,StartAngle,EndAngle,Clockwise)
+ when is_float(X),is_float(Y),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddArc_6,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,R:64/?F,StartAngle:64/?F,EndAngle:64/?F,(wxe_util:from_bool(Clockwise)):32/?UI>>).
+
+%% @spec (This::wxGraphicsPath(), X1::float(), Y1::float(), X2::float(), Y2::float(), R::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddarctopoint">external documentation</a>.
+addArcToPoint(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,R)
+ when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),is_float(R) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddArcToPoint,
+ <<ThisRef:32/?UI,0:32,X1:64/?F,Y1:64/?F,X2:64/?F,Y2:64/?F,R:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), R::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddcircle">external documentation</a>.
+addCircle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R)
+ when is_float(X),is_float(Y),is_float(R) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddCircle,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,R:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), C1::{X::float(),Y::float()}, C2::{X::float(),Y::float()}, E::{X::float(),Y::float()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddcurvetopoint">external documentation</a>.
+addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{C1X,C1Y},{C2X,C2Y},{EX,EY})
+ when is_number(C1X),is_number(C1Y),is_number(C2X),is_number(C2Y),is_number(EX),is_number(EY) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_3,
+ <<ThisRef:32/?UI,0:32,C1X:64/float,C1Y:64/float,C2X:64/float,C2Y:64/float,EX:64/float,EY:64/float>>).
+
+%% @spec (This::wxGraphicsPath(), Cx1::float(), Cy1::float(), Cx2::float(), Cy2::float(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddcurvetopoint">external documentation</a>.
+addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx1,Cy1,Cx2,Cy2,X,Y)
+ when is_float(Cx1),is_float(Cy1),is_float(Cx2),is_float(Cy2),is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_6,
+ <<ThisRef:32/?UI,0:32,Cx1:64/?F,Cy1:64/?F,Cx2:64/?F,Cy2:64/?F,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddellipse">external documentation</a>.
+addEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddEllipse,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), P::{X::float(),Y::float()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddlinetopoint">external documentation</a>.
+addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY})
+ when is_number(PX),is_number(PY) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddLineToPoint_1,
+ <<ThisRef:32/?UI,0:32,PX:64/float,PY:64/float>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddlinetopoint">external documentation</a>.
+addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddLineToPoint_2,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), Path::wxGraphicsPath()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddpath">external documentation</a>.
+addPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ ?CLASS(PathT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddPath,
+ <<ThisRef:32/?UI,PathRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsPath(), Cx::float(), Cy::float(), X::float(), Y::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddquadcurvetopoint">external documentation</a>.
+addQuadCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx,Cy,X,Y)
+ when is_float(Cx),is_float(Cy),is_float(X),is_float(Y) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddQuadCurveToPoint,
+ <<ThisRef:32/?UI,0:32,Cx:64/?F,Cy:64/?F,X:64/?F,Y:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddrectangle">external documentation</a>.
+addRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_float(X),is_float(Y),is_float(W),is_float(H) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddRectangle,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathaddroundedrectangle">external documentation</a>.
+addRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius)
+ when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_AddRoundedRectangle,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F,W:64/?F,H:64/?F,Radius:64/?F>>).
+
+%% @spec (This::wxGraphicsPath()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathclosesubpath">external documentation</a>.
+closeSubpath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:cast(?wxGraphicsPath_CloseSubpath,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsPath(), C::{X::float(),Y::float()}) -> bool()
+%% @equiv contains(This,C, [])
+contains(This,C={CX,CY})
+ when is_record(This, wx_ref),is_number(CX),is_number(CY) ->
+ contains(This,C, []).
+
+%% @spec (This::wxGraphicsPath(),X::float()|term(),X::float()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathcontains">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% contains(This::wxGraphicsPath(), X::float(), Y::float()) -> contains(This,X,Y, []) </c></p>
+%% <p><c>
+%% contains(This::wxGraphicsPath(), C::{X::float(),Y::float()}, [Option]) -> bool() </c>
+%%<br /> Option = {fillStyle, integer()}
+%% </p>
+
+contains(This,X,Y)
+ when is_record(This, wx_ref),is_float(X),is_float(Y) ->
+ contains(This,X,Y, []);
+contains(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY}, Options)
+ when is_number(CX),is_number(CY),is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsPath_Contains_2,
+ <<ThisRef:32/?UI,0:32,CX:64/float,CY:64/float, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), [Option]) -> bool()
+%% Option = {fillStyle, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathcontains">external documentation</a>.
+contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options)
+ when is_float(X),is_float(Y),is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsPath_Contains_3,
+ <<ThisRef:32/?UI,0:32,X:64/?F,Y:64/?F, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsPath()) -> {X::float(),Y::float(),W::float(),H::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathgetbox">external documentation</a>.
+getBox(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:call(?wxGraphicsPath_GetBox,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsPath()) -> {X::float(),Y::float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathgetcurrentpoint">external documentation</a>.
+getCurrentPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ wxe_util:call(?wxGraphicsPath_GetCurrentPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsPath(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspath.html#wxgraphicspathtransform">external documentation</a>.
+transform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) ->
+ ?CLASS(ThisT,wxGraphicsPath),
+ ?CLASS(MatrixT,wxGraphicsMatrix),
+ wxe_util:cast(?wxGraphicsPath_Transform,
+ <<ThisRef:32/?UI,MatrixRef:32/?UI>>).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsPen.erl b/lib/wx/src/gen/wxGraphicsPen.erl
new file mode 100644
index 0000000000..6abf52f025
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsPen.erl
@@ -0,0 +1,43 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicspen.html">wxGraphicsPen</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGraphicsObject}
+%% </p>
+%% @type wxGraphicsPen(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsPen).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getRenderer/1,isNull/1,parent_class/1]).
+
+%% @hidden
+parent_class(wxGraphicsObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxGraphicsObject
+%% @hidden
+isNull(This) -> wxGraphicsObject:isNull(This).
+%% @hidden
+getRenderer(This) -> wxGraphicsObject:getRenderer(This).
diff --git a/lib/wx/src/gen/wxGraphicsRenderer.erl b/lib/wx/src/gen/wxGraphicsRenderer.erl
new file mode 100644
index 0000000000..457ffe2b6e
--- /dev/null
+++ b/lib/wx/src/gen/wxGraphicsRenderer.erl
@@ -0,0 +1,136 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html">wxGraphicsRenderer</a>.
+%% @type wxGraphicsRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGraphicsRenderer).
+-include("wxe.hrl").
+-export([createBrush/2,createContext/2,createFont/2,createFont/3,createLinearGradientBrush/7,
+ createMatrix/1,createMatrix/2,createPath/1,createPen/2,createRadialGradientBrush/8,
+ getDefaultRenderer/0]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGraphicsRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderergetdefaultrenderer">external documentation</a>.
+getDefaultRenderer() ->
+ wxe_util:call(?wxGraphicsRenderer_GetDefaultRenderer,
+ <<>>).
+
+%% @spec (This::wxGraphicsRenderer(), Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow()) -> wxGraphicsContext:wxGraphicsContext()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatecontext">external documentation</a>.
+createContext(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ DcOP = case ?CLASS_T(DcT,wxWindowDC) of
+ true ->
+ ?wxGraphicsRenderer_CreateContext_1_1;
+ _ -> ?CLASS(DcT,wxWindow),
+ ?wxGraphicsRenderer_CreateContext_1_0
+ end,
+ wxe_util:call(DcOP,
+ <<ThisRef:32/?UI,DcRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsRenderer(), Pen::wxPen:wxPen()) -> wxGraphicsPen:wxGraphicsPen()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatepen">external documentation</a>.
+createPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ ?CLASS(PenT,wxPen),
+ wxe_util:call(?wxGraphicsRenderer_CreatePen,
+ <<ThisRef:32/?UI,PenRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsRenderer(), Brush::wxBrush:wxBrush()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatebrush">external documentation</a>.
+createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ ?CLASS(BrushT,wxBrush),
+ wxe_util:call(?wxGraphicsRenderer_CreateBrush,
+ <<ThisRef:32/?UI,BrushRef:32/?UI>>).
+
+%% @spec (This::wxGraphicsRenderer(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:colour(), C2::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatelineargradientbrush">external documentation</a>.
+createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2)
+ when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ wxe_util:call(?wxGraphicsRenderer_CreateLinearGradientBrush,
+ <<ThisRef:32/?UI,0:32,X1:64/?F,Y1:64/?F,X2:64/?F,Y2:64/?F,(wxe_util:colour_bin(C1)):16/binary,(wxe_util:colour_bin(C2)):16/binary>>).
+
+%% @spec (This::wxGraphicsRenderer(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:colour(), CColor::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreateradialgradientbrush">external documentation</a>.
+createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor)
+ when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ wxe_util:call(?wxGraphicsRenderer_CreateRadialGradientBrush,
+ <<ThisRef:32/?UI,0:32,Xo:64/?F,Yo:64/?F,Xc:64/?F,Yc:64/?F,Radius:64/?F,(wxe_util:colour_bin(OColor)):16/binary,(wxe_util:colour_bin(CColor)):16/binary>>).
+
+%% @spec (This::wxGraphicsRenderer(), Font::wxFont:wxFont()) -> wxGraphicsFont:wxGraphicsFont()
+%% @equiv createFont(This,Font, [])
+createFont(This,Font)
+ when is_record(This, wx_ref),is_record(Font, wx_ref) ->
+ createFont(This,Font, []).
+
+%% @spec (This::wxGraphicsRenderer(), Font::wxFont:wxFont(), [Option]) -> wxGraphicsFont:wxGraphicsFont()
+%% Option = {col, wx:colour()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatefont">external documentation</a>.
+createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ ?CLASS(FontT,wxFont),
+ MOpts = fun({col, Col}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(Col)):16/binary,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsRenderer_CreateFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsRenderer()) -> wxGraphicsMatrix:wxGraphicsMatrix()
+%% @equiv createMatrix(This, [])
+createMatrix(This)
+ when is_record(This, wx_ref) ->
+ createMatrix(This, []).
+
+%% @spec (This::wxGraphicsRenderer(), [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix()
+%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatematrix">external documentation</a>.
+createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ MOpts = fun({a, A}, Acc) -> [<<1:32/?UI,0:32,A:64/?F>>|Acc];
+ ({b, B}, Acc) -> [<<2:32/?UI,0:32,B:64/?F>>|Acc];
+ ({c, C}, Acc) -> [<<3:32/?UI,0:32,C:64/?F>>|Acc];
+ ({d, D}, Acc) -> [<<4:32/?UI,0:32,D:64/?F>>|Acc];
+ ({tx, Tx}, Acc) -> [<<5:32/?UI,0:32,Tx:64/?F>>|Acc];
+ ({ty, Ty}, Acc) -> [<<6:32/?UI,0:32,Ty:64/?F>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGraphicsRenderer_CreateMatrix,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGraphicsRenderer()) -> wxGraphicsPath:wxGraphicsPath()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgraphicsrenderer.html#wxgraphicsrenderercreatepath">external documentation</a>.
+createPath(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGraphicsRenderer),
+ wxe_util:call(?wxGraphicsRenderer_CreatePath,
+ <<ThisRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxGrid.erl b/lib/wx/src/gen/wxGrid.erl
new file mode 100644
index 0000000000..2a45bc3d6b
--- /dev/null
+++ b/lib/wx/src/gen/wxGrid.erl
@@ -0,0 +1,2264 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html">wxGrid</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxScrolledWindow}
+%% <br />{@link wxPanel}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxGrid(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGrid).
+-include("wxe.hrl").
+-export([appendCols/1,appendCols/2,appendRows/1,appendRows/2,autoSize/1,autoSizeColumn/2,
+ autoSizeColumn/3,autoSizeColumns/1,autoSizeColumns/2,autoSizeRow/2,
+ autoSizeRow/3,autoSizeRows/1,autoSizeRows/2,beginBatch/1,blockToDeviceRect/3,
+ canDragColSize/1,canDragGridSize/1,canDragRowSize/1,canEnableCellControl/1,
+ cellToRect/2,cellToRect/3,clearGrid/1,clearSelection/1,createGrid/3,
+ createGrid/4,deleteCols/1,deleteCols/2,deleteRows/1,deleteRows/2,destroy/1,
+ disableCellEditControl/1,disableDragColSize/1,disableDragGridSize/1,
+ disableDragRowSize/1,enableCellEditControl/1,enableCellEditControl/2,
+ enableDragColSize/1,enableDragColSize/2,enableDragGridSize/1,enableDragGridSize/2,
+ enableDragRowSize/1,enableDragRowSize/2,enableEditing/2,enableGridLines/1,
+ enableGridLines/2,endBatch/1,fit/1,forceRefresh/1,getBatchCount/1,
+ getCellAlignment/3,getCellBackgroundColour/3,getCellEditor/3,getCellFont/3,
+ getCellRenderer/3,getCellTextColour/3,getCellValue/2,getCellValue/3,
+ getColLabelAlignment/1,getColLabelSize/1,getColLabelValue/2,getColMinimalAcceptableWidth/1,
+ getDefaultCellAlignment/1,getDefaultCellBackgroundColour/1,getDefaultCellFont/1,
+ getDefaultCellTextColour/1,getDefaultColLabelSize/1,getDefaultColSize/1,
+ getDefaultEditor/1,getDefaultEditorForCell/2,getDefaultEditorForCell/3,
+ getDefaultEditorForType/2,getDefaultRenderer/1,getDefaultRendererForCell/3,
+ getDefaultRendererForType/2,getDefaultRowLabelSize/1,getDefaultRowSize/1,
+ getGridColLabelWindow/1,getGridCornerLabelWindow/1,getGridCursorCol/1,
+ getGridCursorRow/1,getGridLineColour/1,getGridRowLabelWindow/1,getGridWindow/1,
+ getLabelBackgroundColour/1,getLabelFont/1,getLabelTextColour/1,getNumberCols/1,
+ getNumberRows/1,getOrCreateCellAttr/3,getRowLabelAlignment/1,getRowLabelSize/1,
+ getRowLabelValue/2,getRowMinimalAcceptableHeight/1,getRowSize/2,
+ getScrollLineX/1,getScrollLineY/1,getSelectedCells/1,getSelectedCols/1,
+ getSelectedRows/1,getSelectionBackground/1,getSelectionBlockBottomRight/1,
+ getSelectionBlockTopLeft/1,getSelectionForeground/1,getViewWidth/1,
+ gridLinesEnabled/1,hideCellEditControl/1,insertCols/1,insertCols/2,
+ insertRows/1,insertRows/2,isCellEditControlEnabled/1,isCurrentCellReadOnly/1,
+ isEditable/1,isInSelection/2,isInSelection/3,isReadOnly/3,isSelection/1,
+ isVisible/2,isVisible/3,isVisible/4,makeCellVisible/2,makeCellVisible/3,
+ moveCursorDown/2,moveCursorDownBlock/2,moveCursorLeft/2,moveCursorLeftBlock/2,
+ moveCursorRight/2,moveCursorRightBlock/2,moveCursorUp/2,moveCursorUpBlock/2,
+ movePageDown/1,movePageUp/1,new/0,new/2,new/3,new/4,registerDataType/4,
+ saveEditControlValue/1,selectAll/1,selectBlock/3,selectBlock/4,selectBlock/5,
+ selectBlock/6,selectCol/2,selectCol/3,selectRow/2,selectRow/3,setCellAlignment/2,
+ setCellAlignment/4,setCellAlignment/5,setCellBackgroundColour/2,
+ setCellBackgroundColour/4,setCellEditor/4,setCellFont/4,setCellRenderer/4,
+ setCellTextColour/2,setCellTextColour/4,setCellValue/3,setCellValue/4,
+ setColAttr/3,setColFormatBool/2,setColFormatCustom/3,setColFormatFloat/2,
+ setColFormatFloat/3,setColFormatNumber/2,setColLabelAlignment/3,
+ setColLabelSize/2,setColLabelValue/3,setColMinimalAcceptableWidth/2,
+ setColMinimalWidth/3,setColSize/3,setDefaultCellAlignment/3,setDefaultCellBackgroundColour/2,
+ setDefaultCellFont/2,setDefaultCellTextColour/2,setDefaultColSize/2,
+ setDefaultColSize/3,setDefaultEditor/2,setDefaultRenderer/2,setDefaultRowSize/2,
+ setDefaultRowSize/3,setGridCursor/3,setGridLineColour/2,setLabelBackgroundColour/2,
+ setLabelFont/2,setLabelTextColour/2,setMargins/3,setReadOnly/3,setReadOnly/4,
+ setRowAttr/3,setRowLabelAlignment/3,setRowLabelSize/2,setRowLabelValue/3,
+ setRowMinimalAcceptableHeight/2,setRowMinimalHeight/3,setRowSize/3,
+ setScrollLineX/2,setScrollLineY/2,setSelectionBackground/2,setSelectionForeground/2,
+ setSelectionMode/2,showCellEditControl/1,xToCol/2,xToCol/3,xToEdgeOfCol/2,
+ yToEdgeOfRow/2,yToRow/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,calcScrolledPosition/2,calcScrolledPosition/3,calcUnscrolledPosition/2,
+ calcUnscrolledPosition/3,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ doPrepareDC/2,enable/1,enable/2,enableScrolling/3,findWindow/2,fitInside/1,
+ freeze/1,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
+ getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPixelsPerUnit/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getToolTip/1,getUpdateRegion/1,getViewStart/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,prepareDC/2,raise/1,refresh/1,refresh/2,
+ refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,
+ screenToClient/1,screenToClient/2,scroll/3,scrollLines/2,scrollPages/2,
+ scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollRate/3,setScrollbar/5,setScrollbar/6,
+ setScrollbars/5,setScrollbars/6,setSize/2,setSize/3,setSize/5,setSize/6,
+ setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,
+ setSizerAndFit/2,setSizerAndFit/3,setTargetWindow/2,setThemeEnabled/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxScrolledWindow) -> true;
+parent_class(wxPanel) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGrid()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridwxgrid">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGrid_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxGrid()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(),X::integer(),X::integer()|term()) -> wxGrid()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridwxgrid">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), X::integer(), Y::integer()) -> new(Parent,X,Y, []) </c></p>
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxGrid() </c>
+%%<br /> Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% </p>
+
+new(Parent,X,Y)
+ when is_record(Parent, wx_ref),is_integer(X),is_integer(Y) ->
+ new(Parent,X,Y, []);
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGrid_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), [Option]) -> wxGrid()
+%% Option = {w, integer()} | {h, integer()} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridwxgrid">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},X,Y, Options)
+ when is_integer(X),is_integer(Y),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({w, W}, Acc) -> [<<1:32/?UI,W:32/?UI>>|Acc];
+ ({h, H}, Acc) -> [<<2:32/?UI,H:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGrid_new_4,
+ <<ParentRef:32/?UI,X:32/?UI,Y:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv appendCols(This, [])
+appendCols(This)
+ when is_record(This, wx_ref) ->
+ appendCols(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {numCols, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridappendcols">external documentation</a>.
+appendCols(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({numCols, NumCols}, Acc) -> [<<1:32/?UI,NumCols:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_AppendCols,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv appendRows(This, [])
+appendRows(This)
+ when is_record(This, wx_ref) ->
+ appendRows(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {numRows, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridappendrows">external documentation</a>.
+appendRows(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({numRows, NumRows}, Acc) -> [<<1:32/?UI,NumRows:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_AppendRows,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridautosize">external documentation</a>.
+autoSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_AutoSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> ok
+%% @equiv autoSizeColumn(This,Col, [])
+autoSizeColumn(This,Col)
+ when is_record(This, wx_ref),is_integer(Col) ->
+ autoSizeColumn(This,Col, []).
+
+%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok
+%% Option = {setAsMin, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridautosizecolumn">external documentation</a>.
+autoSizeColumn(#wx_ref{type=ThisT,ref=ThisRef},Col, Options)
+ when is_integer(Col),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({setAsMin, SetAsMin}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(SetAsMin)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_AutoSizeColumn,
+ <<ThisRef:32/?UI,Col:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv autoSizeColumns(This, [])
+autoSizeColumns(This)
+ when is_record(This, wx_ref) ->
+ autoSizeColumns(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {setAsMin, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridautosizecolumns">external documentation</a>.
+autoSizeColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({setAsMin, SetAsMin}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(SetAsMin)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_AutoSizeColumns,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Row::integer()) -> ok
+%% @equiv autoSizeRow(This,Row, [])
+autoSizeRow(This,Row)
+ when is_record(This, wx_ref),is_integer(Row) ->
+ autoSizeRow(This,Row, []).
+
+%% @spec (This::wxGrid(), Row::integer(), [Option]) -> ok
+%% Option = {setAsMin, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridautosizerow">external documentation</a>.
+autoSizeRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options)
+ when is_integer(Row),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({setAsMin, SetAsMin}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(SetAsMin)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_AutoSizeRow,
+ <<ThisRef:32/?UI,Row:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv autoSizeRows(This, [])
+autoSizeRows(This)
+ when is_record(This, wx_ref) ->
+ autoSizeRows(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {setAsMin, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridautosizerows">external documentation</a>.
+autoSizeRows(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({setAsMin, SetAsMin}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(SetAsMin)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_AutoSizeRows,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridbeginbatch">external documentation</a>.
+beginBatch(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_BeginBatch,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), TopLeft::{R::integer(),C::integer()}, BottomRight::{R::integer(),C::integer()}) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridblocktodevicerect">external documentation</a>.
+blockToDeviceRect(#wx_ref{type=ThisT,ref=ThisRef},{TopLeftR,TopLeftC},{BottomRightR,BottomRightC})
+ when is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_BlockToDeviceRect,
+ <<ThisRef:32/?UI,TopLeftR:32/?UI,TopLeftC:32/?UI,BottomRightR:32/?UI,BottomRightC:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcandragcolsize">external documentation</a>.
+canDragColSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CanDragColSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcandragrowsize">external documentation</a>.
+canDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CanDragRowSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcandraggridsize">external documentation</a>.
+canDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CanDragGridSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcanenablecellcontrol">external documentation</a>.
+canEnableCellControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CanEnableCellControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcelltorect">external documentation</a>.
+cellToRect(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC})
+ when is_integer(CoordsR),is_integer(CoordsC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CellToRect_1,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcelltorect">external documentation</a>.
+cellToRect(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_CellToRect_2,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcleargrid">external documentation</a>.
+clearGrid(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_ClearGrid,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridclearselection">external documentation</a>.
+clearSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_ClearSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), NumRows::integer(), NumCols::integer()) -> bool()
+%% @equiv createGrid(This,NumRows,NumCols, [])
+createGrid(This,NumRows,NumCols)
+ when is_record(This, wx_ref),is_integer(NumRows),is_integer(NumCols) ->
+ createGrid(This,NumRows,NumCols, []).
+
+%% @spec (This::wxGrid(), NumRows::integer(), NumCols::integer(), [Option]) -> bool()
+%% Option = {selmode, WxGridSelectionModes}
+%% WxGridSelectionModes = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridcreategrid">external documentation</a>.
+%%<br /> WxGridSelectionModes is one of ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns
+createGrid(#wx_ref{type=ThisT,ref=ThisRef},NumRows,NumCols, Options)
+ when is_integer(NumRows),is_integer(NumCols),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({selmode, Selmode}, Acc) -> [<<1:32/?UI,Selmode:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_CreateGrid,
+ <<ThisRef:32/?UI,NumRows:32/?UI,NumCols:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv deleteCols(This, [])
+deleteCols(This)
+ when is_record(This, wx_ref) ->
+ deleteCols(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {pos, integer()} | {numCols, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddeletecols">external documentation</a>.
+deleteCols(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({pos, Pos}, Acc) -> [<<1:32/?UI,Pos:32/?UI>>|Acc];
+ ({numCols, NumCols}, Acc) -> [<<2:32/?UI,NumCols:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<3:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_DeleteCols,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv deleteRows(This, [])
+deleteRows(This)
+ when is_record(This, wx_ref) ->
+ deleteRows(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {pos, integer()} | {numRows, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddeleterows">external documentation</a>.
+deleteRows(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({pos, Pos}, Acc) -> [<<1:32/?UI,Pos:32/?UI>>|Acc];
+ ({numRows, NumRows}, Acc) -> [<<2:32/?UI,NumRows:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<3:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_DeleteRows,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddisablecelleditcontrol">external documentation</a>.
+disableCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_DisableCellEditControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddisabledragcolsize">external documentation</a>.
+disableDragColSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_DisableDragColSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddisabledraggridsize">external documentation</a>.
+disableDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_DisableDragGridSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgriddisabledragrowsize">external documentation</a>.
+disableDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_DisableDragRowSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv enableCellEditControl(This, [])
+enableCellEditControl(This)
+ when is_record(This, wx_ref) ->
+ enableCellEditControl(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenablecelleditcontrol">external documentation</a>.
+enableCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_EnableCellEditControl,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv enableDragColSize(This, [])
+enableDragColSize(This)
+ when is_record(This, wx_ref) ->
+ enableDragColSize(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenabledragcolsize">external documentation</a>.
+enableDragColSize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_EnableDragColSize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv enableDragGridSize(This, [])
+enableDragGridSize(This)
+ when is_record(This, wx_ref) ->
+ enableDragGridSize(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenabledraggridsize">external documentation</a>.
+enableDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_EnableDragGridSize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv enableDragRowSize(This, [])
+enableDragRowSize(This)
+ when is_record(This, wx_ref) ->
+ enableDragRowSize(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenabledragrowsize">external documentation</a>.
+enableDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_EnableDragRowSize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Edit::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenableediting">external documentation</a>.
+enableEditing(#wx_ref{type=ThisT,ref=ThisRef},Edit)
+ when is_boolean(Edit) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_EnableEditing,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Edit)):32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @equiv enableGridLines(This, [])
+enableGridLines(This)
+ when is_record(This, wx_ref) ->
+ enableGridLines(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridenablegridlines">external documentation</a>.
+enableGridLines(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_EnableGridLines,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridendbatch">external documentation</a>.
+endBatch(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_EndBatch,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridfit">external documentation</a>.
+fit(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_Fit,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridforcerefresh">external documentation</a>.
+forceRefresh(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_ForceRefresh,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetbatchcount">external documentation</a>.
+getBatchCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetBatchCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> {Horiz::integer(),Vert::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellalignment">external documentation</a>.
+getCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellAlignment,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellbackgroundcolour">external documentation</a>.
+getCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellBackgroundColour,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcelleditor">external documentation</a>.
+getCellEditor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellEditor,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellfont">external documentation</a>.
+getCellFont(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellFont,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellrenderer">external documentation</a>.
+getCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellRenderer,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcelltextcolour">external documentation</a>.
+getCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellTextColour,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellvalue">external documentation</a>.
+getCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC})
+ when is_integer(CoordsR),is_integer(CoordsC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellValue_1,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcellvalue">external documentation</a>.
+getCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetCellValue_2,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> {Horiz::integer(),Vert::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcollabelalignment">external documentation</a>.
+getColLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetColLabelAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcollabelsize">external documentation</a>.
+getColLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetColLabelSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcollabelvalue">external documentation</a>.
+getColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetColLabelValue,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetcolminimalacceptablewidth">external documentation</a>.
+getColMinimalAcceptableWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetColMinimalAcceptableWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> {Horiz::integer(),Vert::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcellalignment">external documentation</a>.
+getDefaultCellAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultCellAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcellbackgroundcolour">external documentation</a>.
+getDefaultCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultCellBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcellfont">external documentation</a>.
+getDefaultCellFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultCellFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcelltextcolour">external documentation</a>.
+getDefaultCellTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultCellTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcollabelsize">external documentation</a>.
+getDefaultColLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultColLabelSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultcolsize">external documentation</a>.
+getDefaultColSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultColSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaulteditor">external documentation</a>.
+getDefaultEditor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultEditor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), C::{R::integer(),C::integer()}) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaulteditorforcell">external documentation</a>.
+getDefaultEditorForCell(#wx_ref{type=ThisT,ref=ThisRef},{CR,CC})
+ when is_integer(CR),is_integer(CC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultEditorForCell_1,
+ <<ThisRef:32/?UI,CR:32/?UI,CC:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaulteditorforcell">external documentation</a>.
+getDefaultEditorForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultEditorForCell_2,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), TypeName::string()) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaulteditorfortype">external documentation</a>.
+getDefaultEditorForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName)
+ when is_list(TypeName) ->
+ ?CLASS(ThisT,wxGrid),
+ TypeName_UC = unicode:characters_to_binary([TypeName,0]),
+ wxe_util:call(?wxGrid_GetDefaultEditorForType,
+ <<ThisRef:32/?UI,(byte_size(TypeName_UC)):32/?UI,(TypeName_UC)/binary, 0:(((8- ((0+byte_size(TypeName_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid()) -> wxGridCellRenderer:wxGridCellRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultrenderer">external documentation</a>.
+getDefaultRenderer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultRenderer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultrendererforcell">external documentation</a>.
+getDefaultRendererForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultRendererForCell,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), TypeName::string()) -> wxGridCellRenderer:wxGridCellRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultrendererfortype">external documentation</a>.
+getDefaultRendererForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName)
+ when is_list(TypeName) ->
+ ?CLASS(ThisT,wxGrid),
+ TypeName_UC = unicode:characters_to_binary([TypeName,0]),
+ wxe_util:call(?wxGrid_GetDefaultRendererForType,
+ <<ThisRef:32/?UI,(byte_size(TypeName_UC)):32/?UI,(TypeName_UC)/binary, 0:(((8- ((0+byte_size(TypeName_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultrowlabelsize">external documentation</a>.
+getDefaultRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultRowLabelSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetdefaultrowsize">external documentation</a>.
+getDefaultRowSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetDefaultRowSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridcursorcol">external documentation</a>.
+getGridCursorCol(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridCursorCol,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridcursorrow">external documentation</a>.
+getGridCursorRow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridCursorRow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridlinecolour">external documentation</a>.
+getGridLineColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridLineColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgridlinesenabled">external documentation</a>.
+gridLinesEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GridLinesEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetlabelbackgroundcolour">external documentation</a>.
+getLabelBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetLabelBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetlabelfont">external documentation</a>.
+getLabelFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetLabelFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetlabeltextcolour">external documentation</a>.
+getLabelTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetLabelTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetnumbercols">external documentation</a>.
+getNumberCols(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetNumberCols,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetnumberrows">external documentation</a>.
+getNumberRows(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetNumberRows,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellAttr:wxGridCellAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetorcreatecellattr">external documentation</a>.
+getOrCreateCellAttr(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetOrCreateCellAttr,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetrowminimalacceptableheight">external documentation</a>.
+getRowMinimalAcceptableHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetRowMinimalAcceptableHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> {Horiz::integer(),Vert::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetrowlabelalignment">external documentation</a>.
+getRowLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetRowLabelAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetrowlabelsize">external documentation</a>.
+getRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetRowLabelSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetrowlabelvalue">external documentation</a>.
+getRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row)
+ when is_integer(Row) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetRowLabelValue,
+ <<ThisRef:32/?UI,Row:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetrowsize">external documentation</a>.
+getRowSize(#wx_ref{type=ThisT,ref=ThisRef},Row)
+ when is_integer(Row) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetRowSize,
+ <<ThisRef:32/?UI,Row:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetscrolllinex">external documentation</a>.
+getScrollLineX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetScrollLineX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetscrollliney">external documentation</a>.
+getScrollLineY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetScrollLineY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> [{R::integer(),C::integer()}]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectedcells">external documentation</a>.
+getSelectedCells(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectedCells,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> [integer()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectedcols">external documentation</a>.
+getSelectedCols(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectedCols,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> [integer()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectedrows">external documentation</a>.
+getSelectedRows(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectedRows,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectionbackground">external documentation</a>.
+getSelectionBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectionBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> [{R::integer(),C::integer()}]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectionblocktopleft">external documentation</a>.
+getSelectionBlockTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectionBlockTopLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> [{R::integer(),C::integer()}]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectionblockbottomright">external documentation</a>.
+getSelectionBlockBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectionBlockBottomRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetselectionforeground">external documentation</a>.
+getSelectionForeground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetSelectionForeground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetviewwidth">external documentation</a>.
+getViewWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetViewWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridwindow">external documentation</a>.
+getGridWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridrowlabelwindow">external documentation</a>.
+getGridRowLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridRowLabelWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridcollabelwindow">external documentation</a>.
+getGridColLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridColLabelWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridgetgridcornerlabelwindow">external documentation</a>.
+getGridCornerLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_GetGridCornerLabelWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridhidecelleditcontrol">external documentation</a>.
+hideCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_HideCellEditControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv insertCols(This, [])
+insertCols(This)
+ when is_record(This, wx_ref) ->
+ insertCols(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {pos, integer()} | {numCols, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridinsertcols">external documentation</a>.
+insertCols(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({pos, Pos}, Acc) -> [<<1:32/?UI,Pos:32/?UI>>|Acc];
+ ({numCols, NumCols}, Acc) -> [<<2:32/?UI,NumCols:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<3:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_InsertCols,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @equiv insertRows(This, [])
+insertRows(This)
+ when is_record(This, wx_ref) ->
+ insertRows(This, []).
+
+%% @spec (This::wxGrid(), [Option]) -> bool()
+%% Option = {pos, integer()} | {numRows, integer()} | {updateLabels, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridinsertrows">external documentation</a>.
+insertRows(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({pos, Pos}, Acc) -> [<<1:32/?UI,Pos:32/?UI>>|Acc];
+ ({numRows, NumRows}, Acc) -> [<<2:32/?UI,NumRows:32/?UI>>|Acc];
+ ({updateLabels, UpdateLabels}, Acc) -> [<<3:32/?UI,(wxe_util:from_bool(UpdateLabels)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_InsertRows,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridiscelleditcontrolenabled">external documentation</a>.
+isCellEditControlEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsCellEditControlEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridiscurrentcellreadonly">external documentation</a>.
+isCurrentCellReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsCurrentCellReadOnly,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridiseditable">external documentation</a>.
+isEditable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsEditable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisinselection">external documentation</a>.
+isInSelection(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC})
+ when is_integer(CoordsR),is_integer(CoordsC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsInSelection_1,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisinselection">external documentation</a>.
+isInSelection(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsInSelection_2,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisreadonly">external documentation</a>.
+isReadOnly(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsReadOnly,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisselection">external documentation</a>.
+isSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_IsSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}) -> bool()
+%% @equiv isVisible(This,Coords, [])
+isVisible(This,Coords={CoordsR,CoordsC})
+ when is_record(This, wx_ref),is_integer(CoordsR),is_integer(CoordsC) ->
+ isVisible(This,Coords, []).
+
+%% @spec (This::wxGrid(),X::integer()|term(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisvisible">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% isVisible(This::wxGrid(), Row::integer(), Col::integer()) -> isVisible(This,Row,Col, []) </c></p>
+%% <p><c>
+%% isVisible(This::wxGrid(), Coords::{R::integer(),C::integer()}, [Option]) -> bool() </c>
+%%<br /> Option = {wholeCellVisible, bool()}
+%% </p>
+
+isVisible(This,Row,Col)
+ when is_record(This, wx_ref),is_integer(Row),is_integer(Col) ->
+ isVisible(This,Row,Col, []);
+isVisible(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}, Options)
+ when is_integer(CoordsR),is_integer(CoordsC),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({wholeCellVisible, WholeCellVisible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(WholeCellVisible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_IsVisible_2,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), [Option]) -> bool()
+%% Option = {wholeCellVisible, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridisvisible">external documentation</a>.
+isVisible(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options)
+ when is_integer(Row),is_integer(Col),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({wholeCellVisible, WholeCellVisible}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(WholeCellVisible)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_IsVisible_3,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmakecellvisible">external documentation</a>.
+makeCellVisible(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC})
+ when is_integer(CoordsR),is_integer(CoordsC) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_MakeCellVisible_1,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmakecellvisible">external documentation</a>.
+makeCellVisible(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_MakeCellVisible_2,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursordown">external documentation</a>.
+moveCursorDown(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorDown,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorleft">external documentation</a>.
+moveCursorLeft(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorLeft,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorright">external documentation</a>.
+moveCursorRight(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorRight,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorup">external documentation</a>.
+moveCursorUp(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorUp,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursordownblock">external documentation</a>.
+moveCursorDownBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorDownBlock,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorleftblock">external documentation</a>.
+moveCursorLeftBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorLeftBlock,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorrightblock">external documentation</a>.
+moveCursorRightBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorRightBlock,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovecursorupblock">external documentation</a>.
+moveCursorUpBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection)
+ when is_boolean(ExpandSelection) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MoveCursorUpBlock,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ExpandSelection)):32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovepagedown">external documentation</a>.
+movePageDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MovePageDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridmovepageup">external documentation</a>.
+movePageUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_MovePageUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), TypeName::string(), Renderer::wxGridCellRenderer:wxGridCellRenderer(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridregisterdatatype">external documentation</a>.
+registerDataType(#wx_ref{type=ThisT,ref=ThisRef},TypeName,#wx_ref{type=RendererT,ref=RendererRef},#wx_ref{type=EditorT,ref=EditorRef})
+ when is_list(TypeName) ->
+ ?CLASS(ThisT,wxGrid),
+ TypeName_UC = unicode:characters_to_binary([TypeName,0]),
+ ?CLASS(RendererT,wxGridCellRenderer),
+ ?CLASS(EditorT,wxGridCellEditor),
+ wxe_util:cast(?wxGrid_RegisterDataType,
+ <<ThisRef:32/?UI,(byte_size(TypeName_UC)):32/?UI,(TypeName_UC)/binary, 0:(((8- ((0+byte_size(TypeName_UC)) band 16#7)) band 16#7))/unit:8,RendererRef:32/?UI,EditorRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsaveeditcontrolvalue">external documentation</a>.
+saveEditControlValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SaveEditControlValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridselectall">external documentation</a>.
+selectAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SelectAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), TopLeft::{R::integer(),C::integer()}, BottomRight::{R::integer(),C::integer()}) -> ok
+%% @equiv selectBlock(This,TopLeft,BottomRight, [])
+selectBlock(This,TopLeft={TopLeftR,TopLeftC},BottomRight={BottomRightR,BottomRightC})
+ when is_record(This, wx_ref),is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC) ->
+ selectBlock(This,TopLeft,BottomRight, []).
+
+%% @spec (This::wxGrid(), TopLeft::{R::integer(),C::integer()}, BottomRight::{R::integer(),C::integer()}, [Option]) -> ok
+%% Option = {addToSelected, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridselectblock">external documentation</a>.
+selectBlock(#wx_ref{type=ThisT,ref=ThisRef},{TopLeftR,TopLeftC},{BottomRightR,BottomRightC}, Options)
+ when is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({addToSelected, AddToSelected}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(AddToSelected)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SelectBlock_3,
+ <<ThisRef:32/?UI,TopLeftR:32/?UI,TopLeftC:32/?UI,BottomRightR:32/?UI,BottomRightC:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer()) -> ok
+%% @equiv selectBlock(This,TopRow,LeftCol,BottomRow,RightCol, [])
+selectBlock(This,TopRow,LeftCol,BottomRow,RightCol)
+ when is_record(This, wx_ref),is_integer(TopRow),is_integer(LeftCol),is_integer(BottomRow),is_integer(RightCol) ->
+ selectBlock(This,TopRow,LeftCol,BottomRow,RightCol, []).
+
+%% @spec (This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer(), [Option]) -> ok
+%% Option = {addToSelected, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridselectblock">external documentation</a>.
+selectBlock(#wx_ref{type=ThisT,ref=ThisRef},TopRow,LeftCol,BottomRow,RightCol, Options)
+ when is_integer(TopRow),is_integer(LeftCol),is_integer(BottomRow),is_integer(RightCol),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({addToSelected, AddToSelected}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(AddToSelected)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SelectBlock_5,
+ <<ThisRef:32/?UI,TopRow:32/?UI,LeftCol:32/?UI,BottomRow:32/?UI,RightCol:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> ok
+%% @equiv selectCol(This,Col, [])
+selectCol(This,Col)
+ when is_record(This, wx_ref),is_integer(Col) ->
+ selectCol(This,Col, []).
+
+%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok
+%% Option = {addToSelected, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridselectcol">external documentation</a>.
+selectCol(#wx_ref{type=ThisT,ref=ThisRef},Col, Options)
+ when is_integer(Col),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({addToSelected, AddToSelected}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(AddToSelected)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SelectCol,
+ <<ThisRef:32/?UI,Col:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Row::integer()) -> ok
+%% @equiv selectRow(This,Row, [])
+selectRow(This,Row)
+ when is_record(This, wx_ref),is_integer(Row) ->
+ selectRow(This,Row, []).
+
+%% @spec (This::wxGrid(), Row::integer(), [Option]) -> ok
+%% Option = {addToSelected, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridselectrow">external documentation</a>.
+selectRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options)
+ when is_integer(Row),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({addToSelected, AddToSelected}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(AddToSelected)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SelectRow,
+ <<ThisRef:32/?UI,Row:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Align::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellalignment">external documentation</a>.
+setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align)
+ when is_integer(Align) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellAlignment_1,
+ <<ThisRef:32/?UI,Align:32/?UI>>).
+
+%% @spec (This::wxGrid(), Align::integer(), Row::integer(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellalignment">external documentation</a>.
+setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align,Row,Col)
+ when is_integer(Align),is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellAlignment_3,
+ <<ThisRef:32/?UI,Align:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Horiz::integer(), Vert::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellalignment">external documentation</a>.
+setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Horiz,Vert)
+ when is_integer(Row),is_integer(Col),is_integer(Horiz),is_integer(Vert) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellAlignment_4,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,Horiz:32/?UI,Vert:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellbackgroundcolour">external documentation</a>.
+setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellBackgroundColour_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxGrid(),X::integer()|term(),X::integer(),X::term()|integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellbackgroundcolour">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setCellBackgroundColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setCellBackgroundColour(This::wxGrid(), Colour::wx:colour(), Row::integer(), Col::integer()) -> ok </c>
+%% </p>
+setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Val)
+ when is_integer(Row),is_integer(Col),tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellBackgroundColour_3_0,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>);
+setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour,Row,Col)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4,is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellBackgroundColour_3_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcelleditor">external documentation</a>.
+setCellEditor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=EditorT,ref=EditorRef})
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(EditorT,wxGridCellEditor),
+ wxe_util:cast(?wxGrid_SetCellEditor,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,EditorRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Val::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellfont">external documentation</a>.
+setCellFont(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=ValT,ref=ValRef})
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(ValT,wxFont),
+ wxe_util:cast(?wxGrid_SetCellFont,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,ValRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellrenderer">external documentation</a>.
+setCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=RendererT,ref=RendererRef})
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(RendererT,wxGridCellRenderer),
+ wxe_util:cast(?wxGrid_SetCellRenderer,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,RendererRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcelltextcolour">external documentation</a>.
+setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellTextColour_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxGrid(),X::integer()|term(),X::integer(),X::term()|integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcelltextcolour">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setCellTextColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setCellTextColour(This::wxGrid(), Val::wx:colour(), Row::integer(), Col::integer()) -> ok </c>
+%% </p>
+setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Val)
+ when is_integer(Row),is_integer(Col),tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellTextColour_3_0,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>);
+setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val,Row,Col)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4,is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetCellTextColour_3_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Coords::{R::integer(),C::integer()}, S::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellvalue">external documentation</a>.
+setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S)
+ when is_integer(CoordsR),is_integer(CoordsC),is_list(S) ->
+ ?CLASS(ThisT,wxGrid),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxGrid_SetCellValue_2,
+ <<ThisRef:32/?UI,CoordsR:32/?UI,CoordsC:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid(),X::integer()|string(),X::integer(),X::string()|integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcellvalue">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setCellValue(This::wxGrid(), Row::integer(), Col::integer(), S::string()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setCellValue(This::wxGrid(), Val::string(), Row::integer(), Col::integer()) -> ok </c>
+%% </p>
+setCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,S)
+ when is_integer(Row),is_integer(Col),is_list(S) ->
+ ?CLASS(ThisT,wxGrid),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxGrid_SetCellValue_3_0,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>);
+setCellValue(#wx_ref{type=ThisT,ref=ThisRef},Val,Row,Col)
+ when is_list(Val),is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ Val_UC = unicode:characters_to_binary([Val,0]),
+ wxe_util:cast(?wxGrid_SetCellValue_3_1,
+ <<ThisRef:32/?UI,(byte_size(Val_UC)):32/?UI,(Val_UC)/binary, 0:(((8- ((0+byte_size(Val_UC)) band 16#7)) band 16#7))/unit:8,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer(), Attr::wxGridCellAttr:wxGridCellAttr()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolattr">external documentation</a>.
+setColAttr(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=AttrT,ref=AttrRef})
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(AttrT,wxGridCellAttr),
+ wxe_util:cast(?wxGrid_SetColAttr,
+ <<ThisRef:32/?UI,Col:32/?UI,AttrRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolformatbool">external documentation</a>.
+setColFormatBool(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColFormatBool,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolformatnumber">external documentation</a>.
+setColFormatNumber(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColFormatNumber,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer()) -> ok
+%% @equiv setColFormatFloat(This,Col, [])
+setColFormatFloat(This,Col)
+ when is_record(This, wx_ref),is_integer(Col) ->
+ setColFormatFloat(This,Col, []).
+
+%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok
+%% Option = {width, integer()} | {precision, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolformatfloat">external documentation</a>.
+setColFormatFloat(#wx_ref{type=ThisT,ref=ThisRef},Col, Options)
+ when is_integer(Col),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc];
+ ({precision, Precision}, Acc) -> [<<2:32/?UI,Precision:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SetColFormatFloat,
+ <<ThisRef:32/?UI,Col:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Col::integer(), TypeName::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolformatcustom">external documentation</a>.
+setColFormatCustom(#wx_ref{type=ThisT,ref=ThisRef},Col,TypeName)
+ when is_integer(Col),is_list(TypeName) ->
+ ?CLASS(ThisT,wxGrid),
+ TypeName_UC = unicode:characters_to_binary([TypeName,0]),
+ wxe_util:cast(?wxGrid_SetColFormatCustom,
+ <<ThisRef:32/?UI,Col:32/?UI,(byte_size(TypeName_UC)):32/?UI,(TypeName_UC)/binary, 0:(((8- ((4+byte_size(TypeName_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcollabelalignment">external documentation</a>.
+setColLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert)
+ when is_integer(Horiz),is_integer(Vert) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColLabelAlignment,
+ <<ThisRef:32/?UI,Horiz:32/?UI,Vert:32/?UI>>).
+
+%% @spec (This::wxGrid(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcollabelsize">external documentation</a>.
+setColLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Height)
+ when is_integer(Height) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColLabelSize,
+ <<ThisRef:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer(), Val::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcollabelvalue">external documentation</a>.
+setColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col,Val)
+ when is_integer(Col),is_list(Val) ->
+ ?CLASS(ThisT,wxGrid),
+ Val_UC = unicode:characters_to_binary([Val,0]),
+ wxe_util:cast(?wxGrid_SetColLabelValue,
+ <<ThisRef:32/?UI,Col:32/?UI,(byte_size(Val_UC)):32/?UI,(Val_UC)/binary, 0:(((8- ((4+byte_size(Val_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid(), Col::integer(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolminimalwidth">external documentation</a>.
+setColMinimalWidth(#wx_ref{type=ThisT,ref=ThisRef},Col,Width)
+ when is_integer(Col),is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColMinimalWidth,
+ <<ThisRef:32/?UI,Col:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolminimalacceptablewidth">external documentation</a>.
+setColMinimalAcceptableWidth(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColMinimalAcceptableWidth,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Col::integer(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetcolsize">external documentation</a>.
+setColSize(#wx_ref{type=ThisT,ref=ThisRef},Col,Width)
+ when is_integer(Col),is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetColSize,
+ <<ThisRef:32/?UI,Col:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultcellalignment">external documentation</a>.
+setDefaultCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert)
+ when is_integer(Horiz),is_integer(Vert) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetDefaultCellAlignment,
+ <<ThisRef:32/?UI,Horiz:32/?UI,Vert:32/?UI>>).
+
+%% @spec (This::wxGrid(), Val::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultcellbackgroundcolour">external documentation</a>.
+setDefaultCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetDefaultCellBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>).
+
+%% @spec (This::wxGrid(), Val::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultcellfont">external documentation</a>.
+setDefaultCellFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ValT,ref=ValRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(ValT,wxFont),
+ wxe_util:cast(?wxGrid_SetDefaultCellFont,
+ <<ThisRef:32/?UI,ValRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Val::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultcelltextcolour">external documentation</a>.
+setDefaultCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetDefaultCellTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>).
+
+%% @spec (This::wxGrid(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaulteditor">external documentation</a>.
+setDefaultEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EditorT,ref=EditorRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(EditorT,wxGridCellEditor),
+ wxe_util:cast(?wxGrid_SetDefaultEditor,
+ <<ThisRef:32/?UI,EditorRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultrenderer">external documentation</a>.
+setDefaultRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RendererT,ref=RendererRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(RendererT,wxGridCellRenderer),
+ wxe_util:cast(?wxGrid_SetDefaultRenderer,
+ <<ThisRef:32/?UI,RendererRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Width::integer()) -> ok
+%% @equiv setDefaultColSize(This,Width, [])
+setDefaultColSize(This,Width)
+ when is_record(This, wx_ref),is_integer(Width) ->
+ setDefaultColSize(This,Width, []).
+
+%% @spec (This::wxGrid(), Width::integer(), [Option]) -> ok
+%% Option = {resizeExistingCols, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultcolsize">external documentation</a>.
+setDefaultColSize(#wx_ref{type=ThisT,ref=ThisRef},Width, Options)
+ when is_integer(Width),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({resizeExistingCols, ResizeExistingCols}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(ResizeExistingCols)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SetDefaultColSize,
+ <<ThisRef:32/?UI,Width:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Height::integer()) -> ok
+%% @equiv setDefaultRowSize(This,Height, [])
+setDefaultRowSize(This,Height)
+ when is_record(This, wx_ref),is_integer(Height) ->
+ setDefaultRowSize(This,Height, []).
+
+%% @spec (This::wxGrid(), Height::integer(), [Option]) -> ok
+%% Option = {resizeExistingRows, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetdefaultrowsize">external documentation</a>.
+setDefaultRowSize(#wx_ref{type=ThisT,ref=ThisRef},Height, Options)
+ when is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({resizeExistingRows, ResizeExistingRows}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(ResizeExistingRows)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SetDefaultRowSize,
+ <<ThisRef:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetgridcursor">external documentation</a>.
+setGridCursor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetGridCursor,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGrid(), Val::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetgridlinecolour">external documentation</a>.
+setGridLineColour(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetGridLineColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>).
+
+%% @spec (This::wxGrid(), Val::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetlabelbackgroundcolour">external documentation</a>.
+setLabelBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetLabelBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>).
+
+%% @spec (This::wxGrid(), Val::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetlabelfont">external documentation</a>.
+setLabelFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ValT,ref=ValRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(ValT,wxFont),
+ wxe_util:cast(?wxGrid_SetLabelFont,
+ <<ThisRef:32/?UI,ValRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Val::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetlabeltextcolour">external documentation</a>.
+setLabelTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetLabelTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Val)):16/binary>>).
+
+%% @spec (This::wxGrid(), ExtraWidth::integer(), ExtraHeight::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetmargins">external documentation</a>.
+setMargins(#wx_ref{type=ThisT,ref=ThisRef},ExtraWidth,ExtraHeight)
+ when is_integer(ExtraWidth),is_integer(ExtraHeight) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetMargins,
+ <<ThisRef:32/?UI,ExtraWidth:32/?UI,ExtraHeight:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok
+%% @equiv setReadOnly(This,Row,Col, [])
+setReadOnly(This,Row,Col)
+ when is_record(This, wx_ref),is_integer(Row),is_integer(Col) ->
+ setReadOnly(This,Row,Col, []).
+
+%% @spec (This::wxGrid(), Row::integer(), Col::integer(), [Option]) -> ok
+%% Option = {isReadOnly, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetreadonly">external documentation</a>.
+setReadOnly(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options)
+ when is_integer(Row),is_integer(Col),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({isReadOnly, IsReadOnly}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(IsReadOnly)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGrid_SetReadOnly,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Attr::wxGridCellAttr:wxGridCellAttr()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowattr">external documentation</a>.
+setRowAttr(#wx_ref{type=ThisT,ref=ThisRef},Row,#wx_ref{type=AttrT,ref=AttrRef})
+ when is_integer(Row) ->
+ ?CLASS(ThisT,wxGrid),
+ ?CLASS(AttrT,wxGridCellAttr),
+ wxe_util:cast(?wxGrid_SetRowAttr,
+ <<ThisRef:32/?UI,Row:32/?UI,AttrRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowlabelalignment">external documentation</a>.
+setRowLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert)
+ when is_integer(Horiz),is_integer(Vert) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetRowLabelAlignment,
+ <<ThisRef:32/?UI,Horiz:32/?UI,Vert:32/?UI>>).
+
+%% @spec (This::wxGrid(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowlabelsize">external documentation</a>.
+setRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetRowLabelSize,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Val::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowlabelvalue">external documentation</a>.
+setRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Val)
+ when is_integer(Row),is_list(Val) ->
+ ?CLASS(ThisT,wxGrid),
+ Val_UC = unicode:characters_to_binary([Val,0]),
+ wxe_util:cast(?wxGrid_SetRowLabelValue,
+ <<ThisRef:32/?UI,Row:32/?UI,(byte_size(Val_UC)):32/?UI,(Val_UC)/binary, 0:(((8- ((4+byte_size(Val_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowminimalheight">external documentation</a>.
+setRowMinimalHeight(#wx_ref{type=ThisT,ref=ThisRef},Row,Width)
+ when is_integer(Row),is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetRowMinimalHeight,
+ <<ThisRef:32/?UI,Row:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowminimalacceptableheight">external documentation</a>.
+setRowMinimalAcceptableHeight(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetRowMinimalAcceptableHeight,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGrid(), Row::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetrowsize">external documentation</a>.
+setRowSize(#wx_ref{type=ThisT,ref=ThisRef},Row,Height)
+ when is_integer(Row),is_integer(Height) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetRowSize,
+ <<ThisRef:32/?UI,Row:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxGrid(), X::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetscrolllinex">external documentation</a>.
+setScrollLineX(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetScrollLineX,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxGrid(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetscrollliney">external documentation</a>.
+setScrollLineY(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetScrollLineY,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxGrid(), C::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetselectionbackground">external documentation</a>.
+setSelectionBackground(#wx_ref{type=ThisT,ref=ThisRef},C)
+ when tuple_size(C) =:= 3; tuple_size(C) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetSelectionBackground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(C)):16/binary>>).
+
+%% @spec (This::wxGrid(), C::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetselectionforeground">external documentation</a>.
+setSelectionForeground(#wx_ref{type=ThisT,ref=ThisRef},C)
+ when tuple_size(C) =:= 3; tuple_size(C) =:= 4 ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetSelectionForeground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(C)):16/binary>>).
+
+%% @spec (This::wxGrid(), Selmode::WxGridSelectionModes) -> ok
+%% WxGridSelectionModes = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridsetselectionmode">external documentation</a>.
+%%<br /> WxGridSelectionModes is one of ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns
+setSelectionMode(#wx_ref{type=ThisT,ref=ThisRef},Selmode)
+ when is_integer(Selmode) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_SetSelectionMode,
+ <<ThisRef:32/?UI,Selmode:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridshowcelleditcontrol">external documentation</a>.
+showCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:cast(?wxGrid_ShowCellEditControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGrid(), X::integer()) -> integer()
+%% @equiv xToCol(This,X, [])
+xToCol(This,X)
+ when is_record(This, wx_ref),is_integer(X) ->
+ xToCol(This,X, []).
+
+%% @spec (This::wxGrid(), X::integer(), [Option]) -> integer()
+%% Option = {clipToMinMax, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridxtocol">external documentation</a>.
+xToCol(#wx_ref{type=ThisT,ref=ThisRef},X, Options)
+ when is_integer(X),is_list(Options) ->
+ ?CLASS(ThisT,wxGrid),
+ MOpts = fun({clipToMinMax, ClipToMinMax}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(ClipToMinMax)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGrid_XToCol,
+ <<ThisRef:32/?UI,X:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGrid(), X::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridxtoedgeofcol">external documentation</a>.
+xToEdgeOfCol(#wx_ref{type=ThisT,ref=ThisRef},X)
+ when is_integer(X) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_XToEdgeOfCol,
+ <<ThisRef:32/?UI,X:32/?UI>>).
+
+%% @spec (This::wxGrid(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridytoedgeofrow">external documentation</a>.
+yToEdgeOfRow(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_YToEdgeOfRow,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxGrid(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgrid.html#wxgridytorow">external documentation</a>.
+yToRow(#wx_ref{type=ThisT,ref=ThisRef},Y)
+ when is_integer(Y) ->
+ ?CLASS(ThisT,wxGrid),
+ wxe_util:call(?wxGrid_YToRow,
+ <<ThisRef:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxGrid()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGrid),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxScrolledWindow
+%% @hidden
+setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target).
+%% @hidden
+setScrollRate(This,Xstep,Ystep) -> wxScrolledWindow:setScrollRate(This,Xstep,Ystep).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY).
+%% @hidden
+scroll(This,X,Y) -> wxScrolledWindow:scroll(This,X,Y).
+%% @hidden
+prepareDC(This,Dc) -> wxScrolledWindow:prepareDC(This,Dc).
+%% @hidden
+doPrepareDC(This,Dc) -> wxScrolledWindow:doPrepareDC(This,Dc).
+%% @hidden
+getViewStart(This) -> wxScrolledWindow:getViewStart(This).
+%% @hidden
+getScrollPixelsPerUnit(This) -> wxScrolledWindow:getScrollPixelsPerUnit(This).
+%% @hidden
+enableScrolling(This,X_scrolling,Y_scrolling) -> wxScrolledWindow:enableScrolling(This,X_scrolling,Y_scrolling).
+%% @hidden
+calcUnscrolledPosition(This,X,Y) -> wxScrolledWindow:calcUnscrolledPosition(This,X,Y).
+%% @hidden
+calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This,Pt).
+%% @hidden
+calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y).
+%% @hidden
+calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt).
+ %% From wxPanel
+%% @hidden
+initDialog(This) -> wxPanel:initDialog(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl
new file mode 100644
index 0000000000..56dc6092ad
--- /dev/null
+++ b/lib/wx/src/gen/wxGridBagSizer.erl
@@ -0,0 +1,525 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html">wxGridBagSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFlexGridSizer}
+%% <br />{@link wxGridSizer}
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxGridBagSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridBagSizer).
+-include("wxe.hrl").
+-export([add/2,add/3,add/4,add/5,calcMin/1,checkForIntersection/2,checkForIntersection/3,
+ checkForIntersection/4,destroy/1,findItem/2,findItemAtPoint/2,findItemAtPosition/2,
+ findItemWithData/2,getCellSize/3,getEmptyCellSize/1,getItemPosition/2,
+ getItemSpan/2,new/0,new/1,setEmptyCellSize/2,setItemPosition/3,setItemSpan/3]).
+
+%% inherited exports
+-export([addGrowableCol/2,addGrowableCol/3,addGrowableRow/2,addGrowableRow/3,
+ addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,clear/1,clear/2,
+ detach/2,fit/2,fitInside/2,getChildren/1,getCols/1,getFlexibleDirection/1,
+ getHGap/1,getItem/2,getItem/3,getMinSize/1,getNonFlexibleGrowMode/1,
+ getPosition/1,getRows/1,getSize/1,getVGap/1,hide/2,hide/3,insert/3,insert/4,
+ insert/5,insertSpacer/3,insertStretchSpacer/2,insertStretchSpacer/3,
+ isShown/2,layout/1,parent_class/1,prepend/2,prepend/3,prepend/4,prependSpacer/2,
+ prependStretchSpacer/1,prependStretchSpacer/2,recalcSizes/1,remove/2,
+ removeGrowableCol/2,removeGrowableRow/2,replace/3,replace/4,setCols/2,
+ setDimension/5,setFlexibleDirection/2,setHGap/2,setItemMinSize/3,
+ setItemMinSize/4,setMinSize/2,setMinSize/3,setNonFlexibleGrowMode/2,
+ setRows/2,setSizeHints/2,setVGap/2,setVirtualSizeHints/2,show/2,show/3]).
+
+%% @hidden
+parent_class(wxFlexGridSizer) -> true;
+parent_class(wxGridSizer) -> true;
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridBagSizer()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxGridBagSizer()
+%% Option = {vgap, integer()} | {hgap, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizerwxgridbagsizer">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc];
+ ({hgap, Hgap}, Acc) -> [<<2:32/?UI,Hgap:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridBagSizer_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer(), Item::wxSizerItem:wxSizerItem() | wxGBSizerItem:wxGBSizerItem()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizeradd">external documentation</a>.
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ ItemOP = case ?CLASS_T(ItemT,wxSizerItem) of
+ true ->
+ ?wxGridBagSizer_Add_1_1;
+ _ -> ?CLASS(ItemT,wxGBSizerItem),
+ ?wxGridBagSizer_Add_1_0
+ end,
+ wxe_util:call(ItemOP,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizeradd">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% add(This::wxGridBagSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, []) </c></p>
+%% <p><c>
+%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}) -> add(This,Window,Pos, []) </c></p>
+%% <p><c>
+%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+
+add(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ add(This,Width,Height, []);
+
+add(This,Window,Pos={PosR,PosC})
+ when is_record(This, wx_ref),is_record(Window, wx_ref),is_integer(PosR),is_integer(PosC) ->
+ add(This,Window,Pos, []);
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_Add_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_Add_2_0
+ end,
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term(),X::integer()|term(),X::term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizeradd">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% add(This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(),C::integer()}) -> add(This,Width,Height,Pos, []) </c></p>
+%% <p><c>
+%% add(This::wxGridBagSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+%% <p><c>
+%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}, [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {span, {RS::integer(),CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+
+add(This,Width,Height,Pos={PosR,PosC})
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_integer(PosR),is_integer(PosC) ->
+ add(This,Width,Height,Pos, []);
+add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGridBagSizer_Add_3_0,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>);
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{PosR,PosC}, Options)
+ when is_integer(PosR),is_integer(PosC),is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_Add_3_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_Add_3_1
+ end,
+ MOpts = fun({span, {SpanRS,SpanCS}}, Acc) -> [<<1:32/?UI,SpanRS:32/?UI,SpanCS:32/?UI,0:32>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,PosR:32/?UI,PosC:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(),C::integer()}, [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {span, {RS::integer(),CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizeradd">external documentation</a>.
+add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,{PosR,PosC}, Options)
+ when is_integer(Width),is_integer(Height),is_integer(PosR),is_integer(PosC),is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ MOpts = fun({span, {SpanRS,SpanCS}}, Acc) -> [<<1:32/?UI,SpanRS:32/?UI,SpanCS:32/?UI,0:32>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGridBagSizer_Add_4,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI,PosR:32/?UI,PosC:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizercalcmin">external documentation</a>.
+calcMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_CalcMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem()) -> bool()
+%% @equiv checkForIntersection(This,Item, [])
+checkForIntersection(This,Item)
+ when is_record(This, wx_ref),is_record(Item, wx_ref) ->
+ checkForIntersection(This,Item, []).
+
+%% @spec (This::wxGridBagSizer(),X::term(),X::term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizercheckforintersection">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% checkForIntersection(This::wxGridBagSizer(), Pos::{R::integer(),C::integer()}, Span::{RS::integer(),CS::integer()}) -> checkForIntersection(This,Pos,Span, []) </c></p>
+%% <p><c>
+%% checkForIntersection(This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(), [Option]) -> bool() </c>
+%%<br /> Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}
+%% </p>
+
+checkForIntersection(This,Pos={PosR,PosC},Span={SpanRS,SpanCS})
+ when is_record(This, wx_ref),is_integer(PosR),is_integer(PosC),is_integer(SpanRS),is_integer(SpanCS) ->
+ checkForIntersection(This,Pos,Span, []);
+checkForIntersection(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ ?CLASS(ItemT,wxGBSizerItem),
+ MOpts = fun({excludeItem, #wx_ref{type=ExcludeItemT,ref=ExcludeItemRef}}, Acc) -> ?CLASS(ExcludeItemT,wxGBSizerItem),[<<1:32/?UI,ExcludeItemRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGridBagSizer_CheckForIntersection_2,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer(), Pos::{R::integer(),C::integer()}, Span::{RS::integer(),CS::integer()}, [Option]) -> bool()
+%% Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizercheckforintersection">external documentation</a>.
+checkForIntersection(#wx_ref{type=ThisT,ref=ThisRef},{PosR,PosC},{SpanRS,SpanCS}, Options)
+ when is_integer(PosR),is_integer(PosC),is_integer(SpanRS),is_integer(SpanCS),is_list(Options) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ MOpts = fun({excludeItem, #wx_ref{type=ExcludeItemT,ref=ExcludeItemRef}}, Acc) -> ?CLASS(ExcludeItemT,wxGBSizerItem),[<<1:32/?UI,ExcludeItemRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxGridBagSizer_CheckForIntersection_3,
+ <<ThisRef:32/?UI,PosR:32/?UI,PosC:32/?UI,SpanRS:32/?UI,SpanCS:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> wxGBSizerItem:wxGBSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizerfinditem">external documentation</a>.
+findItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_FindItem_1_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_FindItem_1_0
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), Pt::{X::integer(),Y::integer()}) -> wxGBSizerItem:wxGBSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizerfinditematpoint">external documentation</a>.
+findItemAtPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_FindItemAtPoint,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), Pos::{R::integer(),C::integer()}) -> wxGBSizerItem:wxGBSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizerfinditematposition">external documentation</a>.
+findItemAtPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosR,PosC})
+ when is_integer(PosR),is_integer(PosC) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_FindItemAtPosition,
+ <<ThisRef:32/?UI,PosR:32/?UI,PosC:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), UserData::wx:wx()) -> wxGBSizerItem:wxGBSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizerfinditemwithdata">external documentation</a>.
+findItemWithData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=UserDataT,ref=UserDataRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ ?CLASS(UserDataT,wx),
+ wxe_util:call(?wxGridBagSizer_FindItemWithData,
+ <<ThisRef:32/?UI,UserDataRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), Row::integer(), Col::integer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizergetcellsize">external documentation</a>.
+getCellSize(#wx_ref{type=ThisT,ref=ThisRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_GetCellSize,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizergetemptycellsize">external documentation</a>.
+getEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_GetEmptyCellSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term()) -> {R::integer(),C::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizergetitemposition">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% getItemPosition(This::wxGridBagSizer(), Index::integer()) -> {R::integer(),C::integer()} </c>
+%% </p>
+%% <p><c>
+%% getItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {R::integer(),C::integer()} </c>
+%% </p>
+getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_GetItemPosition_1_0,
+ <<ThisRef:32/?UI,Index:32/?UI>>);
+getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_GetItemPosition_1_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_GetItemPosition_1_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term()) -> {RS::integer(),CS::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizergetitemspan">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% getItemSpan(This::wxGridBagSizer(), Index::integer()) -> {RS::integer(),CS::integer()} </c>
+%% </p>
+%% <p><c>
+%% getItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {RS::integer(),CS::integer()} </c>
+%% </p>
+getItemSpan(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_GetItemSpan_1_0,
+ <<ThisRef:32/?UI,Index:32/?UI>>);
+getItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_GetItemSpan_1_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_GetItemSpan_1_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(), Sz::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizersetemptycellsize">external documentation</a>.
+setEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH})
+ when is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:cast(?wxGridBagSizer_SetEmptyCellSize,
+ <<ThisRef:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term(),Pos::{R::integer(),C::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizersetitemposition">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setItemPosition(This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(),C::integer()}) -> bool() </c>
+%% </p>
+%% <p><c>
+%% setItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(),C::integer()}) -> bool() </c>
+%% </p>
+setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Index,{PosR,PosC})
+ when is_integer(Index),is_integer(PosR),is_integer(PosC) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_SetItemPosition_2_0,
+ <<ThisRef:32/?UI,Index:32/?UI,PosR:32/?UI,PosC:32/?UI>>);
+setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{PosR,PosC})
+ when is_integer(PosR),is_integer(PosC) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_SetItemPosition_2_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_SetItemPosition_2_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,PosR:32/?UI,PosC:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer(),X::integer()|term(),Span::{RS::integer(),CS::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridbagsizer.html#wxgridbagsizersetitemspan">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setItemSpan(This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(),CS::integer()}) -> bool() </c>
+%% </p>
+%% <p><c>
+%% setItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(),CS::integer()}) -> bool() </c>
+%% </p>
+setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},Index,{SpanRS,SpanCS})
+ when is_integer(Index),is_integer(SpanRS),is_integer(SpanCS) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ wxe_util:call(?wxGridBagSizer_SetItemSpan_2_0,
+ <<ThisRef:32/?UI,Index:32/?UI,SpanRS:32/?UI,SpanCS:32/?UI>>);
+setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{SpanRS,SpanCS})
+ when is_integer(SpanRS),is_integer(SpanCS) ->
+ ?CLASS(ThisT,wxGridBagSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxGridBagSizer_SetItemSpan_2_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxGridBagSizer_SetItemSpan_2_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,SpanRS:32/?UI,SpanCS:32/?UI>>).
+
+%% @spec (This::wxGridBagSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridBagSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFlexGridSizer
+%% @hidden
+setNonFlexibleGrowMode(This,Mode) -> wxFlexGridSizer:setNonFlexibleGrowMode(This,Mode).
+%% @hidden
+setFlexibleDirection(This,Direction) -> wxFlexGridSizer:setFlexibleDirection(This,Direction).
+%% @hidden
+removeGrowableRow(This,Idx) -> wxFlexGridSizer:removeGrowableRow(This,Idx).
+%% @hidden
+removeGrowableCol(This,Idx) -> wxFlexGridSizer:removeGrowableCol(This,Idx).
+%% @hidden
+getNonFlexibleGrowMode(This) -> wxFlexGridSizer:getNonFlexibleGrowMode(This).
+%% @hidden
+getFlexibleDirection(This) -> wxFlexGridSizer:getFlexibleDirection(This).
+%% @hidden
+addGrowableRow(This,Idx, Options) -> wxFlexGridSizer:addGrowableRow(This,Idx, Options).
+%% @hidden
+addGrowableRow(This,Idx) -> wxFlexGridSizer:addGrowableRow(This,Idx).
+%% @hidden
+addGrowableCol(This,Idx, Options) -> wxFlexGridSizer:addGrowableCol(This,Idx, Options).
+%% @hidden
+addGrowableCol(This,Idx) -> wxFlexGridSizer:addGrowableCol(This,Idx).
+ %% From wxGridSizer
+%% @hidden
+setVGap(This,Gap) -> wxGridSizer:setVGap(This,Gap).
+%% @hidden
+setRows(This,Rows) -> wxGridSizer:setRows(This,Rows).
+%% @hidden
+setHGap(This,Gap) -> wxGridSizer:setHGap(This,Gap).
+%% @hidden
+setCols(This,Cols) -> wxGridSizer:setCols(This,Cols).
+%% @hidden
+getVGap(This) -> wxGridSizer:getVGap(This).
+%% @hidden
+getRows(This) -> wxGridSizer:getRows(This).
+%% @hidden
+getHGap(This) -> wxGridSizer:getHGap(This).
+%% @hidden
+getCols(This) -> wxGridSizer:getCols(This).
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
diff --git a/lib/wx/src/gen/wxGridCellAttr.erl b/lib/wx/src/gen/wxGridCellAttr.erl
new file mode 100644
index 0000000000..b9fd65304c
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellAttr.erl
@@ -0,0 +1,207 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html">wxGridCellAttr</a>.
+%% @type wxGridCellAttr(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellAttr).
+-include("wxe.hrl").
+-export([getAlignment/1,getBackgroundColour/1,getEditor/4,getFont/1,getRenderer/4,
+ getTextColour/1,hasAlignment/1,hasBackgroundColour/1,hasEditor/1,
+ hasFont/1,hasRenderer/1,hasTextColour/1,isReadOnly/1,setAlignment/3,
+ setBackgroundColour/2,setDefAttr/2,setEditor/2,setFont/2,setReadOnly/1,
+ setReadOnly/2,setRenderer/2,setTextColour/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGridCellAttr(), ColText::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsettextcolour">external documentation</a>.
+setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:cast(?wxGridCellAttr_SetTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColText)):16/binary>>).
+
+%% @spec (This::wxGridCellAttr(), ColBack::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack)
+ when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:cast(?wxGridCellAttr_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary>>).
+
+%% @spec (This::wxGridCellAttr(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxGridCellAttr_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr(), HAlign::integer(), VAlign::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetalignment">external documentation</a>.
+setAlignment(#wx_ref{type=ThisT,ref=ThisRef},HAlign,VAlign)
+ when is_integer(HAlign),is_integer(VAlign) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:cast(?wxGridCellAttr_SetAlignment,
+ <<ThisRef:32/?UI,HAlign:32/?UI,VAlign:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> ok
+%% @equiv setReadOnly(This, [])
+setReadOnly(This)
+ when is_record(This, wx_ref) ->
+ setReadOnly(This, []).
+
+%% @spec (This::wxGridCellAttr(), [Option]) -> ok
+%% Option = {isReadOnly, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetreadonly">external documentation</a>.
+setReadOnly(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ MOpts = fun({isReadOnly, IsReadOnly}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(IsReadOnly)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGridCellAttr_SetReadOnly,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxGridCellAttr(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetrenderer">external documentation</a>.
+setRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RendererT,ref=RendererRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(RendererT,wxGridCellRenderer),
+ wxe_util:cast(?wxGridCellAttr_SetRenderer,
+ <<ThisRef:32/?UI,RendererRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrseteditor">external documentation</a>.
+setEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EditorT,ref=EditorRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(EditorT,wxGridCellEditor),
+ wxe_util:cast(?wxGridCellAttr_SetEditor,
+ <<ThisRef:32/?UI,EditorRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhastextcolour">external documentation</a>.
+hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhasbackgroundcolour">external documentation</a>.
+hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhasfont">external documentation</a>.
+hasFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhasalignment">external documentation</a>.
+hasAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhasrenderer">external documentation</a>.
+hasRenderer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasRenderer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrhaseditor">external documentation</a>.
+hasEditor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_HasEditor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgettextcolour">external documentation</a>.
+getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_GetTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgetbackgroundcolour">external documentation</a>.
+getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_GetBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> {HAlign::integer(),VAlign::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgetalignment">external documentation</a>.
+getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_GetAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgetrenderer">external documentation</a>.
+getRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(GridT,wxGrid),
+ wxe_util:call(?wxGridCellAttr_GetRenderer,
+ <<ThisRef:32/?UI,GridRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrgeteditor">external documentation</a>.
+getEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(GridT,wxGrid),
+ wxe_util:call(?wxGridCellAttr_GetEditor,
+ <<ThisRef:32/?UI,GridRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrisreadonly">external documentation</a>.
+isReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ wxe_util:call(?wxGridCellAttr_IsReadOnly,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellAttr(), DefAttr::wxGridCellAttr()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellattr.html#wxgridcellattrsetdefattr">external documentation</a>.
+setDefAttr(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DefAttrT,ref=DefAttrRef}) ->
+ ?CLASS(ThisT,wxGridCellAttr),
+ ?CLASS(DefAttrT,wxGridCellAttr),
+ wxe_util:cast(?wxGridCellAttr_SetDefAttr,
+ <<ThisRef:32/?UI,DefAttrRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxGridCellBoolEditor.erl b/lib/wx/src/gen/wxGridCellBoolEditor.erl
new file mode 100644
index 0000000000..b5afaba68f
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellBoolEditor.erl
@@ -0,0 +1,99 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellbooleditor.html">wxGridCellBoolEditor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellEditor}
+%% </p>
+%% @type wxGridCellBoolEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellBoolEditor).
+-include("wxe.hrl").
+-export([destroy/1,isTrueValue/1,new/0,useStringValues/0,useStringValues/1]).
+
+%% inherited exports
+-export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% @hidden
+parent_class(wxGridCellEditor) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellBoolEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellbooleditor.html#wxgridcellbooleditorwxgridcellbooleditor">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGridCellBoolEditor_new,
+ <<>>).
+
+%% @spec (Value::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellbooleditor.html#wxgridcellbooleditoristruevalue">external documentation</a>.
+isTrueValue(Value)
+ when is_list(Value) ->
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:call(?wxGridCellBoolEditor_IsTrueValue,
+ <<(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((4+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec () -> ok
+%% @equiv useStringValues([])
+useStringValues() ->
+ useStringValues([]).
+
+%% @spec ([Option]) -> ok
+%% Option = {valueTrue, string()} | {valueFalse, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellbooleditor.html#wxgridcellbooleditorusestringvalues">external documentation</a>.
+useStringValues(Options)
+ when is_list(Options) ->
+ MOpts = fun({valueTrue, ValueTrue}, Acc) -> ValueTrue_UC = unicode:characters_to_binary([ValueTrue,0]),[<<1:32/?UI,(byte_size(ValueTrue_UC)):32/?UI,(ValueTrue_UC)/binary, 0:(((8- ((0+byte_size(ValueTrue_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({valueFalse, ValueFalse}, Acc) -> ValueFalse_UC = unicode:characters_to_binary([ValueFalse,0]),[<<2:32/?UI,(byte_size(ValueFalse_UC)):32/?UI,(ValueFalse_UC)/binary, 0:(((8- ((0+byte_size(ValueFalse_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGridCellBoolEditor_UseStringValues,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxGridCellBoolEditor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellBoolEditor),
+ wxe_util:destroy(?wxGridCellBoolEditor_destroy,Obj),
+ ok.
+ %% From wxGridCellEditor
+%% @hidden
+handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event).
+%% @hidden
+startingClick(This) -> wxGridCellEditor:startingClick(This).
+%% @hidden
+startingKey(This,Event) -> wxGridCellEditor:startingKey(This,Event).
+%% @hidden
+reset(This) -> wxGridCellEditor:reset(This).
+%% @hidden
+endEdit(This,Row,Col,Grid) -> wxGridCellEditor:endEdit(This,Row,Col,Grid).
+%% @hidden
+beginEdit(This,Row,Col,Grid) -> wxGridCellEditor:beginEdit(This,Row,Col,Grid).
+%% @hidden
+paintBackground(This,RectCell,Attr) -> wxGridCellEditor:paintBackground(This,RectCell,Attr).
+%% @hidden
+show(This,Show, Options) -> wxGridCellEditor:show(This,Show, Options).
+%% @hidden
+show(This,Show) -> wxGridCellEditor:show(This,Show).
+%% @hidden
+setSize(This,Rect) -> wxGridCellEditor:setSize(This,Rect).
+%% @hidden
+isCreated(This) -> wxGridCellEditor:isCreated(This).
diff --git a/lib/wx/src/gen/wxGridCellBoolRenderer.erl b/lib/wx/src/gen/wxGridCellBoolRenderer.erl
new file mode 100644
index 0000000000..442c00df1c
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellBoolRenderer.erl
@@ -0,0 +1,55 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellboolrenderer.html">wxGridCellBoolRenderer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellRenderer}
+%% </p>
+%% @type wxGridCellBoolRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellBoolRenderer).
+-include("wxe.hrl").
+-export([destroy/1,new/0]).
+
+%% inherited exports
+-export([draw/8,getBestSize/6,parent_class/1]).
+
+%% @hidden
+parent_class(wxGridCellRenderer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellBoolRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellboolrenderer.html#wxgridcellboolrendererwxgridcellboolrenderer">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGridCellBoolRenderer_new,
+ <<>>).
+
+%% @spec (This::wxGridCellBoolRenderer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellBoolRenderer),
+ wxe_util:destroy(?wxGridCellBoolRenderer_destroy,Obj),
+ ok.
+ %% From wxGridCellRenderer
+%% @hidden
+getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col).
+%% @hidden
+draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected) -> wxGridCellRenderer:draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected).
diff --git a/lib/wx/src/gen/wxGridCellChoiceEditor.erl b/lib/wx/src/gen/wxGridCellChoiceEditor.erl
new file mode 100644
index 0000000000..d62933fd07
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellChoiceEditor.erl
@@ -0,0 +1,96 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellchoiceeditor.html">wxGridCellChoiceEditor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellEditor}
+%% </p>
+%% @type wxGridCellChoiceEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellChoiceEditor).
+-include("wxe.hrl").
+-export([destroy/1,new/1,new/2,setParameters/2]).
+
+%% inherited exports
+-export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% @hidden
+parent_class(wxGridCellEditor) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Choices::[[string()]]) -> wxGridCellChoiceEditor()
+%% @equiv new(Choices, [])
+new(Choices)
+ when is_list(Choices) ->
+ new(Choices, []).
+
+%% @spec (Choices::[[string()]], [Option]) -> wxGridCellChoiceEditor()
+%% Option = {allowOthers, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellchoiceeditor.html#wxgridcellchoiceeditorwxgridcellchoiceeditor">external documentation</a>.
+new(Choices, Options)
+ when is_list(Choices),is_list(Options) ->
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({allowOthers, AllowOthers}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(AllowOthers)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridCellChoiceEditor_new,
+ <<(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxGridCellChoiceEditor(), Params::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellchoiceeditor.html#wxgridcellchoiceeditorsetparameters">external documentation</a>.
+setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
+ when is_list(Params) ->
+ ?CLASS(ThisT,wxGridCellChoiceEditor),
+ Params_UC = unicode:characters_to_binary([Params,0]),
+ wxe_util:cast(?wxGridCellChoiceEditor_SetParameters,
+ <<ThisRef:32/?UI,(byte_size(Params_UC)):32/?UI,(Params_UC)/binary, 0:(((8- ((0+byte_size(Params_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGridCellChoiceEditor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellChoiceEditor),
+ wxe_util:destroy(?wxGridCellChoiceEditor_destroy,Obj),
+ ok.
+ %% From wxGridCellEditor
+%% @hidden
+handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event).
+%% @hidden
+startingClick(This) -> wxGridCellEditor:startingClick(This).
+%% @hidden
+startingKey(This,Event) -> wxGridCellEditor:startingKey(This,Event).
+%% @hidden
+reset(This) -> wxGridCellEditor:reset(This).
+%% @hidden
+endEdit(This,Row,Col,Grid) -> wxGridCellEditor:endEdit(This,Row,Col,Grid).
+%% @hidden
+beginEdit(This,Row,Col,Grid) -> wxGridCellEditor:beginEdit(This,Row,Col,Grid).
+%% @hidden
+paintBackground(This,RectCell,Attr) -> wxGridCellEditor:paintBackground(This,RectCell,Attr).
+%% @hidden
+show(This,Show, Options) -> wxGridCellEditor:show(This,Show, Options).
+%% @hidden
+show(This,Show) -> wxGridCellEditor:show(This,Show).
+%% @hidden
+setSize(This,Rect) -> wxGridCellEditor:setSize(This,Rect).
+%% @hidden
+isCreated(This) -> wxGridCellEditor:isCreated(This).
diff --git a/lib/wx/src/gen/wxGridCellEditor.erl b/lib/wx/src/gen/wxGridCellEditor.erl
new file mode 100644
index 0000000000..c08027e040
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellEditor.erl
@@ -0,0 +1,135 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html">wxGridCellEditor</a>.
+%% @type wxGridCellEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellEditor).
+-include("wxe.hrl").
+-export([beginEdit/4,create/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGridCellEditor(), Parent::wxWindow:wxWindow(), Id::integer(), EvtHandler::wxEvtHandler:wxEvtHandler()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=EvtHandlerT,ref=EvtHandlerRef})
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(EvtHandlerT,wxEvtHandler),
+ wxe_util:cast(?wxGridCellEditor_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,EvtHandlerRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditoriscreated">external documentation</a>.
+isCreated(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ wxe_util:call(?wxGridCellEditor_IsCreated,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorsetsize">external documentation</a>.
+setSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ wxe_util:cast(?wxGridCellEditor_SetSize,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Show::bool()) -> ok
+%% @equiv show(This,Show, [])
+show(This,Show)
+ when is_record(This, wx_ref),is_boolean(Show) ->
+ show(This,Show, []).
+
+%% @spec (This::wxGridCellEditor(), Show::bool(), [Option]) -> ok
+%% Option = {attr, wxGridCellAttr:wxGridCellAttr()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef},Show, Options)
+ when is_boolean(Show),is_list(Options) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ MOpts = fun({attr, #wx_ref{type=AttrT,ref=AttrRef}}, Acc) -> ?CLASS(AttrT,wxGridCellAttr),[<<1:32/?UI,AttrRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxGridCellEditor_Show,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxGridCellEditor(), RectCell::{X::integer(),Y::integer(),W::integer(),H::integer()}, Attr::wxGridCellAttr:wxGridCellAttr()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorpaintbackground">external documentation</a>.
+paintBackground(#wx_ref{type=ThisT,ref=ThisRef},{RectCellX,RectCellY,RectCellW,RectCellH},#wx_ref{type=AttrT,ref=AttrRef})
+ when is_integer(RectCellX),is_integer(RectCellY),is_integer(RectCellW),is_integer(RectCellH) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(AttrT,wxGridCellAttr),
+ wxe_util:cast(?wxGridCellEditor_PaintBackground,
+ <<ThisRef:32/?UI,RectCellX:32/?UI,RectCellY:32/?UI,RectCellW:32/?UI,RectCellH:32/?UI,AttrRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorbeginedit">external documentation</a>.
+beginEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef})
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(GridT,wxGrid),
+ wxe_util:cast(?wxGridCellEditor_BeginEdit,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,GridRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorendedit">external documentation</a>.
+endEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef})
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(GridT,wxGrid),
+ wxe_util:call(?wxGridCellEditor_EndEdit,
+ <<ThisRef:32/?UI,Row:32/?UI,Col:32/?UI,GridRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorreset">external documentation</a>.
+reset(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ wxe_util:cast(?wxGridCellEditor_Reset,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorstartingkey">external documentation</a>.
+startingKey(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(EventT,wxKeyEvent),
+ wxe_util:cast(?wxGridCellEditor_StartingKey,
+ <<ThisRef:32/?UI,EventRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorstartingclick">external documentation</a>.
+startingClick(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ wxe_util:cast(?wxGridCellEditor_StartingClick,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelleditor.html#wxgridcelleditorhandlereturn">external documentation</a>.
+handleReturn(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) ->
+ ?CLASS(ThisT,wxGridCellEditor),
+ ?CLASS(EventT,wxKeyEvent),
+ wxe_util:cast(?wxGridCellEditor_HandleReturn,
+ <<ThisRef:32/?UI,EventRef:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxGridCellFloatEditor.erl b/lib/wx/src/gen/wxGridCellFloatEditor.erl
new file mode 100644
index 0000000000..e924c8f9a5
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellFloatEditor.erl
@@ -0,0 +1,94 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloateditor.html">wxGridCellFloatEditor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellEditor}
+%% </p>
+%% @type wxGridCellFloatEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellFloatEditor).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1,setParameters/2]).
+
+%% inherited exports
+-export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% @hidden
+parent_class(wxGridCellEditor) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellFloatEditor()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxGridCellFloatEditor()
+%% Option = {width, integer()} | {precision, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloateditor.html#wxgridcellfloateditorwxgridcellfloateditor">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc];
+ ({precision, Precision}, Acc) -> [<<2:32/?UI,Precision:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridCellFloatEditor_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxGridCellFloatEditor(), Params::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloateditor.html#wxgridcellfloateditorsetparameters">external documentation</a>.
+setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
+ when is_list(Params) ->
+ ?CLASS(ThisT,wxGridCellFloatEditor),
+ Params_UC = unicode:characters_to_binary([Params,0]),
+ wxe_util:cast(?wxGridCellFloatEditor_SetParameters,
+ <<ThisRef:32/?UI,(byte_size(Params_UC)):32/?UI,(Params_UC)/binary, 0:(((8- ((0+byte_size(Params_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGridCellFloatEditor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellFloatEditor),
+ wxe_util:destroy(?wxGridCellFloatEditor_destroy,Obj),
+ ok.
+ %% From wxGridCellEditor
+%% @hidden
+handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event).
+%% @hidden
+startingClick(This) -> wxGridCellEditor:startingClick(This).
+%% @hidden
+startingKey(This,Event) -> wxGridCellEditor:startingKey(This,Event).
+%% @hidden
+reset(This) -> wxGridCellEditor:reset(This).
+%% @hidden
+endEdit(This,Row,Col,Grid) -> wxGridCellEditor:endEdit(This,Row,Col,Grid).
+%% @hidden
+beginEdit(This,Row,Col,Grid) -> wxGridCellEditor:beginEdit(This,Row,Col,Grid).
+%% @hidden
+paintBackground(This,RectCell,Attr) -> wxGridCellEditor:paintBackground(This,RectCell,Attr).
+%% @hidden
+show(This,Show, Options) -> wxGridCellEditor:show(This,Show, Options).
+%% @hidden
+show(This,Show) -> wxGridCellEditor:show(This,Show).
+%% @hidden
+setSize(This,Rect) -> wxGridCellEditor:setSize(This,Rect).
+%% @hidden
+isCreated(This) -> wxGridCellEditor:isCreated(This).
diff --git a/lib/wx/src/gen/wxGridCellFloatRenderer.erl b/lib/wx/src/gen/wxGridCellFloatRenderer.erl
new file mode 100644
index 0000000000..1d207ae4e0
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellFloatRenderer.erl
@@ -0,0 +1,109 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html">wxGridCellFloatRenderer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellStringRenderer}
+%% <br />{@link wxGridCellRenderer}
+%% </p>
+%% @type wxGridCellFloatRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellFloatRenderer).
+-include("wxe.hrl").
+-export([destroy/1,getPrecision/1,getWidth/1,new/0,new/1,setParameters/2,setPrecision/2,
+ setWidth/2]).
+
+%% inherited exports
+-export([draw/8,getBestSize/6,parent_class/1]).
+
+%% @hidden
+parent_class(wxGridCellStringRenderer) -> true;
+parent_class(wxGridCellRenderer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellFloatRenderer()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxGridCellFloatRenderer()
+%% Option = {width, integer()} | {precision, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrendererwxgridcellfloatrenderer">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc];
+ ({precision, Precision}, Acc) -> [<<2:32/?UI,Precision:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridCellFloatRenderer_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxGridCellFloatRenderer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrenderergetprecision">external documentation</a>.
+getPrecision(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellFloatRenderer),
+ wxe_util:call(?wxGridCellFloatRenderer_GetPrecision,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellFloatRenderer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrenderergetwidth">external documentation</a>.
+getWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellFloatRenderer),
+ wxe_util:call(?wxGridCellFloatRenderer_GetWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellFloatRenderer(), Params::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrenderersetparameters">external documentation</a>.
+setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
+ when is_list(Params) ->
+ ?CLASS(ThisT,wxGridCellFloatRenderer),
+ Params_UC = unicode:characters_to_binary([Params,0]),
+ wxe_util:cast(?wxGridCellFloatRenderer_SetParameters,
+ <<ThisRef:32/?UI,(byte_size(Params_UC)):32/?UI,(Params_UC)/binary, 0:(((8- ((0+byte_size(Params_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGridCellFloatRenderer(), Precision::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrenderersetprecision">external documentation</a>.
+setPrecision(#wx_ref{type=ThisT,ref=ThisRef},Precision)
+ when is_integer(Precision) ->
+ ?CLASS(ThisT,wxGridCellFloatRenderer),
+ wxe_util:cast(?wxGridCellFloatRenderer_SetPrecision,
+ <<ThisRef:32/?UI,Precision:32/?UI>>).
+
+%% @spec (This::wxGridCellFloatRenderer(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellfloatrenderer.html#wxgridcellfloatrenderersetwidth">external documentation</a>.
+setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxGridCellFloatRenderer),
+ wxe_util:cast(?wxGridCellFloatRenderer_SetWidth,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxGridCellFloatRenderer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellFloatRenderer),
+ wxe_util:destroy(?wxGridCellFloatRenderer_destroy,Obj),
+ ok.
+ %% From wxGridCellStringRenderer
+ %% From wxGridCellRenderer
+%% @hidden
+getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col).
+%% @hidden
+draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected) -> wxGridCellRenderer:draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected).
diff --git a/lib/wx/src/gen/wxGridCellNumberEditor.erl b/lib/wx/src/gen/wxGridCellNumberEditor.erl
new file mode 100644
index 0000000000..347c03c377
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellNumberEditor.erl
@@ -0,0 +1,104 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumbereditor.html">wxGridCellNumberEditor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellTextEditor}
+%% <br />{@link wxGridCellEditor}
+%% </p>
+%% @type wxGridCellNumberEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellNumberEditor).
+-include("wxe.hrl").
+-export([destroy/1,getValue/1,new/0,new/1,setParameters/2]).
+
+%% inherited exports
+-export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% @hidden
+parent_class(wxGridCellTextEditor) -> true;
+parent_class(wxGridCellEditor) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellNumberEditor()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxGridCellNumberEditor()
+%% Option = {min, integer()} | {max, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumbereditor.html#wxgridcellnumbereditorwxgridcellnumbereditor">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({min, Min}, Acc) -> [<<1:32/?UI,Min:32/?UI>>|Acc];
+ ({max, Max}, Acc) -> [<<2:32/?UI,Max:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridCellNumberEditor_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxGridCellNumberEditor()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumbereditor.html#wxgridcellnumbereditorgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridCellNumberEditor),
+ wxe_util:call(?wxGridCellNumberEditor_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridCellNumberEditor(), Params::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumbereditor.html#wxgridcellnumbereditorsetparameters">external documentation</a>.
+setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
+ when is_list(Params) ->
+ ?CLASS(ThisT,wxGridCellNumberEditor),
+ Params_UC = unicode:characters_to_binary([Params,0]),
+ wxe_util:cast(?wxGridCellNumberEditor_SetParameters,
+ <<ThisRef:32/?UI,(byte_size(Params_UC)):32/?UI,(Params_UC)/binary, 0:(((8- ((0+byte_size(Params_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGridCellNumberEditor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellNumberEditor),
+ wxe_util:destroy(?wxGridCellNumberEditor_destroy,Obj),
+ ok.
+ %% From wxGridCellTextEditor
+ %% From wxGridCellEditor
+%% @hidden
+handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event).
+%% @hidden
+startingClick(This) -> wxGridCellEditor:startingClick(This).
+%% @hidden
+startingKey(This,Event) -> wxGridCellEditor:startingKey(This,Event).
+%% @hidden
+reset(This) -> wxGridCellEditor:reset(This).
+%% @hidden
+endEdit(This,Row,Col,Grid) -> wxGridCellEditor:endEdit(This,Row,Col,Grid).
+%% @hidden
+beginEdit(This,Row,Col,Grid) -> wxGridCellEditor:beginEdit(This,Row,Col,Grid).
+%% @hidden
+paintBackground(This,RectCell,Attr) -> wxGridCellEditor:paintBackground(This,RectCell,Attr).
+%% @hidden
+show(This,Show, Options) -> wxGridCellEditor:show(This,Show, Options).
+%% @hidden
+show(This,Show) -> wxGridCellEditor:show(This,Show).
+%% @hidden
+setSize(This,Rect) -> wxGridCellEditor:setSize(This,Rect).
+%% @hidden
+isCreated(This) -> wxGridCellEditor:isCreated(This).
diff --git a/lib/wx/src/gen/wxGridCellNumberRenderer.erl b/lib/wx/src/gen/wxGridCellNumberRenderer.erl
new file mode 100644
index 0000000000..cf90987dc9
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellNumberRenderer.erl
@@ -0,0 +1,58 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumberrenderer.html">wxGridCellNumberRenderer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellStringRenderer}
+%% <br />{@link wxGridCellRenderer}
+%% </p>
+%% @type wxGridCellNumberRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellNumberRenderer).
+-include("wxe.hrl").
+-export([destroy/1,new/0]).
+
+%% inherited exports
+-export([draw/8,getBestSize/6,parent_class/1]).
+
+%% @hidden
+parent_class(wxGridCellStringRenderer) -> true;
+parent_class(wxGridCellRenderer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellNumberRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellnumberrenderer.html#wxgridcellnumberrendererwxgridcellnumberrenderer">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGridCellNumberRenderer_new,
+ <<>>).
+
+%% @spec (This::wxGridCellNumberRenderer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellNumberRenderer),
+ wxe_util:destroy(?wxGridCellNumberRenderer_destroy,Obj),
+ ok.
+ %% From wxGridCellStringRenderer
+ %% From wxGridCellRenderer
+%% @hidden
+getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col).
+%% @hidden
+draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected) -> wxGridCellRenderer:draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected).
diff --git a/lib/wx/src/gen/wxGridCellRenderer.erl b/lib/wx/src/gen/wxGridCellRenderer.erl
new file mode 100644
index 0000000000..c7040049a4
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellRenderer.erl
@@ -0,0 +1,56 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellrenderer.html">wxGridCellRenderer</a>.
+%% @type wxGridCellRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellRenderer).
+-include("wxe.hrl").
+-export([draw/8,getBestSize/6]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, Row::integer(), Col::integer(), IsSelected::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellrenderer.html#wxgridcellrendererdraw">external documentation</a>.
+draw(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{type=AttrT,ref=AttrRef},#wx_ref{type=DcT,ref=DcRef},{RectX,RectY,RectW,RectH},Row,Col,IsSelected)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_integer(Row),is_integer(Col),is_boolean(IsSelected) ->
+ ?CLASS(ThisT,wxGridCellRenderer),
+ ?CLASS(GridT,wxGrid),
+ ?CLASS(AttrT,wxGridCellAttr),
+ ?CLASS(DcT,wxDC),
+ wxe_util:cast(?wxGridCellRenderer_Draw,
+ <<ThisRef:32/?UI,GridRef:32/?UI,AttrRef:32/?UI,DcRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,Row:32/?UI,Col:32/?UI,(wxe_util:from_bool(IsSelected)):32/?UI>>).
+
+%% @spec (This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Row::integer(), Col::integer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellrenderer.html#wxgridcellrenderergetbestsize">external documentation</a>.
+getBestSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{type=AttrT,ref=AttrRef},#wx_ref{type=DcT,ref=DcRef},Row,Col)
+ when is_integer(Row),is_integer(Col) ->
+ ?CLASS(ThisT,wxGridCellRenderer),
+ ?CLASS(GridT,wxGrid),
+ ?CLASS(AttrT,wxGridCellAttr),
+ ?CLASS(DcT,wxDC),
+ wxe_util:call(?wxGridCellRenderer_GetBestSize,
+ <<ThisRef:32/?UI,GridRef:32/?UI,AttrRef:32/?UI,DcRef:32/?UI,Row:32/?UI,Col:32/?UI>>).
+
diff --git a/lib/wx/src/gen/wxGridCellStringRenderer.erl b/lib/wx/src/gen/wxGridCellStringRenderer.erl
new file mode 100644
index 0000000000..1c37cf4d6c
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellStringRenderer.erl
@@ -0,0 +1,55 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellstringrenderer.html">wxGridCellStringRenderer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellRenderer}
+%% </p>
+%% @type wxGridCellStringRenderer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellStringRenderer).
+-include("wxe.hrl").
+-export([destroy/1,new/0]).
+
+%% inherited exports
+-export([draw/8,getBestSize/6,parent_class/1]).
+
+%% @hidden
+parent_class(wxGridCellRenderer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellStringRenderer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcellstringrenderer.html#wxgridcellstringrendererwxgridcellstringrenderer">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGridCellStringRenderer_new,
+ <<>>).
+
+%% @spec (This::wxGridCellStringRenderer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellStringRenderer),
+ wxe_util:destroy(?wxGridCellStringRenderer_destroy,Obj),
+ ok.
+ %% From wxGridCellRenderer
+%% @hidden
+getBestSize(This,Grid,Attr,Dc,Row,Col) -> wxGridCellRenderer:getBestSize(This,Grid,Attr,Dc,Row,Col).
+%% @hidden
+draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected) -> wxGridCellRenderer:draw(This,Grid,Attr,Dc,Rect,Row,Col,IsSelected).
diff --git a/lib/wx/src/gen/wxGridCellTextEditor.erl b/lib/wx/src/gen/wxGridCellTextEditor.erl
new file mode 100644
index 0000000000..f785d736f0
--- /dev/null
+++ b/lib/wx/src/gen/wxGridCellTextEditor.erl
@@ -0,0 +1,83 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelltexteditor.html">wxGridCellTextEditor</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxGridCellEditor}
+%% </p>
+%% @type wxGridCellTextEditor(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridCellTextEditor).
+-include("wxe.hrl").
+-export([destroy/1,new/0,setParameters/2]).
+
+%% inherited exports
+-export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3,
+ parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]).
+
+%% @hidden
+parent_class(wxGridCellEditor) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxGridCellTextEditor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelltexteditor.html#wxgridcelltexteditorwxgridcelltexteditor">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxGridCellTextEditor_new,
+ <<>>).
+
+%% @spec (This::wxGridCellTextEditor(), Params::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridcelltexteditor.html#wxgridcelltexteditorsetparameters">external documentation</a>.
+setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
+ when is_list(Params) ->
+ ?CLASS(ThisT,wxGridCellTextEditor),
+ Params_UC = unicode:characters_to_binary([Params,0]),
+ wxe_util:cast(?wxGridCellTextEditor_SetParameters,
+ <<ThisRef:32/?UI,(byte_size(Params_UC)):32/?UI,(Params_UC)/binary, 0:(((8- ((0+byte_size(Params_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxGridCellTextEditor()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridCellTextEditor),
+ wxe_util:destroy(?wxGridCellTextEditor_destroy,Obj),
+ ok.
+ %% From wxGridCellEditor
+%% @hidden
+handleReturn(This,Event) -> wxGridCellEditor:handleReturn(This,Event).
+%% @hidden
+startingClick(This) -> wxGridCellEditor:startingClick(This).
+%% @hidden
+startingKey(This,Event) -> wxGridCellEditor:startingKey(This,Event).
+%% @hidden
+reset(This) -> wxGridCellEditor:reset(This).
+%% @hidden
+endEdit(This,Row,Col,Grid) -> wxGridCellEditor:endEdit(This,Row,Col,Grid).
+%% @hidden
+beginEdit(This,Row,Col,Grid) -> wxGridCellEditor:beginEdit(This,Row,Col,Grid).
+%% @hidden
+paintBackground(This,RectCell,Attr) -> wxGridCellEditor:paintBackground(This,RectCell,Attr).
+%% @hidden
+show(This,Show, Options) -> wxGridCellEditor:show(This,Show, Options).
+%% @hidden
+show(This,Show) -> wxGridCellEditor:show(This,Show).
+%% @hidden
+setSize(This,Rect) -> wxGridCellEditor:setSize(This,Rect).
+%% @hidden
+isCreated(This) -> wxGridCellEditor:isCreated(This).
diff --git a/lib/wx/src/gen/wxGridEvent.erl b/lib/wx/src/gen/wxGridEvent.erl
new file mode 100644
index 0000000000..4d89408c98
--- /dev/null
+++ b/lib/wx/src/gen/wxGridEvent.erl
@@ -0,0 +1,151 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html">wxGridEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>grid_cell_left_click</em>, <em>grid_cell_right_click</em>, <em>grid_cell_left_dclick</em>, <em>grid_cell_right_dclick</em>, <em>grid_label_left_click</em>, <em>grid_label_right_click</em>, <em>grid_label_left_dclick</em>, <em>grid_label_right_dclick</em>, <em>grid_row_size</em>, <em>grid_col_size</em>, <em>grid_range_select</em>, <em>grid_cell_change</em>, <em>grid_select_cell</em>, <em>grid_editor_shown</em>, <em>grid_editor_hidden</em>, <em>grid_editor_created</em>, <em>grid_cell_begin_drag</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxGrid(). #wxGrid{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxGridEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridEvent).
+-include("wxe.hrl").
+-export([altDown/1,controlDown/1,getCol/1,getPosition/1,getRow/1,metaDown/1,
+ selecting/1,shiftDown/1]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxGridEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventaltdown">external documentation</a>.
+altDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_AltDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventcontroldown">external documentation</a>.
+controlDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_ControlDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventgetcol">external documentation</a>.
+getCol(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_GetCol,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventgetrow">external documentation</a>.
+getRow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_GetRow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventmetadown">external documentation</a>.
+metaDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_MetaDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventselecting">external documentation</a>.
+selecting(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_Selecting,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridevent.html#wxgrideventshiftdown">external documentation</a>.
+shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridEvent),
+ wxe_util:call(?wxGridEvent_ShiftDown,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxGridSizer.erl b/lib/wx/src/gen/wxGridSizer.erl
new file mode 100644
index 0000000000..bcc62be429
--- /dev/null
+++ b/lib/wx/src/gen/wxGridSizer.erl
@@ -0,0 +1,233 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html">wxGridSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxGridSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxGridSizer).
+-include("wxe.hrl").
+-export([destroy/1,getCols/1,getHGap/1,getRows/1,getVGap/1,new/1,new/2,new/4,setCols/2,
+ setHGap/2,setRows/2,setVGap/2]).
+
+%% inherited exports
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getItem/2,
+ getItem/3,getMinSize/1,getPosition/1,getSize/1,hide/2,hide/3,insert/3,
+ insert/4,insert/5,insertSpacer/3,insertStretchSpacer/2,insertStretchSpacer/3,
+ isShown/2,layout/1,parent_class/1,prepend/2,prepend/3,prepend/4,prependSpacer/2,
+ prependStretchSpacer/1,prependStretchSpacer/2,recalcSizes/1,remove/2,
+ replace/3,replace/4,setDimension/5,setItemMinSize/3,setItemMinSize/4,
+ setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,show/2,
+ show/3]).
+
+%% @hidden
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Cols::integer()) -> wxGridSizer()
+%% @equiv new(Cols, [])
+new(Cols)
+ when is_integer(Cols) ->
+ new(Cols, []).
+
+%% @spec (Cols::integer(), [Option]) -> wxGridSizer()
+%% Option = {vgap, integer()} | {hgap, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizerwxgridsizer">external documentation</a>.
+new(Cols, Options)
+ when is_integer(Cols),is_list(Options) ->
+ MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc];
+ ({hgap, Hgap}, Acc) -> [<<2:32/?UI,Hgap:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxGridSizer_new_2,
+ <<Cols:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer()) -> wxGridSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizerwxgridsizer">external documentation</a>.
+new(Rows,Cols,Vgap,Hgap)
+ when is_integer(Rows),is_integer(Cols),is_integer(Vgap),is_integer(Hgap) ->
+ wxe_util:construct(?wxGridSizer_new_4,
+ <<Rows:32/?UI,Cols:32/?UI,Vgap:32/?UI,Hgap:32/?UI>>).
+
+%% @spec (This::wxGridSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizergetcols">external documentation</a>.
+getCols(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:call(?wxGridSizer_GetCols,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizergethgap">external documentation</a>.
+getHGap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:call(?wxGridSizer_GetHGap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizergetrows">external documentation</a>.
+getRows(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:call(?wxGridSizer_GetRows,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridSizer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizergetvgap">external documentation</a>.
+getVGap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:call(?wxGridSizer_GetVGap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxGridSizer(), Cols::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizersetcols">external documentation</a>.
+setCols(#wx_ref{type=ThisT,ref=ThisRef},Cols)
+ when is_integer(Cols) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:cast(?wxGridSizer_SetCols,
+ <<ThisRef:32/?UI,Cols:32/?UI>>).
+
+%% @spec (This::wxGridSizer(), Gap::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizersethgap">external documentation</a>.
+setHGap(#wx_ref{type=ThisT,ref=ThisRef},Gap)
+ when is_integer(Gap) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:cast(?wxGridSizer_SetHGap,
+ <<ThisRef:32/?UI,Gap:32/?UI>>).
+
+%% @spec (This::wxGridSizer(), Rows::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizersetrows">external documentation</a>.
+setRows(#wx_ref{type=ThisT,ref=ThisRef},Rows)
+ when is_integer(Rows) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:cast(?wxGridSizer_SetRows,
+ <<ThisRef:32/?UI,Rows:32/?UI>>).
+
+%% @spec (This::wxGridSizer(), Gap::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxgridsizer.html#wxgridsizersetvgap">external documentation</a>.
+setVGap(#wx_ref{type=ThisT,ref=ThisRef},Gap)
+ when is_integer(Gap) ->
+ ?CLASS(ThisT,wxGridSizer),
+ wxe_util:cast(?wxGridSizer_SetVGap,
+ <<ThisRef:32/?UI,Gap:32/?UI>>).
+
+%% @spec (This::wxGridSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxGridSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+calcMin(This) -> wxSizer:calcMin(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
+%% @hidden
+add(This,Width,Height, Options) -> wxSizer:add(This,Width,Height, Options).
+%% @hidden
+add(This,Width,Height) -> wxSizer:add(This,Width,Height).
+%% @hidden
+add(This,Window) -> wxSizer:add(This,Window).
diff --git a/lib/wx/src/gen/wxHelpEvent.erl b/lib/wx/src/gen/wxHelpEvent.erl
new file mode 100644
index 0000000000..4785ff10de
--- /dev/null
+++ b/lib/wx/src/gen/wxHelpEvent.erl
@@ -0,0 +1,96 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhelpevent.html">wxHelpEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>help</em>, <em>detailed_help</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxHelp(). #wxHelp{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxHelpEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxHelpEvent).
+-include("wxe.hrl").
+-export([getOrigin/1,getPosition/1,setOrigin/2,setPosition/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxHelpEvent()) -> Origin
+%% Origin = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhelpevent.html#wxhelpeventgetorigin">external documentation</a>.
+%%<br /> Origin is one of ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton
+getOrigin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHelpEvent),
+ wxe_util:call(?wxHelpEvent_GetOrigin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHelpEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhelpevent.html#wxhelpeventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHelpEvent),
+ wxe_util:call(?wxHelpEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHelpEvent(), Origin::Origin) -> ok
+%% Origin = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhelpevent.html#wxhelpeventsetorigin">external documentation</a>.
+%%<br /> Origin is one of ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton
+setOrigin(#wx_ref{type=ThisT,ref=ThisRef},Origin)
+ when is_integer(Origin) ->
+ ?CLASS(ThisT,wxHelpEvent),
+ wxe_util:cast(?wxHelpEvent_SetOrigin,
+ <<ThisRef:32/?UI,Origin:32/?UI>>).
+
+%% @spec (This::wxHelpEvent(), Pos::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhelpevent.html#wxhelpeventsetposition">external documentation</a>.
+setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxHelpEvent),
+ wxe_util:cast(?wxHelpEvent_SetPosition,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxHtmlEasyPrinting.erl b/lib/wx/src/gen/wxHtmlEasyPrinting.erl
new file mode 100644
index 0000000000..a782bd71c3
--- /dev/null
+++ b/lib/wx/src/gen/wxHtmlEasyPrinting.erl
@@ -0,0 +1,196 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html">wxHtmlEasyPrinting</a>.
+%% @type wxHtmlEasyPrinting(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxHtmlEasyPrinting).
+-include("wxe.hrl").
+-export([destroy/1,getPageSetupData/1,getPrintData/1,new/0,new/1,pageSetup/1,
+ previewFile/2,previewText/2,previewText/3,printFile/2,printText/2,
+ printText/3,setFonts/3,setFonts/4,setFooter/2,setFooter/3,setHeader/2,
+ setHeader/3]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxHtmlEasyPrinting()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxHtmlEasyPrinting()
+%% Option = {name, string()} | {parentWindow, wxWindow:wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingwxhtmleasyprinting">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({name, Name}, Acc) -> Name_UC = unicode:characters_to_binary([Name,0]),[<<1:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({parentWindow, #wx_ref{type=ParentWindowT,ref=ParentWindowRef}}, Acc) -> ?CLASS(ParentWindowT,wxWindow),[<<2:32/?UI,ParentWindowRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxHtmlEasyPrinting_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting()) -> wxPrintData:wxPrintData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintinggetprintdata">external documentation</a>.
+getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ wxe_util:call(?wxHtmlEasyPrinting_GetPrintData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlEasyPrinting()) -> wxPageSetupDialogData:wxPageSetupDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintinggetpagesetupdata">external documentation</a>.
+getPageSetupData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ wxe_util:call(?wxHtmlEasyPrinting_GetPageSetupData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingpreviewfile">external documentation</a>.
+previewFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile)
+ when is_list(Htmlfile) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Htmlfile_UC = unicode:characters_to_binary([Htmlfile,0]),
+ wxe_util:call(?wxHtmlEasyPrinting_PreviewFile,
+ <<ThisRef:32/?UI,(byte_size(Htmlfile_UC)):32/?UI,(Htmlfile_UC)/binary, 0:(((8- ((0+byte_size(Htmlfile_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool()
+%% @equiv previewText(This,Htmltext, [])
+previewText(This,Htmltext)
+ when is_record(This, wx_ref),is_list(Htmltext) ->
+ previewText(This,Htmltext, []).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string(), [Option]) -> bool()
+%% Option = {basepath, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingpreviewtext">external documentation</a>.
+previewText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options)
+ when is_list(Htmltext),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Htmltext_UC = unicode:characters_to_binary([Htmltext,0]),
+ MOpts = fun({basepath, Basepath}, Acc) -> Basepath_UC = unicode:characters_to_binary([Basepath,0]),[<<1:32/?UI,(byte_size(Basepath_UC)):32/?UI,(Basepath_UC)/binary, 0:(((8- ((0+byte_size(Basepath_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxHtmlEasyPrinting_PreviewText,
+ <<ThisRef:32/?UI,(byte_size(Htmltext_UC)):32/?UI,(Htmltext_UC)/binary, 0:(((8- ((0+byte_size(Htmltext_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingprintfile">external documentation</a>.
+printFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile)
+ when is_list(Htmlfile) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Htmlfile_UC = unicode:characters_to_binary([Htmlfile,0]),
+ wxe_util:call(?wxHtmlEasyPrinting_PrintFile,
+ <<ThisRef:32/?UI,(byte_size(Htmlfile_UC)):32/?UI,(Htmlfile_UC)/binary, 0:(((8- ((0+byte_size(Htmlfile_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool()
+%% @equiv printText(This,Htmltext, [])
+printText(This,Htmltext)
+ when is_record(This, wx_ref),is_list(Htmltext) ->
+ printText(This,Htmltext, []).
+
+%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string(), [Option]) -> bool()
+%% Option = {basepath, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingprinttext">external documentation</a>.
+printText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options)
+ when is_list(Htmltext),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Htmltext_UC = unicode:characters_to_binary([Htmltext,0]),
+ MOpts = fun({basepath, Basepath}, Acc) -> Basepath_UC = unicode:characters_to_binary([Basepath,0]),[<<1:32/?UI,(byte_size(Basepath_UC)):32/?UI,(Basepath_UC)/binary, 0:(((8- ((0+byte_size(Basepath_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxHtmlEasyPrinting_PrintText,
+ <<ThisRef:32/?UI,(byte_size(Htmltext_UC)):32/?UI,(Htmltext_UC)/binary, 0:(((8- ((0+byte_size(Htmltext_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingpagesetup">external documentation</a>.
+pageSetup(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ wxe_util:cast(?wxHtmlEasyPrinting_PageSetup,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string()) -> ok
+%% @equiv setFonts(This,Normal_face,Fixed_face, [])
+setFonts(This,Normal_face,Fixed_face)
+ when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) ->
+ setFonts(This,Normal_face,Fixed_face, []).
+
+%% @spec (This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(), [Option]) -> ok
+%% Option = {sizes, [integer()]}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingsetfonts">external documentation</a>.
+setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options)
+ when is_list(Normal_face),is_list(Fixed_face),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Normal_face_UC = unicode:characters_to_binary([Normal_face,0]),
+ Fixed_face_UC = unicode:characters_to_binary([Fixed_face,0]),
+ MOpts = fun({sizes, Sizes}, Acc) -> [<<1:32/?UI,(length(Sizes)):32/?UI,
+ (<< <<C:32/?I>> || C <- Sizes>>)/binary, 0:(((0+length(Sizes)) rem 2)*32)>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxHtmlEasyPrinting_SetFonts,
+ <<ThisRef:32/?UI,(byte_size(Normal_face_UC)):32/?UI,(Normal_face_UC)/binary, 0:(((8- ((0+byte_size(Normal_face_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Fixed_face_UC)):32/?UI,(Fixed_face_UC)/binary, 0:(((8- ((4+byte_size(Fixed_face_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Header::string()) -> ok
+%% @equiv setHeader(This,Header, [])
+setHeader(This,Header)
+ when is_record(This, wx_ref),is_list(Header) ->
+ setHeader(This,Header, []).
+
+%% @spec (This::wxHtmlEasyPrinting(), Header::string(), [Option]) -> ok
+%% Option = {pg, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingsetheader">external documentation</a>.
+setHeader(#wx_ref{type=ThisT,ref=ThisRef},Header, Options)
+ when is_list(Header),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Header_UC = unicode:characters_to_binary([Header,0]),
+ MOpts = fun({pg, Pg}, Acc) -> [<<1:32/?UI,Pg:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxHtmlEasyPrinting_SetHeader,
+ <<ThisRef:32/?UI,(byte_size(Header_UC)):32/?UI,(Header_UC)/binary, 0:(((8- ((0+byte_size(Header_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting(), Footer::string()) -> ok
+%% @equiv setFooter(This,Footer, [])
+setFooter(This,Footer)
+ when is_record(This, wx_ref),is_list(Footer) ->
+ setFooter(This,Footer, []).
+
+%% @spec (This::wxHtmlEasyPrinting(), Footer::string(), [Option]) -> ok
+%% Option = {pg, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmleasyprinting.html#wxhtmleasyprintingsetfooter">external documentation</a>.
+setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options)
+ when is_list(Footer),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlEasyPrinting),
+ Footer_UC = unicode:characters_to_binary([Footer,0]),
+ MOpts = fun({pg, Pg}, Acc) -> [<<1:32/?UI,Pg:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxHtmlEasyPrinting_SetFooter,
+ <<ThisRef:32/?UI,(byte_size(Footer_UC)):32/?UI,(Footer_UC)/binary, 0:(((8- ((0+byte_size(Footer_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlEasyPrinting()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxHtmlEasyPrinting),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxHtmlLinkEvent.erl b/lib/wx/src/gen/wxHtmlLinkEvent.erl
new file mode 100644
index 0000000000..04eccad939
--- /dev/null
+++ b/lib/wx/src/gen/wxHtmlLinkEvent.erl
@@ -0,0 +1,92 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmllinkevent.html">wxHtmlLinkEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_html_link_clicked</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxHtmlLink(). #wxHtmlLink{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxHtmlLinkEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxHtmlLinkEvent).
+-include("wxe.hrl").
+-export([getLinkInfo/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxHtmlLinkEvent()) -> wx:wxHtmlLinkInfo()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmllinkevent.html#wxhtmllinkeventgetlinkinfo">external documentation</a>.
+getLinkInfo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlLinkEvent),
+ wxe_util:call(?wxHtmlLinkEvent_GetLinkInfo,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxHtmlWindow.erl b/lib/wx/src/gen/wxHtmlWindow.erl
new file mode 100644
index 0000000000..6f43c17890
--- /dev/null
+++ b/lib/wx/src/gen/wxHtmlWindow.erl
@@ -0,0 +1,695 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html">wxHtmlWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxScrolledWindow}
+%% <br />{@link wxPanel}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxHtmlWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxHtmlWindow).
+-include("wxe.hrl").
+-export([appendToPage/2,destroy/1,getOpenedAnchor/1,getOpenedPage/1,getOpenedPageTitle/1,
+ getRelatedFrame/1,historyBack/1,historyCanBack/1,historyCanForward/1,
+ historyClear/1,historyForward/1,loadFile/2,loadPage/2,new/0,new/1,new/2,
+ selectAll/1,selectLine/2,selectWord/2,selectionToText/1,setBorders/2,
+ setFonts/3,setFonts/4,setPage/2,setRelatedFrame/3,setRelatedStatusBar/2,
+ toText/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,calcScrolledPosition/2,calcScrolledPosition/3,calcUnscrolledPosition/2,
+ calcUnscrolledPosition/3,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ doPrepareDC/2,enable/1,enable/2,enableScrolling/3,findWindow/2,fit/1,
+ fitInside/1,freeze/1,getAcceleratorTable/1,getBackgroundColour/1,
+ getBackgroundStyle/1,getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,
+ getChildren/1,getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPixelsPerUnit/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getToolTip/1,getUpdateRegion/1,getViewStart/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,prepareDC/2,raise/1,refresh/1,refresh/2,
+ refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,
+ screenToClient/1,screenToClient/2,scroll/3,scrollLines/2,scrollPages/2,
+ scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollRate/3,setScrollbar/5,setScrollbar/6,
+ setScrollbars/5,setScrollbars/6,setSize/2,setSize/3,setSize/5,setSize/6,
+ setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,
+ setSizerAndFit/2,setSizerAndFit/3,setTargetWindow/2,setThemeEnabled/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxScrolledWindow) -> true;
+parent_class(wxPanel) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxHtmlWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowwxhtmlwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxHtmlWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxHtmlWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxHtmlWindow()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowwxhtmlwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxHtmlWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxHtmlWindow(), Source::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowappendtopage">external documentation</a>.
+appendToPage(#wx_ref{type=ThisT,ref=ThisRef},Source)
+ when is_list(Source) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ Source_UC = unicode:characters_to_binary([Source,0]),
+ wxe_util:call(?wxHtmlWindow_AppendToPage,
+ <<ThisRef:32/?UI,(byte_size(Source_UC)):32/?UI,(Source_UC)/binary, 0:(((8- ((0+byte_size(Source_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowgetopenedanchor">external documentation</a>.
+getOpenedAnchor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_GetOpenedAnchor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowgetopenedpage">external documentation</a>.
+getOpenedPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_GetOpenedPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowgetopenedpagetitle">external documentation</a>.
+getOpenedPageTitle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_GetOpenedPageTitle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> wxFrame:wxFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowgetrelatedframe">external documentation</a>.
+getRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_GetRelatedFrame,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowhistoryback">external documentation</a>.
+historyBack(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_HistoryBack,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowhistorycanback">external documentation</a>.
+historyCanBack(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_HistoryCanBack,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowhistorycanforward">external documentation</a>.
+historyCanForward(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_HistoryCanForward,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowhistoryclear">external documentation</a>.
+historyClear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_HistoryClear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowhistoryforward">external documentation</a>.
+historyForward(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_HistoryForward,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow(), Filename::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowloadfile">external documentation</a>.
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename)
+ when is_list(Filename) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ wxe_util:call(?wxHtmlWindow_LoadFile,
+ <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlWindow(), Location::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowloadpage">external documentation</a>.
+loadPage(#wx_ref{type=ThisT,ref=ThisRef},Location)
+ when is_list(Location) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ Location_UC = unicode:characters_to_binary([Location,0]),
+ wxe_util:call(?wxHtmlWindow_LoadPage,
+ <<ThisRef:32/?UI,(byte_size(Location_UC)):32/?UI,(Location_UC)/binary, 0:(((8- ((0+byte_size(Location_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowselectall">external documentation</a>.
+selectAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_SelectAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowselectiontotext">external documentation</a>.
+selectionToText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_SelectionToText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow(), Pos::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowselectline">external documentation</a>.
+selectLine(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_SelectLine,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow(), Pos::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowselectword">external documentation</a>.
+selectWord(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY})
+ when is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_SelectWord,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowsetborders">external documentation</a>.
+setBorders(#wx_ref{type=ThisT,ref=ThisRef},B)
+ when is_integer(B) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_SetBorders,
+ <<ThisRef:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string()) -> ok
+%% @equiv setFonts(This,Normal_face,Fixed_face, [])
+setFonts(This,Normal_face,Fixed_face)
+ when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) ->
+ setFonts(This,Normal_face,Fixed_face, []).
+
+%% @spec (This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(), [Option]) -> ok
+%% Option = {sizes, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowsetfonts">external documentation</a>.
+setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options)
+ when is_list(Normal_face),is_list(Fixed_face),is_list(Options) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ Normal_face_UC = unicode:characters_to_binary([Normal_face,0]),
+ Fixed_face_UC = unicode:characters_to_binary([Fixed_face,0]),
+ MOpts = fun({sizes, Sizes}, Acc) -> [<<1:32/?UI,Sizes:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxHtmlWindow_SetFonts,
+ <<ThisRef:32/?UI,(byte_size(Normal_face_UC)):32/?UI,(Normal_face_UC)/binary, 0:(((8- ((0+byte_size(Normal_face_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Fixed_face_UC)):32/?UI,(Fixed_face_UC)/binary, 0:(((8- ((4+byte_size(Fixed_face_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxHtmlWindow(), Source::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowsetpage">external documentation</a>.
+setPage(#wx_ref{type=ThisT,ref=ThisRef},Source)
+ when is_list(Source) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ Source_UC = unicode:characters_to_binary([Source,0]),
+ wxe_util:call(?wxHtmlWindow_SetPage,
+ <<ThisRef:32/?UI,(byte_size(Source_UC)):32/?UI,(Source_UC)/binary, 0:(((8- ((0+byte_size(Source_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlWindow(), Frame::wxFrame:wxFrame(), Format::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowsetrelatedframe">external documentation</a>.
+setRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},Format)
+ when is_list(Format) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ ?CLASS(FrameT,wxFrame),
+ Format_UC = unicode:characters_to_binary([Format,0]),
+ wxe_util:cast(?wxHtmlWindow_SetRelatedFrame,
+ <<ThisRef:32/?UI,FrameRef:32/?UI,(byte_size(Format_UC)):32/?UI,(Format_UC)/binary, 0:(((8- ((4+byte_size(Format_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxHtmlWindow(), Bar::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowsetrelatedstatusbar">external documentation</a>.
+setRelatedStatusBar(#wx_ref{type=ThisT,ref=ThisRef},Bar)
+ when is_integer(Bar) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:cast(?wxHtmlWindow_SetRelatedStatusBar,
+ <<ThisRef:32/?UI,Bar:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxhtmlwindow.html#wxhtmlwindowtotext">external documentation</a>.
+toText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxHtmlWindow),
+ wxe_util:call(?wxHtmlWindow_ToText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxHtmlWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxHtmlWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxScrolledWindow
+%% @hidden
+setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target).
+%% @hidden
+setScrollRate(This,Xstep,Ystep) -> wxScrolledWindow:setScrollRate(This,Xstep,Ystep).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY).
+%% @hidden
+scroll(This,X,Y) -> wxScrolledWindow:scroll(This,X,Y).
+%% @hidden
+prepareDC(This,Dc) -> wxScrolledWindow:prepareDC(This,Dc).
+%% @hidden
+doPrepareDC(This,Dc) -> wxScrolledWindow:doPrepareDC(This,Dc).
+%% @hidden
+getViewStart(This) -> wxScrolledWindow:getViewStart(This).
+%% @hidden
+getScrollPixelsPerUnit(This) -> wxScrolledWindow:getScrollPixelsPerUnit(This).
+%% @hidden
+enableScrolling(This,X_scrolling,Y_scrolling) -> wxScrolledWindow:enableScrolling(This,X_scrolling,Y_scrolling).
+%% @hidden
+calcUnscrolledPosition(This,X,Y) -> wxScrolledWindow:calcUnscrolledPosition(This,X,Y).
+%% @hidden
+calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This,Pt).
+%% @hidden
+calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y).
+%% @hidden
+calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt).
+ %% From wxPanel
+%% @hidden
+initDialog(This) -> wxPanel:initDialog(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxIcon.erl b/lib/wx/src/gen/wxIcon.erl
new file mode 100644
index 0000000000..d95fad1458
--- /dev/null
+++ b/lib/wx/src/gen/wxIcon.erl
@@ -0,0 +1,131 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html">wxIcon</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxBitmap}
+%% </p>
+%% @type wxIcon(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxIcon).
+-include("wxe.hrl").
+-export([copyFromBitmap/2,destroy/1,new/0,new/1,new/2]).
+
+%% inherited exports
+-export([convertToImage/1,copyFromIcon/2,getDepth/1,getHeight/1,getMask/1,getPalette/1,
+ getSubBitmap/2,getWidth/1,loadFile/2,loadFile/3,ok/1,parent_class/1,
+ saveFile/3,saveFile/4,setDepth/2,setHeight/2,setMask/2,setPalette/2,
+ setWidth/2]).
+
+%% @hidden
+parent_class(wxBitmap) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html#wxiconwxicon">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxIcon_new_0,
+ <<>>).
+
+%% @spec (X::string()|term()) -> wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html#wxiconwxicon">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Filename::string()) -> new(Filename, []) </c></p>
+%% <p><c>
+%% new(Loc::wx:wx()) -> wxIcon() </c>
+%% </p>
+
+new(Filename)
+ when is_list(Filename) ->
+ new(Filename, []);
+new(#wx_ref{type=LocT,ref=LocRef}) ->
+ ?CLASS(LocT,wx),
+ wxe_util:construct(?wxIcon_new_1,
+ <<LocRef:32/?UI>>).
+
+%% @spec (Filename::string(), [Option]) -> wxIcon()
+%% Option = {type, WxBitmapType} | {desiredWidth, integer()} | {desiredHeight, integer()}
+%% WxBitmapType = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html#wxiconwxicon">external documentation</a>.
+%%<br /> WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
+new(Filename, Options)
+ when is_list(Filename),is_list(Options) ->
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ ({desiredWidth, DesiredWidth}, Acc) -> [<<2:32/?UI,DesiredWidth:32/?UI>>|Acc];
+ ({desiredHeight, DesiredHeight}, Acc) -> [<<3:32/?UI,DesiredHeight:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxIcon_new_2,
+ <<(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((4+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxIcon(), Bmp::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxicon.html#wxiconcopyfrombitmap">external documentation</a>.
+copyFromBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) ->
+ ?CLASS(ThisT,wxIcon),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxIcon_CopyFromBitmap,
+ <<ThisRef:32/?UI,BmpRef:32/?UI>>).
+
+%% @spec (This::wxIcon()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxIcon),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxBitmap
+%% @hidden
+setWidth(This,Width) -> wxBitmap:setWidth(This,Width).
+%% @hidden
+setPalette(This,Palette) -> wxBitmap:setPalette(This,Palette).
+%% @hidden
+setMask(This,Mask) -> wxBitmap:setMask(This,Mask).
+%% @hidden
+setHeight(This,Height) -> wxBitmap:setHeight(This,Height).
+%% @hidden
+setDepth(This,Depth) -> wxBitmap:setDepth(This,Depth).
+%% @hidden
+saveFile(This,Name,Type, Options) -> wxBitmap:saveFile(This,Name,Type, Options).
+%% @hidden
+saveFile(This,Name,Type) -> wxBitmap:saveFile(This,Name,Type).
+%% @hidden
+ok(This) -> wxBitmap:ok(This).
+%% @hidden
+loadFile(This,Name, Options) -> wxBitmap:loadFile(This,Name, Options).
+%% @hidden
+loadFile(This,Name) -> wxBitmap:loadFile(This,Name).
+%% @hidden
+getSubBitmap(This,Rect) -> wxBitmap:getSubBitmap(This,Rect).
+%% @hidden
+getWidth(This) -> wxBitmap:getWidth(This).
+%% @hidden
+getMask(This) -> wxBitmap:getMask(This).
+%% @hidden
+getPalette(This) -> wxBitmap:getPalette(This).
+%% @hidden
+getHeight(This) -> wxBitmap:getHeight(This).
+%% @hidden
+getDepth(This) -> wxBitmap:getDepth(This).
+%% @hidden
+copyFromIcon(This,Icon) -> wxBitmap:copyFromIcon(This,Icon).
+%% @hidden
+convertToImage(This) -> wxBitmap:convertToImage(This).
diff --git a/lib/wx/src/gen/wxIconBundle.erl b/lib/wx/src/gen/wxIconBundle.erl
new file mode 100644
index 0000000000..be600c69da
--- /dev/null
+++ b/lib/wx/src/gen/wxIconBundle.erl
@@ -0,0 +1,113 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html">wxIconBundle</a>.
+%% @type wxIconBundle(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxIconBundle).
+-include("wxe.hrl").
+-export([addIcon/2,addIcon/3,destroy/1,getIcon/1,getIcon/2,new/0,new/1,new/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxIconBundle()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundlewxiconbundle">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxIconBundle_new_0,
+ <<>>).
+
+%% @spec (Ic::wxIconBundle() | wxIcon:wxIcon()) -> wxIconBundle()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundlewxiconbundle">external documentation</a>.
+new(#wx_ref{type=IcT,ref=IcRef}) ->
+ IcOP = case ?CLASS_T(IcT,wxIconBundle) of
+ true ->
+ ?wxIconBundle_new_1_1;
+ _ -> ?CLASS(IcT,wxIcon),
+ ?wxIconBundle_new_1_0
+ end,
+ wxe_util:construct(IcOP,
+ <<IcRef:32/?UI>>).
+
+%% @spec (File::string(), Type::integer()) -> wxIconBundle()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundlewxiconbundle">external documentation</a>.
+new(File,Type)
+ when is_list(File),is_integer(Type) ->
+ File_UC = unicode:characters_to_binary([File,0]),
+ wxe_util:construct(?wxIconBundle_new_2,
+ <<(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((4+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8,Type:32/?UI>>).
+
+%% @spec (This::wxIconBundle(), Icon::wxIcon:wxIcon()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundleaddicon">external documentation</a>.
+addIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) ->
+ ?CLASS(ThisT,wxIconBundle),
+ ?CLASS(IconT,wxIcon),
+ wxe_util:cast(?wxIconBundle_AddIcon_1,
+ <<ThisRef:32/?UI,IconRef:32/?UI>>).
+
+%% @spec (This::wxIconBundle(), File::string(), Type::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundleaddicon">external documentation</a>.
+addIcon(#wx_ref{type=ThisT,ref=ThisRef},File,Type)
+ when is_list(File),is_integer(Type) ->
+ ?CLASS(ThisT,wxIconBundle),
+ File_UC = unicode:characters_to_binary([File,0]),
+ wxe_util:cast(?wxIconBundle_AddIcon_2,
+ <<ThisRef:32/?UI,(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((0+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8,Type:32/?UI>>).
+
+%% @spec (This::wxIconBundle()) -> wxIcon:wxIcon()
+%% @equiv getIcon(This, [])
+getIcon(This)
+ when is_record(This, wx_ref) ->
+ getIcon(This, []).
+
+%% @spec (This::wxIconBundle(),X::term()) -> wxIcon:wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconbundle.html#wxiconbundlegeticon">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% getIcon(This::wxIconBundle(), [Option]) -> wxIcon:wxIcon() </c>
+%%<br /> Option = {size, integer()}
+%% </p>
+%% <p><c>
+%% getIcon(This::wxIconBundle(), Size::{W::integer(),H::integer()}) -> wxIcon:wxIcon() </c>
+%% </p>
+getIcon(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxIconBundle),
+ MOpts = fun({size, Size}, Acc) -> [<<1:32/?UI,Size:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxIconBundle_GetIcon_1_0,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>);
+getIcon(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxIconBundle),
+ wxe_util:call(?wxIconBundle_GetIcon_1_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxIconBundle()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxIconBundle),
+ wxe_util:destroy(?wxIconBundle_destruct,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxIconizeEvent.erl b/lib/wx/src/gen/wxIconizeEvent.erl
new file mode 100644
index 0000000000..09f8843b74
--- /dev/null
+++ b/lib/wx/src/gen/wxIconizeEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconizeevent.html">wxIconizeEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>iconize</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxIconize(). #wxIconize{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxIconizeEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxIconizeEvent).
+-include("wxe.hrl").
+-export([iconized/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxIconizeEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxiconizeevent.html#wxiconizeeventiconized">external documentation</a>.
+iconized(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxIconizeEvent),
+ wxe_util:call(?wxIconizeEvent_Iconized,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxIdleEvent.erl b/lib/wx/src/gen/wxIdleEvent.erl
new file mode 100644
index 0000000000..e205eff522
--- /dev/null
+++ b/lib/wx/src/gen/wxIdleEvent.erl
@@ -0,0 +1,111 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html">wxIdleEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>idle</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxIdle(). #wxIdle{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxIdleEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxIdleEvent).
+-include("wxe.hrl").
+-export([canSend/1,getMode/0,moreRequested/1,requestMore/1,requestMore/2,setMode/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Win::wxWindow:wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html#wxidleeventcansend">external documentation</a>.
+canSend(#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(WinT,wxWindow),
+ wxe_util:call(?wxIdleEvent_CanSend,
+ <<WinRef:32/?UI>>).
+
+%% @spec () -> WxIdleMode
+%% WxIdleMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html#wxidleeventgetmode">external documentation</a>.
+%%<br /> WxIdleMode is one of ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED
+getMode() ->
+ wxe_util:call(?wxIdleEvent_GetMode,
+ <<>>).
+
+%% @spec (This::wxIdleEvent()) -> ok
+%% @equiv requestMore(This, [])
+requestMore(This)
+ when is_record(This, wx_ref) ->
+ requestMore(This, []).
+
+%% @spec (This::wxIdleEvent(), [Option]) -> ok
+%% Option = {needMore, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html#wxidleeventrequestmore">external documentation</a>.
+requestMore(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxIdleEvent),
+ MOpts = fun({needMore, NeedMore}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(NeedMore)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxIdleEvent_RequestMore,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxIdleEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html#wxidleeventmorerequested">external documentation</a>.
+moreRequested(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxIdleEvent),
+ wxe_util:call(?wxIdleEvent_MoreRequested,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Mode::WxIdleMode) -> ok
+%% WxIdleMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxidleevent.html#wxidleeventsetmode">external documentation</a>.
+%%<br /> WxIdleMode is one of ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED
+setMode(Mode)
+ when is_integer(Mode) ->
+ wxe_util:cast(?wxIdleEvent_SetMode,
+ <<Mode:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl
new file mode 100644
index 0000000000..f90ae09707
--- /dev/null
+++ b/lib/wx/src/gen/wxImage.erl
@@ -0,0 +1,905 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html">wxImage</a>.
+%%
+%% All (default) image handlers are initialized.
+
+%%
+%% @type wxImage(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxImage).
+-include("wxe.hrl").
+-export(['Destroy'/1,blur/2,blurHorizontal/2,blurVertical/2,convertAlphaToMask/1,
+ convertAlphaToMask/2,convertToGreyscale/1,convertToGreyscale/2,convertToMono/4,
+ copy/1,create/3,create/4,create/5,create/6,destroy/1,findFirstUnusedColour/1,
+ findFirstUnusedColour/2,getAlpha/1,getAlpha/3,getBlue/3,getData/1,
+ getGreen/3,getHeight/1,getImageCount/1,getImageCount/2,getImageExtWildcard/0,
+ getMaskBlue/1,getMaskGreen/1,getMaskRed/1,getOption/2,getOptionInt/2,
+ getOrFindMaskColour/1,getPalette/1,getRed/3,getSubImage/2,getWidth/1,
+ hasAlpha/1,hasMask/1,hasOption/2,initAlpha/1,initStandardHandlers/0,
+ isTransparent/3,isTransparent/4,loadFile/2,loadFile/3,loadFile/4,mirror/1,
+ mirror/2,new/0,new/1,new/2,new/3,new/4,new/5,ok/1,removeHandler/1,replace/7,
+ rescale/3,rescale/4,resize/3,resize/4,rotate/3,rotate/4,rotate90/1,rotate90/2,
+ rotateHue/2,saveFile/2,saveFile/3,scale/3,scale/4,setAlpha/2,setAlpha/3,
+ setAlpha/4,setData/2,setData/3,setData/4,setData/5,setMask/1,setMask/2,
+ setMaskColour/4,setMaskFromImage/5,setOption/3,setPalette/2,setRGB/5,
+ setRGB/6,size/3,size/4]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxImage_new_0,
+ <<>>).
+
+%% @spec (Name::string()) -> wxImage()
+%% @equiv new(Name, [])
+new(Name)
+ when is_list(Name) ->
+ new(Name, []).
+
+%% @spec (X::integer()|string(),X::integer()|term()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Width::integer(), Height::integer()) -> new(Width,Height, []) </c></p>
+%% <p><c>
+%% new(Name::string(), [Option]) -> wxImage() </c>
+%%<br /> Option = {type, integer()} | {index, integer()}
+%% </p>
+
+new(Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ new(Width,Height, []);
+new(Name, Options)
+ when is_list(Name),is_list(Options) ->
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ ({index, Index}, Acc) -> [<<2:32/?UI,Index:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImage_new_2,
+ <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (X::integer()|string(),X::integer()|string(),X::binary()|term()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Width::integer(), Height::integer(), Data::binary()) -> new(Width,Height,Data, []) </c></p>
+%% <p><c>
+%% new(Width::integer(), Height::integer(), [Option]) -> wxImage() </c>
+%%<br /> Option = {clear, bool()}
+%% </p>
+%% <p><c>
+%% new(Name::string(), Mimetype::string(), [Option]) -> wxImage() </c>
+%%<br /> Option = {index, integer()}
+%% </p>
+
+new(Width,Height,Data)
+ when is_integer(Width),is_integer(Height),is_binary(Data) ->
+ new(Width,Height,Data, []);
+new(Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ MOpts = fun({clear, Clear}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Clear)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImage_new_3_0,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>);
+new(Name,Mimetype, Options)
+ when is_list(Name),is_list(Mimetype),is_list(Options) ->
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ Mimetype_UC = unicode:characters_to_binary([Mimetype,0]),
+ MOpts = fun({index, Index}, Acc) -> [<<1:32/?UI,Index:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImage_new_3_1,
+ <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Mimetype_UC)):32/?UI,(Mimetype_UC)/binary, 0:(((8- ((4+byte_size(Mimetype_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (Width::integer(),Height::integer(),Data::binary(),X::binary()|term()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> new(Width,Height,Data,Alpha, []) </c></p>
+%% <p><c>
+%% new(Width::integer(), Height::integer(), Data::binary(), [Option]) -> wxImage() </c>
+%%<br /> Option = {static_data, bool()}
+%% </p>
+
+new(Width,Height,Data,Alpha)
+ when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha) ->
+ new(Width,Height,Data,Alpha, []);
+new(Width,Height,Data, Options)
+ when is_integer(Width),is_integer(Height),is_binary(Data),is_list(Options) ->
+ wxe_util:send_bin(Data),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImage_new_4,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), [Option]) -> wxImage()
+%% Option = {static_data, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagewximage">external documentation</a>.
+new(Width,Height,Data,Alpha, Options)
+ when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha),is_list(Options) ->
+ wxe_util:send_bin(Data),
+ wxe_util:send_bin(Alpha),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImage_new_5,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Radius::integer()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblur">external documentation</a>.
+blur(#wx_ref{type=ThisT,ref=ThisRef},Radius)
+ when is_integer(Radius) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_Blur,
+ <<ThisRef:32/?UI,Radius:32/?UI>>).
+
+%% @spec (This::wxImage(), Radius::integer()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblurhorizontal">external documentation</a>.
+blurHorizontal(#wx_ref{type=ThisT,ref=ThisRef},Radius)
+ when is_integer(Radius) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_BlurHorizontal,
+ <<ThisRef:32/?UI,Radius:32/?UI>>).
+
+%% @spec (This::wxImage(), Radius::integer()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageblurvertical">external documentation</a>.
+blurVertical(#wx_ref{type=ThisT,ref=ThisRef},Radius)
+ when is_integer(Radius) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_BlurVertical,
+ <<ThisRef:32/?UI,Radius:32/?UI>>).
+
+%% @spec (This::wxImage()) -> bool()
+%% @equiv convertAlphaToMask(This, [])
+convertAlphaToMask(This)
+ when is_record(This, wx_ref) ->
+ convertAlphaToMask(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> bool()
+%% Option = {threshold, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconvertalphatomask">external documentation</a>.
+convertAlphaToMask(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({threshold, Threshold}, Acc) -> [<<1:32/?UI,Threshold:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_ConvertAlphaToMask,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage()) -> wxImage()
+%% @equiv convertToGreyscale(This, [])
+convertToGreyscale(This)
+ when is_record(This, wx_ref) ->
+ convertToGreyscale(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> wxImage()
+%% Option = {lr, float()} | {lg, float()} | {lb, float()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconverttogreyscale">external documentation</a>.
+convertToGreyscale(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({lr, Lr}, Acc) -> [<<1:32/?UI,0:32,Lr:64/?F>>|Acc];
+ ({lg, Lg}, Acc) -> [<<2:32/?UI,0:32,Lg:64/?F>>|Acc];
+ ({lb, Lb}, Acc) -> [<<3:32/?UI,0:32,Lb:64/?F>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_ConvertToGreyscale,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), R::integer(), G::integer(), B::integer()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageconverttomono">external documentation</a>.
+convertToMono(#wx_ref{type=ThisT,ref=ThisRef},R,G,B)
+ when is_integer(R),is_integer(G),is_integer(B) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_ConvertToMono,
+ <<ThisRef:32/?UI,R:32/?UI,G:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxImage()) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecopy">external documentation</a>.
+copy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_Copy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> bool()
+%% @equiv create(This,Width,Height, [])
+create(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ create(This,Width,Height, []).
+
+%% @spec (This::wxImage(),Width::integer(),Height::integer(),X::binary()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary()) -> create(This,Width,Height,Data, []) </c></p>
+%% <p><c>
+%% create(This::wxImage(), Width::integer(), Height::integer(), [Option]) -> bool() </c>
+%%<br /> Option = {clear, bool()}
+%% </p>
+
+create(This,Width,Height,Data)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_binary(Data) ->
+ create(This,Width,Height,Data, []);
+create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({clear, Clear}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Clear)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Create_3,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(),Width::integer(),Height::integer(),Data::binary(),X::binary()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> create(This,Width,Height,Data,Alpha, []) </c></p>
+%% <p><c>
+%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), [Option]) -> bool() </c>
+%%<br /> Option = {static_data, bool()}
+%% </p>
+
+create(This,Width,Height,Data,Alpha)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha) ->
+ create(This,Width,Height,Data,Alpha, []);
+create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,Data, Options)
+ when is_integer(Width),is_integer(Height),is_binary(Data),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:send_bin(Data),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Create_4,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), [Option]) -> bool()
+%% Option = {static_data, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,Data,Alpha, Options)
+ when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:send_bin(Data),
+ wxe_util:send_bin(Alpha),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Create_5,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagedestroy">external documentation</a>.
+'Destroy'(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_Destroy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> {bool(),R::integer(),G::integer(),B::integer()}
+%% @equiv findFirstUnusedColour(This, [])
+findFirstUnusedColour(This)
+ when is_record(This, wx_ref) ->
+ findFirstUnusedColour(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> {bool(),R::integer(),G::integer(),B::integer()}
+%% Option = {startR, integer()} | {startG, integer()} | {startB, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagefindfirstunusedcolour">external documentation</a>.
+findFirstUnusedColour(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({startR, StartR}, Acc) -> [<<1:32/?UI,StartR:32/?UI>>|Acc];
+ ({startG, StartG}, Acc) -> [<<2:32/?UI,StartG:32/?UI>>|Acc];
+ ({startB, StartB}, Acc) -> [<<3:32/?UI,StartB:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_FindFirstUnusedColour,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec () -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetimageextwildcard">external documentation</a>.
+getImageExtWildcard() ->
+ wxe_util:call(?wxImage_GetImageExtWildcard,
+ <<>>).
+
+%% @spec (This::wxImage()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetalpha">external documentation</a>.
+getAlpha(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetAlpha_0,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetalpha">external documentation</a>.
+getAlpha(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetAlpha_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetblue">external documentation</a>.
+getBlue(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetBlue,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxImage()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetdata">external documentation</a>.
+getData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetgreen">external documentation</a>.
+getGreen(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetGreen,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (Name::string()) -> integer()
+%% @equiv getImageCount(Name, [])
+getImageCount(Name)
+ when is_list(Name) ->
+ getImageCount(Name, []).
+
+%% @spec (Name::string(), [Option]) -> integer()
+%% Option = {type, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetimagecount">external documentation</a>.
+getImageCount(Name, Options)
+ when is_list(Name),is_list(Options) ->
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_GetImageCount,
+ <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxImage()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetheight">external documentation</a>.
+getHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskblue">external documentation</a>.
+getMaskBlue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetMaskBlue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskgreen">external documentation</a>.
+getMaskGreen(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetMaskGreen,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetmaskred">external documentation</a>.
+getMaskRed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetMaskRed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> {bool(),R::integer(),G::integer(),B::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetorfindmaskcolour">external documentation</a>.
+getOrFindMaskColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetOrFindMaskColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> wxPalette:wxPalette()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetpalette">external documentation</a>.
+getPalette(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetPalette,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetred">external documentation</a>.
+getRed(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetRed,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxImage(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> wxImage()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetsubimage">external documentation</a>.
+getSubImage(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetSubImage,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxImage()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetwidth">external documentation</a>.
+getWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_GetWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasalpha">external documentation</a>.
+hasAlpha(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_HasAlpha,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasmask">external documentation</a>.
+hasMask(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_HasMask,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImage(), Name::string()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetoption">external documentation</a>.
+getOption(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_GetOption,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage(), Name::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagegetoptionint">external documentation</a>.
+getOptionInt(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_GetOptionInt,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage(), Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagehasoption">external documentation</a>.
+hasOption(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_HasOption,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageinitalpha">external documentation</a>.
+initAlpha(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_InitAlpha,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageinitstandardhandlers">external documentation</a>.
+initStandardHandlers() ->
+ wxe_util:cast(?wxImage_InitStandardHandlers,
+ <<>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer()) -> bool()
+%% @equiv isTransparent(This,X,Y, [])
+isTransparent(This,X,Y)
+ when is_record(This, wx_ref),is_integer(X),is_integer(Y) ->
+ isTransparent(This,X,Y, []).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer(), [Option]) -> bool()
+%% Option = {threshold, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageistransparent">external documentation</a>.
+isTransparent(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options)
+ when is_integer(X),is_integer(Y),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({threshold, Threshold}, Acc) -> [<<1:32/?UI,Threshold:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_IsTransparent,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Name::string()) -> bool()
+%% @equiv loadFile(This,Name, [])
+loadFile(This,Name)
+ when is_record(This, wx_ref),is_list(Name) ->
+ loadFile(This,Name, []).
+
+%% @spec (This::wxImage(), Name::string(), [Option]) -> bool()
+%% Option = {type, integer()} | {index, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageloadfile">external documentation</a>.
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options)
+ when is_list(Name),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({type, Type}, Acc) -> [<<1:32/?UI,Type:32/?UI>>|Acc];
+ ({index, Index}, Acc) -> [<<2:32/?UI,Index:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_LoadFile_2,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Name::string(), Mimetype::string(), [Option]) -> bool()
+%% Option = {index, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageloadfile">external documentation</a>.
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype, Options)
+ when is_list(Name),is_list(Mimetype),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ Mimetype_UC = unicode:characters_to_binary([Mimetype,0]),
+ MOpts = fun({index, Index}, Acc) -> [<<1:32/?UI,Index:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_LoadFile_3,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Mimetype_UC)):32/?UI,(Mimetype_UC)/binary, 0:(((8- ((4+byte_size(Mimetype_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxImage()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageok">external documentation</a>.
+ok(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:call(?wxImage_Ok,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageremovehandler">external documentation</a>.
+removeHandler(Name)
+ when is_list(Name) ->
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_RemoveHandler,
+ <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage()) -> wxImage()
+%% @equiv mirror(This, [])
+mirror(This)
+ when is_record(This, wx_ref) ->
+ mirror(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> wxImage()
+%% Option = {horizontally, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagemirror">external documentation</a>.
+mirror(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({horizontally, Horizontally}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Horizontally)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Mirror,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), R1::integer(), G1::integer(), B1::integer(), R2::integer(), G2::integer(), B2::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagereplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},R1,G1,B1,R2,G2,B2)
+ when is_integer(R1),is_integer(G1),is_integer(B1),is_integer(R2),is_integer(G2),is_integer(B2) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_Replace,
+ <<ThisRef:32/?UI,R1:32/?UI,G1:32/?UI,B1:32/?UI,R2:32/?UI,G2:32/?UI,B2:32/?UI>>).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
+%% @equiv rescale(This,Width,Height, [])
+rescale(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ rescale(This,Width,Height, []).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer(), [Option]) -> wxImage()
+%% Option = {quality, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerescale">external documentation</a>.
+rescale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({quality, Quality}, Acc) -> [<<1:32/?UI,Quality:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Rescale,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Size::{W::integer(),H::integer()}, Pos::{X::integer(),Y::integer()}) -> wxImage()
+%% @equiv resize(This,Size,Pos, [])
+resize(This,Size={SizeW,SizeH},Pos={PosX,PosY})
+ when is_record(This, wx_ref),is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY) ->
+ resize(This,Size,Pos, []).
+
+%% @spec (This::wxImage(), Size::{W::integer(),H::integer()}, Pos::{X::integer(),Y::integer()}, [Option]) -> wxImage()
+%% Option = {r, integer()} | {g, integer()} | {b, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageresize">external documentation</a>.
+resize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options)
+ when is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({r, R}, Acc) -> [<<1:32/?UI,R:32/?UI>>|Acc];
+ ({g, G}, Acc) -> [<<2:32/?UI,G:32/?UI>>|Acc];
+ ({b, B}, Acc) -> [<<3:32/?UI,B:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Resize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI,PosX:32/?UI,PosY:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(),Y::integer()}) -> wxImage()
+%% @equiv rotate(This,Angle,Centre_of_rotation, [])
+rotate(This,Angle,Centre_of_rotation={Centre_of_rotationX,Centre_of_rotationY})
+ when is_record(This, wx_ref),is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY) ->
+ rotate(This,Angle,Centre_of_rotation, []).
+
+%% @spec (This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(),Y::integer()}, [Option]) -> wxImage()
+%% Option = {interpolating, bool()} | {offset_after_rotation, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotate">external documentation</a>.
+rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle,{Centre_of_rotationX,Centre_of_rotationY}, Options)
+ when is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({interpolating, Interpolating}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Interpolating)):32/?UI>>|Acc];
+ ({offset_after_rotation, {Offset_after_rotationX,Offset_after_rotationY}}, Acc) -> [<<2:32/?UI,Offset_after_rotationX:32/?UI,Offset_after_rotationY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Rotate,
+ <<ThisRef:32/?UI,0:32,Angle:64/?F,Centre_of_rotationX:32/?UI,Centre_of_rotationY:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Angle::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotatehue">external documentation</a>.
+rotateHue(#wx_ref{type=ThisT,ref=ThisRef},Angle)
+ when is_float(Angle) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_RotateHue,
+ <<ThisRef:32/?UI,0:32,Angle:64/?F>>).
+
+%% @spec (This::wxImage()) -> wxImage()
+%% @equiv rotate90(This, [])
+rotate90(This)
+ when is_record(This, wx_ref) ->
+ rotate90(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> wxImage()
+%% Option = {clockwise, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagerotate90">external documentation</a>.
+rotate90(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({clockwise, Clockwise}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Clockwise)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Rotate90,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesavefile">external documentation</a>.
+saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_SaveFile_1,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage(),Name::string(),X::integer()|string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesavefile">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% saveFile(This::wxImage(), Name::string(), Type::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% saveFile(This::wxImage(), Name::string(), Mimetype::string()) -> bool() </c>
+%% </p>
+saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type)
+ when is_list(Name),is_integer(Type) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxImage_SaveFile_2_0,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,Type:32/?UI>>);
+saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype)
+ when is_list(Name),is_list(Mimetype) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ Mimetype_UC = unicode:characters_to_binary([Mimetype,0]),
+ wxe_util:call(?wxImage_SaveFile_2_1,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Mimetype_UC)):32/?UI,(Mimetype_UC)/binary, 0:(((8- ((4+byte_size(Mimetype_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> wxImage()
+%% @equiv scale(This,Width,Height, [])
+scale(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ scale(This,Width,Height, []).
+
+%% @spec (This::wxImage(), Width::integer(), Height::integer(), [Option]) -> wxImage()
+%% Option = {quality, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagescale">external documentation</a>.
+scale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({quality, Quality}, Acc) -> [<<1:32/?UI,Quality:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Scale,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Size::{W::integer(),H::integer()}, Pos::{X::integer(),Y::integer()}) -> wxImage()
+%% @equiv size(This,Size,Pos, [])
+size(This,Size={SizeW,SizeH},Pos={PosX,PosY})
+ when is_record(This, wx_ref),is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY) ->
+ size(This,Size,Pos, []).
+
+%% @spec (This::wxImage(), Size::{W::integer(),H::integer()}, Pos::{X::integer(),Y::integer()}, [Option]) -> wxImage()
+%% Option = {r, integer()} | {g, integer()} | {b, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesize">external documentation</a>.
+size(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options)
+ when is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({r, R}, Acc) -> [<<1:32/?UI,R:32/?UI>>|Acc];
+ ({g, G}, Acc) -> [<<2:32/?UI,G:32/?UI>>|Acc];
+ ({b, B}, Acc) -> [<<3:32/?UI,B:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImage_Size,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI,PosX:32/?UI,PosY:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Alpha::binary()) -> ok
+%% @equiv setAlpha(This,Alpha, [])
+setAlpha(This,Alpha)
+ when is_record(This, wx_ref),is_binary(Alpha) ->
+ setAlpha(This,Alpha, []).
+
+%% @spec (This::wxImage(), Alpha::binary(), [Option]) -> ok
+%% Option = {static_data, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetalpha">external documentation</a>.
+setAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha, Options)
+ when is_binary(Alpha),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:send_bin(Alpha),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxImage_SetAlpha_2,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer(), Alpha::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetalpha">external documentation</a>.
+setAlpha(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Alpha)
+ when is_integer(X),is_integer(Y),is_integer(Alpha) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_SetAlpha_3,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,Alpha:32/?UI>>).
+
+%% @spec (This::wxImage(), Data::binary()) -> ok
+%% @equiv setData(This,Data, [])
+setData(This,Data)
+ when is_record(This, wx_ref),is_binary(Data) ->
+ setData(This,Data, []).
+
+%% @spec (This::wxImage(), Data::binary(), [Option]) -> ok
+%% Option = {static_data, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetdata">external documentation</a>.
+setData(#wx_ref{type=ThisT,ref=ThisRef},Data, Options)
+ when is_binary(Data),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:send_bin(Data),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxImage_SetData_2,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), Data::binary(), New_width::integer(), New_height::integer()) -> ok
+%% @equiv setData(This,Data,New_width,New_height, [])
+setData(This,Data,New_width,New_height)
+ when is_record(This, wx_ref),is_binary(Data),is_integer(New_width),is_integer(New_height) ->
+ setData(This,Data,New_width,New_height, []).
+
+%% @spec (This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(), [Option]) -> ok
+%% Option = {static_data, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetdata">external documentation</a>.
+setData(#wx_ref{type=ThisT,ref=ThisRef},Data,New_width,New_height, Options)
+ when is_binary(Data),is_integer(New_width),is_integer(New_height),is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:send_bin(Data),
+ MOpts = fun({static_data, Static_data}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Static_data)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxImage_SetData_4,
+ <<ThisRef:32/?UI,New_width:32/?UI,New_height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage()) -> ok
+%% @equiv setMask(This, [])
+setMask(This)
+ when is_record(This, wx_ref) ->
+ setMask(This, []).
+
+%% @spec (This::wxImage(), [Option]) -> ok
+%% Option = {mask, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmask">external documentation</a>.
+setMask(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxImage),
+ MOpts = fun({mask, Mask}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Mask)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxImage_SetMask,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImage(), R::integer(), G::integer(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmaskcolour">external documentation</a>.
+setMaskColour(#wx_ref{type=ThisT,ref=ThisRef},R,G,B)
+ when is_integer(R),is_integer(G),is_integer(B) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_SetMaskColour,
+ <<ThisRef:32/?UI,R:32/?UI,G:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxImage(), Mask::wxImage(), Mr::integer(), Mg::integer(), Mb::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetmaskfromimage">external documentation</a>.
+setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef},Mr,Mg,Mb)
+ when is_integer(Mr),is_integer(Mg),is_integer(Mb) ->
+ ?CLASS(ThisT,wxImage),
+ ?CLASS(MaskT,wxImage),
+ wxe_util:call(?wxImage_SetMaskFromImage,
+ <<ThisRef:32/?UI,MaskRef:32/?UI,Mr:32/?UI,Mg:32/?UI,Mb:32/?UI>>).
+
+%% @spec (This::wxImage(),Name::string(),X::integer()|string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetoption">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setOption(This::wxImage(), Name::string(), Value::integer()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setOption(This::wxImage(), Name::string(), Value::string()) -> ok </c>
+%% </p>
+setOption(#wx_ref{type=ThisT,ref=ThisRef},Name,Value)
+ when is_list(Name),is_integer(Value) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:cast(?wxImage_SetOption_2_0,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,Value:32/?UI>>);
+setOption(#wx_ref{type=ThisT,ref=ThisRef},Name,Value)
+ when is_list(Name),is_list(Value) ->
+ ?CLASS(ThisT,wxImage),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxImage_SetOption_2_1,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((4+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxImage(), Palette::wxPalette:wxPalette()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetpalette">external documentation</a>.
+setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) ->
+ ?CLASS(ThisT,wxImage),
+ ?CLASS(PaletteT,wxPalette),
+ wxe_util:cast(?wxImage_SetPalette,
+ <<ThisRef:32/?UI,PaletteRef:32/?UI>>).
+
+%% @spec (This::wxImage(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, R::integer(), G::integer(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetrgb">external documentation</a>.
+setRGB(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},R,G,B)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_integer(R),is_integer(G),is_integer(B) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_SetRGB_4,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,R:32/?UI,G:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxImage(), X::integer(), Y::integer(), R::integer(), G::integer(), B::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximagesetrgb">external documentation</a>.
+setRGB(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,G,B)
+ when is_integer(X),is_integer(Y),is_integer(R),is_integer(G),is_integer(B) ->
+ ?CLASS(ThisT,wxImage),
+ wxe_util:cast(?wxImage_SetRGB_5,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,R:32/?UI,G:32/?UI,B:32/?UI>>).
+
+%% @spec (This::wxImage()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxImage),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxImageList.erl b/lib/wx/src/gen/wxImageList.erl
new file mode 100644
index 0000000000..b20dfda315
--- /dev/null
+++ b/lib/wx/src/gen/wxImageList.erl
@@ -0,0 +1,200 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html">wxImageList</a>.
+%% @type wxImageList(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxImageList).
+-include("wxe.hrl").
+-export([add/2,add/3,create/3,create/4,destroy/1,draw/5,draw/6,getBitmap/2,getIcon/2,
+ getImageCount/1,getSize/2,new/0,new/2,new/3,remove/2,removeAll/1,replace/3,
+ replace/4]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistwximagelist">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxImageList_new_0,
+ <<>>).
+
+%% @spec (Width::integer(), Height::integer()) -> wxImageList()
+%% @equiv new(Width,Height, [])
+new(Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ new(Width,Height, []).
+
+%% @spec (Width::integer(), Height::integer(), [Option]) -> wxImageList()
+%% Option = {mask, bool()} | {initialCount, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistwximagelist">external documentation</a>.
+new(Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ MOpts = fun({mask, Mask}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Mask)):32/?UI>>|Acc];
+ ({initialCount, InitialCount}, Acc) -> [<<2:32/?UI,InitialCount:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxImageList_new_3,
+ <<Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxImageList(), Bitmap::wxBitmap:wxBitmap()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistadd">external documentation</a>.
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxImageList_Add_1,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxImageList(),Bitmap::wxBitmap:wxBitmap(),X::term()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistadd">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> integer() </c>
+%% </p>
+%% <p><c>
+%% add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:colour()) -> integer() </c>
+%% </p>
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=MaskT,ref=MaskRef}) ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(MaskT,wxBitmap),
+ wxe_util:call(?wxImageList_Add_2_0,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI,MaskRef:32/?UI>>);
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},MaskColour)
+ when tuple_size(MaskColour) =:= 3; tuple_size(MaskColour) =:= 4 ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxImageList_Add_2_1,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI,(wxe_util:colour_bin(MaskColour)):16/binary>>).
+
+%% @spec (This::wxImageList(), Width::integer(), Height::integer()) -> bool()
+%% @equiv create(This,Width,Height, [])
+create(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ create(This,Width,Height, []).
+
+%% @spec (This::wxImageList(), Width::integer(), Height::integer(), [Option]) -> bool()
+%% Option = {mask, bool()} | {initialCount, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxImageList),
+ MOpts = fun({mask, Mask}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Mask)):32/?UI>>|Acc];
+ ({initialCount, InitialCount}, Acc) -> [<<2:32/?UI,InitialCount:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImageList_Create,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer()) -> bool()
+%% @equiv draw(This,Index,Dc,X,Y, [])
+draw(This,Index,Dc,X,Y)
+ when is_record(This, wx_ref),is_integer(Index),is_record(Dc, wx_ref),is_integer(X),is_integer(Y) ->
+ draw(This,Index,Dc,X,Y, []).
+
+%% @spec (This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer(), [Option]) -> bool()
+%% Option = {flags, integer()} | {solidBackground, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistdraw">external documentation</a>.
+draw(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=DcT,ref=DcRef},X,Y, Options)
+ when is_integer(Index),is_integer(X),is_integer(Y),is_list(Options) ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(DcT,wxDC),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ ({solidBackground, SolidBackground}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(SolidBackground)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxImageList_Draw,
+ <<ThisRef:32/?UI,Index:32/?UI,DcRef:32/?UI,X:32/?UI,Y:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxImageList(), Index::integer()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetbitmap">external documentation</a>.
+getBitmap(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_GetBitmap,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxImageList(), Index::integer()) -> wxIcon:wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgeticon">external documentation</a>.
+getIcon(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_GetIcon,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxImageList()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetimagecount">external documentation</a>.
+getImageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_GetImageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImageList(), Index::integer()) -> {bool(),Width::integer(),Height::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_GetSize,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxImageList(), Index::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistremove">external documentation</a>.
+remove(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_Remove,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxImageList()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistremoveall">external documentation</a>.
+removeAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxImageList),
+ wxe_util:call(?wxImageList_RemoveAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef})
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxImageList_Replace_2,
+ <<ThisRef:32/?UI,Index:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=MaskT,ref=MaskRef})
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxImageList),
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(MaskT,wxBitmap),
+ wxe_util:call(?wxImageList_Replace_3,
+ <<ThisRef:32/?UI,Index:32/?UI,BitmapRef:32/?UI,MaskRef:32/?UI>>).
+
+%% @spec (This::wxImageList()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxImageList),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxJoystickEvent.erl b/lib/wx/src/gen/wxJoystickEvent.erl
new file mode 100644
index 0000000000..b07cbd6d9a
--- /dev/null
+++ b/lib/wx/src/gen/wxJoystickEvent.erl
@@ -0,0 +1,174 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html">wxJoystickEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>joy_button_down</em>, <em>joy_button_up</em>, <em>joy_move</em>, <em>joy_zmove</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxJoystick(). #wxJoystick{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxJoystickEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxJoystickEvent).
+-include("wxe.hrl").
+-export([buttonDown/1,buttonDown/2,buttonIsDown/1,buttonIsDown/2,buttonUp/1,
+ buttonUp/2,getButtonChange/1,getButtonState/1,getJoystick/1,getPosition/1,
+ getZPosition/1,isButton/1,isMove/1,isZMove/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @equiv buttonDown(This, [])
+buttonDown(This)
+ when is_record(This, wx_ref) ->
+ buttonDown(This, []).
+
+%% @spec (This::wxJoystickEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventbuttondown">external documentation</a>.
+buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxJoystickEvent_ButtonDown,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @equiv buttonIsDown(This, [])
+buttonIsDown(This)
+ when is_record(This, wx_ref) ->
+ buttonIsDown(This, []).
+
+%% @spec (This::wxJoystickEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventbuttonisdown">external documentation</a>.
+buttonIsDown(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxJoystickEvent_ButtonIsDown,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @equiv buttonUp(This, [])
+buttonUp(This)
+ when is_record(This, wx_ref) ->
+ buttonUp(This, []).
+
+%% @spec (This::wxJoystickEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventbuttonup">external documentation</a>.
+buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxJoystickEvent_ButtonUp,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxJoystickEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventgetbuttonchange">external documentation</a>.
+getButtonChange(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_GetButtonChange,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventgetbuttonstate">external documentation</a>.
+getButtonState(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_GetButtonState,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventgetjoystick">external documentation</a>.
+getJoystick(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_GetJoystick,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventgetzposition">external documentation</a>.
+getZPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_GetZPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventisbutton">external documentation</a>.
+isButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_IsButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventismove">external documentation</a>.
+isMove(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_IsMove,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxJoystickEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxjoystickevent.html#wxjoystickeventiszmove">external documentation</a>.
+isZMove(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxJoystickEvent),
+ wxe_util:call(?wxJoystickEvent_IsZMove,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxKeyEvent.erl b/lib/wx/src/gen/wxKeyEvent.erl
new file mode 100644
index 0000000000..0e92402435
--- /dev/null
+++ b/lib/wx/src/gen/wxKeyEvent.erl
@@ -0,0 +1,162 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html">wxKeyEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>char</em>, <em>char_hook</em>, <em>key_down</em>, <em>key_up</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxKey(). #wxKey{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxKeyEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxKeyEvent).
+-include("wxe.hrl").
+-export([altDown/1,cmdDown/1,controlDown/1,getKeyCode/1,getModifiers/1,getPosition/1,
+ getRawKeyCode/1,getRawKeyFlags/1,getUnicodeKey/1,getX/1,getY/1,hasModifiers/1,
+ metaDown/1,shiftDown/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventaltdown">external documentation</a>.
+altDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_AltDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventcmddown">external documentation</a>.
+cmdDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_CmdDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventcontroldown">external documentation</a>.
+controlDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_ControlDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetkeycode">external documentation</a>.
+getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetKeyCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetmodifiers">external documentation</a>.
+getModifiers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetModifiers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetrawkeycode">external documentation</a>.
+getRawKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetRawKeyCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetrawkeyflags">external documentation</a>.
+getRawKeyFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetRawKeyFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetunicodekey">external documentation</a>.
+getUnicodeKey(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetUnicodeKey,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgetx">external documentation</a>.
+getX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventgety">external documentation</a>.
+getY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_GetY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventhasmodifiers">external documentation</a>.
+hasModifiers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_HasModifiers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventmetadown">external documentation</a>.
+metaDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_MetaDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxkeyevent.html#wxkeyeventshiftdown">external documentation</a>.
+shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxKeyEvent),
+ wxe_util:call(?wxKeyEvent_ShiftDown,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxLayoutAlgorithm.erl b/lib/wx/src/gen/wxLayoutAlgorithm.erl
new file mode 100644
index 0000000000..8ea920d80b
--- /dev/null
+++ b/lib/wx/src/gen/wxLayoutAlgorithm.erl
@@ -0,0 +1,104 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlayoutalgorithm.html">wxLayoutAlgorithm</a>.
+%% @type wxLayoutAlgorithm(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxLayoutAlgorithm).
+-include("wxe.hrl").
+-export([destroy/1,layoutFrame/2,layoutFrame/3,layoutMDIFrame/2,layoutMDIFrame/3,
+ layoutWindow/2,layoutWindow/3,new/0]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxLayoutAlgorithm()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlayoutalgorithm.html#wxlayoutalgorithmwxlayoutalgorithm">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxLayoutAlgorithm_new,
+ <<>>).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame()) -> bool()
+%% @equiv layoutFrame(This,Frame, [])
+layoutFrame(This,Frame)
+ when is_record(This, wx_ref),is_record(Frame, wx_ref) ->
+ layoutFrame(This,Frame, []).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame(), [Option]) -> bool()
+%% Option = {mainWindow, wxWindow:wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlayoutalgorithm.html#wxlayoutalgorithmlayoutframe">external documentation</a>.
+layoutFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxLayoutAlgorithm),
+ ?CLASS(FrameT,wxFrame),
+ MOpts = fun({mainWindow, #wx_ref{type=MainWindowT,ref=MainWindowRef}}, Acc) -> ?CLASS(MainWindowT,wxWindow),[<<1:32/?UI,MainWindowRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxLayoutAlgorithm_LayoutFrame,
+ <<ThisRef:32/?UI,FrameRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame()) -> bool()
+%% @equiv layoutMDIFrame(This,Frame, [])
+layoutMDIFrame(This,Frame)
+ when is_record(This, wx_ref),is_record(Frame, wx_ref) ->
+ layoutMDIFrame(This,Frame, []).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> bool()
+%% Option = {rect, {X::integer(),Y::integer(),W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlayoutalgorithm.html#wxlayoutalgorithmlayoutmdiframe">external documentation</a>.
+layoutMDIFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxLayoutAlgorithm),
+ ?CLASS(FrameT,wxMDIParentFrame),
+ MOpts = fun({rect, {RectX,RectY,RectW,RectH}}, Acc) -> [<<1:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxLayoutAlgorithm_LayoutMDIFrame,
+ <<ThisRef:32/?UI,FrameRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow()) -> bool()
+%% @equiv layoutWindow(This,Frame, [])
+layoutWindow(This,Frame)
+ when is_record(This, wx_ref),is_record(Frame, wx_ref) ->
+ layoutWindow(This,Frame, []).
+
+%% @spec (This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {mainWindow, wxWindow:wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlayoutalgorithm.html#wxlayoutalgorithmlayoutwindow">external documentation</a>.
+layoutWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxLayoutAlgorithm),
+ ?CLASS(FrameT,wxWindow),
+ MOpts = fun({mainWindow, #wx_ref{type=MainWindowT,ref=MainWindowRef}}, Acc) -> ?CLASS(MainWindowT,wxWindow),[<<1:32/?UI,MainWindowRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxLayoutAlgorithm_LayoutWindow,
+ <<ThisRef:32/?UI,FrameRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxLayoutAlgorithm()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxLayoutAlgorithm),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxListBox.erl b/lib/wx/src/gen/wxListBox.erl
new file mode 100644
index 0000000000..5fd9f329d0
--- /dev/null
+++ b/lib/wx/src/gen/wxListBox.erl
@@ -0,0 +1,615 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html">wxListBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControlWithItems}
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxListBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListBox).
+-include("wxe.hrl").
+-export([create/6,create/7,deselect/2,destroy/1,getSelections/1,hitTest/2,insertItems/3,
+ isSelected/2,new/0,new/2,new/3,set/2,setFirstItem/2]).
+
+%% inherited exports
+-export([append/2,append/3,appendStrings/2,cacheBestSize/2,captureMouse/1,center/1,
+ center/2,centerOnParent/1,centerOnParent/2,centre/1,centre/2,centreOnParent/1,
+ centreOnParent/2,clear/1,clearBackground/1,clientToScreen/2,clientToScreen/3,
+ close/1,close/2,connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ delete/2,destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findString/2,findString/3,findWindow/2,fit/1,fitInside/1,
+ freeze/1,getAcceleratorTable/1,getBackgroundColour/1,getBackgroundStyle/1,
+ getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,
+ getClientData/2,getClientSize/1,getContainingSizer/1,getCount/1,getCursor/1,
+ getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSelection/1,getSize/1,getSizer/1,getString/2,getStringSelection/1,
+ getTextExtent/2,getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,
+ getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,hasScrollbar/2,
+ hasTransparentBackground/1,hide/1,inheritAttributes/1,initDialog/1,
+ insert/3,insert/4,invalidateBestSize/1,isEmpty/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,
+ moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ select/2,setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientData/3,setClientSize/2,setClientSize/3,
+ setContainingSizer/2,setCursor/2,setDropTarget/2,setExtraStyle/2,
+ setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,setHelpText/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setScrollPos/3,
+ setScrollPos/4,setScrollbar/5,setScrollbar/6,setSelection/2,setSize/2,
+ setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
+ setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setString/3,
+ setStringSelection/2,setThemeEnabled/2,setToolTip/2,setVirtualSize/2,
+ setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControlWithItems) -> true;
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxListBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxwxlistbox">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxListBox_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxListBox()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxListBox()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxwxlistbox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({choices, Choices}, Acc) -> Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) || ChoicesTemp <- Choices],[<<3:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxListBox_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]]) -> bool()
+%% @equiv create(This,Parent,Id,Pos,Size,Choices, [])
+create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) ->
+ create(This,Parent,Id,Pos,Size,Choices, []).
+
+%% @spec (This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]], [Option]) -> bool()
+%% Option = {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options)
+ when is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) ->
+ ?CLASS(ThisT,wxListBox),
+ ?CLASS(ParentT,wxWindow),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<2:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListBox_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxListBox(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxdeselect">external documentation</a>.
+deselect(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListBox),
+ wxe_util:cast(?wxListBox_Deselect,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListBox()) -> {integer(),ASelections::[integer()]}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxgetselections">external documentation</a>.
+getSelections(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListBox),
+ wxe_util:call(?wxListBox_GetSelections,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListBox(), Items::[[string()]], Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxinsertitems">external documentation</a>.
+insertItems(#wx_ref{type=ThisT,ref=ThisRef},Items,Pos)
+ when is_list(Items),is_integer(Pos) ->
+ ?CLASS(ThisT,wxListBox),
+ Items_UCA = [unicode:characters_to_binary([ItemsTemp,0]) ||
+ ItemsTemp <- Items],
+ wxe_util:cast(?wxListBox_InsertItems,
+ <<ThisRef:32/?UI,(length(Items_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Items_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Items_UCA])) band 16#7)) band 16#7))/unit:8,Pos:32/?UI>>).
+
+%% @spec (This::wxListBox(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxisselected">external documentation</a>.
+isSelected(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListBox),
+ wxe_util:call(?wxListBox_IsSelected,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListBox(), Items::[[string()]]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxset">external documentation</a>.
+set(#wx_ref{type=ThisT,ref=ThisRef},Items)
+ when is_list(Items) ->
+ ?CLASS(ThisT,wxListBox),
+ Items_UCA = [unicode:characters_to_binary([ItemsTemp,0]) ||
+ ItemsTemp <- Items],
+ wxe_util:cast(?wxListBox_Set,
+ <<ThisRef:32/?UI,(length(Items_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Items_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Items_UCA])) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListBox(), Point::{X::integer(),Y::integer()}) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY})
+ when is_integer(PointX),is_integer(PointY) ->
+ ?CLASS(ThisT,wxListBox),
+ wxe_util:call(?wxListBox_HitTest,
+ <<ThisRef:32/?UI,PointX:32/?UI,PointY:32/?UI>>).
+
+%% @spec (This::wxListBox(),X::integer()|string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbox.html#wxlistboxsetfirstitem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setFirstItem(This::wxListBox(), N::integer()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setFirstItem(This::wxListBox(), S::string()) -> ok </c>
+%% </p>
+setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListBox),
+ wxe_util:cast(?wxListBox_SetFirstItem_1_0,
+ <<ThisRef:32/?UI,N:32/?UI>>);
+setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_list(S) ->
+ ?CLASS(ThisT,wxListBox),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxListBox_SetFirstItem_1_1,
+ <<ThisRef:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxListBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControlWithItems
+%% @hidden
+setStringSelection(This,S) -> wxControlWithItems:setStringSelection(This,S).
+%% @hidden
+setString(This,N,S) -> wxControlWithItems:setString(This,N,S).
+%% @hidden
+setSelection(This,N) -> wxControlWithItems:setSelection(This,N).
+%% @hidden
+select(This,N) -> wxControlWithItems:select(This,N).
+%% @hidden
+isEmpty(This) -> wxControlWithItems:isEmpty(This).
+%% @hidden
+insert(This,Item,Pos,ClientData) -> wxControlWithItems:insert(This,Item,Pos,ClientData).
+%% @hidden
+insert(This,Item,Pos) -> wxControlWithItems:insert(This,Item,Pos).
+%% @hidden
+getStringSelection(This) -> wxControlWithItems:getStringSelection(This).
+%% @hidden
+getString(This,N) -> wxControlWithItems:getString(This,N).
+%% @hidden
+getSelection(This) -> wxControlWithItems:getSelection(This).
+%% @hidden
+getCount(This) -> wxControlWithItems:getCount(This).
+%% @hidden
+setClientData(This,N,ClientData) -> wxControlWithItems:setClientData(This,N,ClientData).
+%% @hidden
+getClientData(This,N) -> wxControlWithItems:getClientData(This,N).
+%% @hidden
+findString(This,S, Options) -> wxControlWithItems:findString(This,S, Options).
+%% @hidden
+findString(This,S) -> wxControlWithItems:findString(This,S).
+%% @hidden
+delete(This,N) -> wxControlWithItems:delete(This,N).
+%% @hidden
+clear(This) -> wxControlWithItems:clear(This).
+%% @hidden
+appendStrings(This,Strings) -> wxControlWithItems:appendStrings(This,Strings).
+%% @hidden
+append(This,Item,ClientData) -> wxControlWithItems:append(This,Item,ClientData).
+%% @hidden
+append(This,Item) -> wxControlWithItems:append(This,Item).
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl
new file mode 100644
index 0000000000..980415f577
--- /dev/null
+++ b/lib/wx/src/gen/wxListCtrl.erl
@@ -0,0 +1,1100 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html">wxListCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxListCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListCtrl).
+-include("wxe.hrl").
+-export([ sortItems/2 ,arrange/1,arrange/2,assignImageList/3,clearAll/1,create/2,
+ create/3,deleteAllItems/1,deleteColumn/2,deleteItem/2,destroy/1,editLabel/2,
+ ensureVisible/2,findItem/3,findItem/4,getColumn/3,getColumnCount/1,
+ getColumnWidth/2,getCountPerPage/1,getImageList/2,getItem/2,getItemBackgroundColour/2,
+ getItemCount/1,getItemData/2,getItemFont/2,getItemPosition/3,getItemRect/3,
+ getItemRect/4,getItemSpacing/1,getItemState/3,getItemText/2,getItemTextColour/2,
+ getNextItem/2,getNextItem/3,getSelectedItemCount/1,getTextColour/1,
+ getTopItem/1,getViewRect/1,hitTest/2,insertColumn/3,insertColumn/4,
+ insertItem/2,insertItem/3,insertItem/4,new/0,new/1,new/2,refreshItem/2,
+ refreshItems/3,scrollList/3,setBackgroundColour/2,setColumn/3,setColumnWidth/3,
+ setImageList/3,setItem/2,setItem/4,setItem/5,setItemBackgroundColour/3,
+ setItemColumnImage/4,setItemCount/2,setItemData/3,setItemFont/3,setItemImage/3,
+ setItemImage/4,setItemPosition/3,setItemState/4,setItemText/3,setItemTextColour/3,
+ setSingleStyle/2,setSingleStyle/3,setTextColour/2,setWindowStyleFlag/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowVariant/2,shouldInheritColours/1,show/1,
+ show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,
+ updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxListCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxListCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxListCtrl()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxListCtrl()
+%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxListCtrl_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl()) -> bool()
+%% @equiv arrange(This, [])
+arrange(This)
+ when is_record(This, wx_ref) ->
+ arrange(This, []).
+
+%% @spec (This::wxListCtrl(), [Option]) -> bool()
+%% Option = {flag, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlarrange">external documentation</a>.
+arrange(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ MOpts = fun({flag, Flag}, Acc) -> [<<1:32/?UI,Flag:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_Arrange,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef},Which)
+ when is_integer(Which) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxListCtrl_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI,Which:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlclearall">external documentation</a>.
+clearAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_ClearAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrldeleteallitems">external documentation</a>.
+deleteAllItems(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_DeleteAllItems,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Col::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrldeletecolumn">external documentation</a>.
+deleteColumn(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_DeleteColumn,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrldeleteitem">external documentation</a>.
+deleteItem(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_DeleteItem,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> wxTextCtrl:wxTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrleditlabel">external documentation</a>.
+editLabel(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_EditLabel,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlensurevisible">external documentation</a>.
+ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_EnsureVisible,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Start::integer(), Str::string()) -> integer()
+%% @equiv findItem(This,Start,Str, [])
+findItem(This,Start,Str)
+ when is_record(This, wx_ref),is_integer(Start),is_list(Str) ->
+ findItem(This,Start,Str, []).
+
+%% @spec (This::wxListCtrl(),Start::integer(),X::string()|term(),X::term()|integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlfinditem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% findItem(This::wxListCtrl(), Start::integer(), Str::string(), [Option]) -> integer() </c>
+%%<br /> Option = {partial, bool()}
+%% </p>
+%% <p><c>
+%% findItem(This::wxListCtrl(), Start::integer(), Pt::{X::integer(),Y::integer()}, Direction::integer()) -> integer() </c>
+%% </p>
+findItem(#wx_ref{type=ThisT,ref=ThisRef},Start,Str, Options)
+ when is_integer(Start),is_list(Str),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ MOpts = fun({partial, Partial}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Partial)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_FindItem_3_0,
+ <<ThisRef:32/?UI,Start:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((4+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>);
+findItem(#wx_ref{type=ThisT,ref=ThisRef},Start,{PtX,PtY},Direction)
+ when is_integer(Start),is_integer(PtX),is_integer(PtY),is_integer(Direction) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_FindItem_3_1,
+ <<ThisRef:32/?UI,Start:32/?UI,PtX:32/?UI,PtY:32/?UI,Direction:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetcolumn">external documentation</a>.
+getColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef})
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(ItemT,wxListItem),
+ wxe_util:call(?wxListCtrl_GetColumn,
+ <<ThisRef:32/?UI,Col:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetcolumncount">external documentation</a>.
+getColumnCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetColumnCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Col::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetcolumnwidth">external documentation</a>.
+getColumnWidth(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetColumnWidth,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetcountperpage">external documentation</a>.
+getCountPerPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetCountPerPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Which::integer()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef},Which)
+ when is_integer(Which) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetImageList,
+ <<ThisRef:32/?UI,Which:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitem">external documentation</a>.
+getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(InfoT,wxListItem),
+ wxe_util:call(?wxListCtrl_GetItem,
+ <<ThisRef:32/?UI,InfoRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitembackgroundcolour">external documentation</a>.
+getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemBackgroundColour,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemcount">external documentation</a>.
+getItemCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemdata">external documentation</a>.
+getItemData(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemData,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemfont">external documentation</a>.
+getItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemFont,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Pos::{X::integer(),Y::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemposition">external documentation</a>.
+getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Item,{PosX,PosY})
+ when is_integer(Item),is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemPosition,
+ <<ThisRef:32/?UI,Item:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool()
+%% @equiv getItemRect(This,Item,Rect, [])
+getItemRect(This,Item,Rect={RectX,RectY,RectW,RectH})
+ when is_record(This, wx_ref),is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ getItemRect(This,Item,Rect, []).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, [Option]) -> bool()
+%% Option = {code, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemrect">external documentation</a>.
+getItemRect(#wx_ref{type=ThisT,ref=ThisRef},Item,{RectX,RectY,RectW,RectH}, Options)
+ when is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ MOpts = fun({code, Code}, Acc) -> [<<1:32/?UI,Code:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_GetItemRect,
+ <<ThisRef:32/?UI,Item:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemspacing">external documentation</a>.
+getItemSpacing(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemSpacing,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), StateMask::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemstate">external documentation</a>.
+getItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,StateMask)
+ when is_integer(Item),is_integer(StateMask) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemState,
+ <<ThisRef:32/?UI,Item:32/?UI,StateMask:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemtext">external documentation</a>.
+getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemText,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetitemtextcolour">external documentation</a>.
+getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetItemTextColour,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> integer()
+%% @equiv getNextItem(This,Item, [])
+getNextItem(This,Item)
+ when is_record(This, wx_ref),is_integer(Item) ->
+ getNextItem(This,Item, []).
+
+%% @spec (This::wxListCtrl(), Item::integer(), [Option]) -> integer()
+%% Option = {geometry, integer()} | {state, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetnextitem">external documentation</a>.
+getNextItem(#wx_ref{type=ThisT,ref=ThisRef},Item, Options)
+ when is_integer(Item),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ MOpts = fun({geometry, Geometry}, Acc) -> [<<1:32/?UI,Geometry:32/?UI>>|Acc];
+ ({state, State}, Acc) -> [<<2:32/?UI,State:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_GetNextItem,
+ <<ThisRef:32/?UI,Item:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetselecteditemcount">external documentation</a>.
+getSelectedItemCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetSelectedItemCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgettextcolour">external documentation</a>.
+getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgettopitem">external documentation</a>.
+getTopItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetTopItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlgetviewrect">external documentation</a>.
+getViewRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_GetViewRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Point::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY})
+ when is_integer(PointX),is_integer(PointY) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_HitTest,
+ <<ThisRef:32/?UI,PointX:32/?UI,PointY:32/?UI>>).
+
+%% @spec (This::wxListCtrl(),Col::integer(),X::string()|term()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlinsertcolumn">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insertColumn(This::wxListCtrl(), Col::integer(), Heading::string()) -> insertColumn(This,Col,Heading, []) </c></p>
+%% <p><c>
+%% insertColumn(This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem()) -> integer() </c>
+%% </p>
+
+insertColumn(This,Col,Heading)
+ when is_record(This, wx_ref),is_integer(Col),is_list(Heading) ->
+ insertColumn(This,Col,Heading, []);
+insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=InfoT,ref=InfoRef})
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(InfoT,wxListItem),
+ wxe_util:call(?wxListCtrl_InsertColumn_2,
+ <<ThisRef:32/?UI,Col:32/?UI,InfoRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Col::integer(), Heading::string(), [Option]) -> integer()
+%% Option = {format, integer()} | {width, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlinsertcolumn">external documentation</a>.
+insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,Heading, Options)
+ when is_integer(Col),is_list(Heading),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Heading_UC = unicode:characters_to_binary([Heading,0]),
+ MOpts = fun({format, Format}, Acc) -> [<<1:32/?UI,Format:32/?UI>>|Acc];
+ ({width, Width}, Acc) -> [<<2:32/?UI,Width:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_InsertColumn_3,
+ <<ThisRef:32/?UI,Col:32/?UI,(byte_size(Heading_UC)):32/?UI,(Heading_UC)/binary, 0:(((8- ((4+byte_size(Heading_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlinsertitem">external documentation</a>.
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(InfoT,wxListItem),
+ wxe_util:call(?wxListCtrl_InsertItem_1,
+ <<ThisRef:32/?UI,InfoRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(),Index::integer(),X::integer()|string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlinsertitem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insertItem(This::wxListCtrl(), Index::integer(), ImageIndex::integer()) -> integer() </c>
+%% </p>
+%% <p><c>
+%% insertItem(This::wxListCtrl(), Index::integer(), Label::string()) -> integer() </c>
+%% </p>
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,ImageIndex)
+ when is_integer(Index),is_integer(ImageIndex) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_InsertItem_2_0,
+ <<ThisRef:32/?UI,Index:32/?UI,ImageIndex:32/?UI>>);
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label)
+ when is_integer(Index),is_list(Label) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:call(?wxListCtrl_InsertItem_2_1,
+ <<ThisRef:32/?UI,Index:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListCtrl(), Index::integer(), Label::string(), ImageIndex::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlinsertitem">external documentation</a>.
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label,ImageIndex)
+ when is_integer(Index),is_list(Label),is_integer(ImageIndex) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:call(?wxListCtrl_InsertItem_3,
+ <<ThisRef:32/?UI,Index:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,ImageIndex:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlrefreshitem">external documentation</a>.
+refreshItem(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_RefreshItem,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), ItemFrom::integer(), ItemTo::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlrefreshitems">external documentation</a>.
+refreshItems(#wx_ref{type=ThisT,ref=ThisRef},ItemFrom,ItemTo)
+ when is_integer(ItemFrom),is_integer(ItemTo) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_RefreshItems,
+ <<ThisRef:32/?UI,ItemFrom:32/?UI,ItemTo:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Dx::integer(), Dy::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlscrolllist">external documentation</a>.
+scrollList(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy)
+ when is_integer(Dx),is_integer(Dy) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_ScrollList,
+ <<ThisRef:32/?UI,Dx:32/?UI,Dy:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Colour::wx:colour()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetcolumn">external documentation</a>.
+setColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef})
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(ItemT,wxListItem),
+ wxe_util:call(?wxListCtrl_SetColumn,
+ <<ThisRef:32/?UI,Col:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Col::integer(), Width::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetcolumnwidth">external documentation</a>.
+setColumnWidth(#wx_ref{type=ThisT,ref=ThisRef},Col,Width)
+ when is_integer(Col),is_integer(Width) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetColumnWidth,
+ <<ThisRef:32/?UI,Col:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef},Which)
+ when is_integer(Which) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxListCtrl_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI,Which:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitem">external documentation</a>.
+setItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(InfoT,wxListItem),
+ wxe_util:call(?wxListCtrl_SetItem_1,
+ <<ThisRef:32/?UI,InfoRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Index::integer(), Col::integer(), Label::string()) -> integer()
+%% @equiv setItem(This,Index,Col,Label, [])
+setItem(This,Index,Col,Label)
+ when is_record(This, wx_ref),is_integer(Index),is_integer(Col),is_list(Label) ->
+ setItem(This,Index,Col,Label, []).
+
+%% @spec (This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(), [Option]) -> integer()
+%% Option = {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitem">external documentation</a>.
+setItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Col,Label, Options)
+ when is_integer(Index),is_integer(Col),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({imageId, ImageId}, Acc) -> [<<1:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_SetItem_4,
+ <<ThisRef:32/?UI,Index:32/?UI,Col:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitembackgroundcolour">external documentation</a>.
+setItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col)
+ when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_SetItemBackgroundColour,
+ <<ThisRef:32/?UI,Item:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxListCtrl(), Count::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemcount">external documentation</a>.
+setItemCount(#wx_ref{type=ThisT,ref=ThisRef},Count)
+ when is_integer(Count) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_SetItemCount,
+ <<ThisRef:32/?UI,Count:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Data::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemdata">external documentation</a>.
+setItemData(#wx_ref{type=ThisT,ref=ThisRef},Item,Data)
+ when is_integer(Item),is_integer(Data) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetItemData,
+ <<ThisRef:32/?UI,Item:32/?UI,Data:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), F::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemfont">external documentation</a>.
+setItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item,#wx_ref{type=FT,ref=FRef})
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListCtrl),
+ ?CLASS(FT,wxFont),
+ wxe_util:cast(?wxListCtrl_SetItemFont,
+ <<ThisRef:32/?UI,Item:32/?UI,FRef:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Image::integer()) -> bool()
+%% @equiv setItemImage(This,Item,Image, [])
+setItemImage(This,Item,Image)
+ when is_record(This, wx_ref),is_integer(Item),is_integer(Image) ->
+ setItemImage(This,Item,Image, []).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Image::integer(), [Option]) -> bool()
+%% Option = {selImage, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemimage">external documentation</a>.
+setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options)
+ when is_integer(Item),is_integer(Image),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ MOpts = fun({selImage, SelImage}, Acc) -> [<<1:32/?UI,SelImage:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListCtrl_SetItemImage,
+ <<ThisRef:32/?UI,Item:32/?UI,Image:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Column::integer(), Image::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemcolumnimage">external documentation</a>.
+setItemColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Column,Image)
+ when is_integer(Item),is_integer(Column),is_integer(Image) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetItemColumnImage,
+ <<ThisRef:32/?UI,Item:32/?UI,Column:32/?UI,Image:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Pos::{X::integer(),Y::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemposition">external documentation</a>.
+setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Item,{PosX,PosY})
+ when is_integer(Item),is_integer(PosX),is_integer(PosY) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetItemPosition,
+ <<ThisRef:32/?UI,Item:32/?UI,PosX:32/?UI,PosY:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), State::integer(), StateMask::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemstate">external documentation</a>.
+setItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,State,StateMask)
+ when is_integer(Item),is_integer(State),is_integer(StateMask) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:call(?wxListCtrl_SetItemState,
+ <<ThisRef:32/?UI,Item:32/?UI,State:32/?UI,StateMask:32/?UI>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemtext">external documentation</a>.
+setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Str)
+ when is_integer(Item),is_list(Str) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxListCtrl_SetItemText,
+ <<ThisRef:32/?UI,Item:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((4+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListCtrl(), Item::integer(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetitemtextcolour">external documentation</a>.
+setItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col)
+ when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_SetItemTextColour,
+ <<ThisRef:32/?UI,Item:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxListCtrl(), Style::integer()) -> ok
+%% @equiv setSingleStyle(This,Style, [])
+setSingleStyle(This,Style)
+ when is_record(This, wx_ref),is_integer(Style) ->
+ setSingleStyle(This,Style, []).
+
+%% @spec (This::wxListCtrl(), Style::integer(), [Option]) -> ok
+%% Option = {add, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetsinglestyle">external documentation</a>.
+setSingleStyle(#wx_ref{type=ThisT,ref=ThisRef},Style, Options)
+ when is_integer(Style),is_list(Options) ->
+ ?CLASS(ThisT,wxListCtrl),
+ MOpts = fun({add, Add}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Add)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxListCtrl_SetSingleStyle,
+ <<ThisRef:32/?UI,Style:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListCtrl(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsettextcolour">external documentation</a>.
+setTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_SetTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxListCtrl(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlsetwindowstyleflag">external documentation</a>.
+setWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxListCtrl),
+ wxe_util:cast(?wxListCtrl_SetWindowStyleFlag,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+
+%% @spec (This::wxListCtrl(), SortCallBack::function()) -> boolean()
+%% @doc Sort the items in the list control<br />
+%% <pre>SortCalBack(Item1,Item2) -> integer()</pre>
+%% <br /> SortCallBack receives the client data associated with two items
+%% to compare, and should return 0 if the items are equal, a negative
+%% value if the first item is less than the second one and a positive
+%% value if the first item is greater than the second one.
+%% <br /> NOTE: The callback may not call other processes.
+sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack)
+ when is_function(SortCallBack, 2) ->
+ ?CLASS(ThisT,wxListCtrl),
+ Sort = fun([Item1,Item2]) ->
+ Result = SortCallBack(Item1,Item2),
+ <<Result:32/?UI>>
+ end,
+ SortId = wxe_util:get_cbId(Sort),
+ wxe_util:call(?wxListCtrl_SortItems, <<ThisRef:32/?UI,SortId:32/?UI>>).
+%% @spec (This::wxListCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxListCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxListEvent.erl b/lib/wx/src/gen/wxListEvent.erl
new file mode 100644
index 0000000000..fd1cc381ed
--- /dev/null
+++ b/lib/wx/src/gen/wxListEvent.erl
@@ -0,0 +1,186 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html">wxListEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_list_begin_drag</em>, <em>command_list_begin_rdrag</em>, <em>command_list_begin_label_edit</em>, <em>command_list_end_label_edit</em>, <em>command_list_delete_item</em>, <em>command_list_delete_all_items</em>, <em>command_list_key_down</em>, <em>command_list_insert_item</em>, <em>command_list_col_click</em>, <em>command_list_col_right_click</em>, <em>command_list_col_begin_drag</em>, <em>command_list_col_dragging</em>, <em>command_list_col_end_drag</em>, <em>command_list_item_selected</em>, <em>command_list_item_deselected</em>, <em>command_list_item_right_click</em>, <em>command_list_item_middle_click</em>, <em>command_list_item_activated</em>, <em>command_list_item_focused</em>, <em>command_list_cache_hint</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxList(). #wxList{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxListEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListEvent).
+-include("wxe.hrl").
+-export([getCacheFrom/1,getCacheTo/1,getColumn/1,getData/1,getImage/1,getIndex/1,
+ getItem/1,getKeyCode/1,getLabel/1,getMask/1,getPoint/1,getText/1,isEditCancelled/1]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetcachefrom">external documentation</a>.
+getCacheFrom(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetCacheFrom,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetcacheto">external documentation</a>.
+getCacheTo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetCacheTo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetkeycode">external documentation</a>.
+getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetKeyCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetindex">external documentation</a>.
+getIndex(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetIndex,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetcolumn">external documentation</a>.
+getColumn(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetColumn,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetpoint">external documentation</a>.
+getPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetimage">external documentation</a>.
+getImage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetImage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetdata">external documentation</a>.
+getData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetmask">external documentation</a>.
+getMask(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetMask,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> wxListItem:wxListItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventgetitem">external documentation</a>.
+getItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_GetItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistevent.html#wxlisteventiseditcancelled">external documentation</a>.
+isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListEvent),
+ wxe_util:call(?wxListEvent_IsEditCancelled,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxListItem.erl b/lib/wx/src/gen/wxListItem.erl
new file mode 100644
index 0000000000..31d44b9601
--- /dev/null
+++ b/lib/wx/src/gen/wxListItem.erl
@@ -0,0 +1,242 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html">wxListItem</a>.
+%% @type wxListItem(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListItem).
+-include("wxe.hrl").
+-export([clear/1,destroy/1,getAlign/1,getBackgroundColour/1,getColumn/1,getFont/1,
+ getId/1,getImage/1,getMask/1,getState/1,getText/1,getTextColour/1,getWidth/1,
+ new/0,new/1,setAlign/2,setBackgroundColour/2,setColumn/2,setFont/2,
+ setId/2,setImage/2,setMask/2,setState/2,setStateMask/2,setText/2,setTextColour/2,
+ setWidth/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxListItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemwxlistitem">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxListItem_new_0,
+ <<>>).
+
+%% @spec (Item::wxListItem()) -> wxListItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemwxlistitem">external documentation</a>.
+new(#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ItemT,wxListItem),
+ wxe_util:construct(?wxListItem_new_1,
+ <<ItemRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> WxListColumnFormat
+%% WxListColumnFormat = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetalign">external documentation</a>.
+%%<br /> WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER
+getAlign(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetAlign,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetbackgroundcolour">external documentation</a>.
+getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetcolumn">external documentation</a>.
+getColumn(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetColumn,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetid">external documentation</a>.
+getId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetimage">external documentation</a>.
+getImage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetImage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetmask">external documentation</a>.
+getMask(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetMask,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetstate">external documentation</a>.
+getState(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetState,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgettextcolour">external documentation</a>.
+getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemgetwidth">external documentation</a>.
+getWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:call(?wxListItem_GetWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListItem(), Align::WxListColumnFormat) -> ok
+%% WxListColumnFormat = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetalign">external documentation</a>.
+%%<br /> WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER
+setAlign(#wx_ref{type=ThisT,ref=ThisRef},Align)
+ when is_integer(Align) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetAlign,
+ <<ThisRef:32/?UI,Align:32/?UI>>).
+
+%% @spec (This::wxListItem(), ColBack::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack)
+ when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary>>).
+
+%% @spec (This::wxListItem(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetcolumn">external documentation</a>.
+setColumn(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetColumn,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxListItem(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxListItem),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxListItem_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxListItem(), Id::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetid">external documentation</a>.
+setId(#wx_ref{type=ThisT,ref=ThisRef},Id)
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetId,
+ <<ThisRef:32/?UI,Id:32/?UI>>).
+
+%% @spec (This::wxListItem(), Image::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetimage">external documentation</a>.
+setImage(#wx_ref{type=ThisT,ref=ThisRef},Image)
+ when is_integer(Image) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetImage,
+ <<ThisRef:32/?UI,Image:32/?UI>>).
+
+%% @spec (This::wxListItem(), Mask::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetmask">external documentation</a>.
+setMask(#wx_ref{type=ThisT,ref=ThisRef},Mask)
+ when is_integer(Mask) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetMask,
+ <<ThisRef:32/?UI,Mask:32/?UI>>).
+
+%% @spec (This::wxListItem(), State::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetstate">external documentation</a>.
+setState(#wx_ref{type=ThisT,ref=ThisRef},State)
+ when is_integer(State) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetState,
+ <<ThisRef:32/?UI,State:32/?UI>>).
+
+%% @spec (This::wxListItem(), StateMask::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetstatemask">external documentation</a>.
+setStateMask(#wx_ref{type=ThisT,ref=ThisRef},StateMask)
+ when is_integer(StateMask) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetStateMask,
+ <<ThisRef:32/?UI,StateMask:32/?UI>>).
+
+%% @spec (This::wxListItem(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsettext">external documentation</a>.
+setText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxListItem),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxListItem_SetText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListItem(), ColText::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsettextcolour">external documentation</a>.
+setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColText)):16/binary>>).
+
+%% @spec (This::wxListItem(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitem.html#wxlistitemsetwidth">external documentation</a>.
+setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxListItem),
+ wxe_util:cast(?wxListItem_SetWidth,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxListItem()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxListItem),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxListView.erl b/lib/wx/src/gen/wxListView.erl
new file mode 100644
index 0000000000..a39a594a6a
--- /dev/null
+++ b/lib/wx/src/gen/wxListView.erl
@@ -0,0 +1,513 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html">wxListView</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxListView(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListView).
+-include("wxe.hrl").
+-export([clearColumnImage/2,focus/2,getFirstSelected/1,getFocusedItem/1,getNextSelected/2,
+ isSelected/2,select/2,select/3,setColumnImage/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxListView(), Col::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewclearcolumnimage">external documentation</a>.
+clearColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Col)
+ when is_integer(Col) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:cast(?wxListView_ClearColumnImage,
+ <<ThisRef:32/?UI,Col:32/?UI>>).
+
+%% @spec (This::wxListView(), Index::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewfocus">external documentation</a>.
+focus(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:cast(?wxListView_Focus,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxListView()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewgetfirstselected">external documentation</a>.
+getFirstSelected(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:call(?wxListView_GetFirstSelected,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListView()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewgetfocuseditem">external documentation</a>.
+getFocusedItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:call(?wxListView_GetFocusedItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListView(), Item::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewgetnextselected">external documentation</a>.
+getNextSelected(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:call(?wxListView_GetNextSelected,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxListView(), Index::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewisselected">external documentation</a>.
+isSelected(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:call(?wxListView_IsSelected,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxListView(), N::integer()) -> ok
+%% @equiv select(This,N, [])
+select(This,N)
+ when is_record(This, wx_ref),is_integer(N) ->
+ select(This,N, []).
+
+%% @spec (This::wxListView(), N::integer(), [Option]) -> ok
+%% Option = {on, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewselect">external documentation</a>.
+select(#wx_ref{type=ThisT,ref=ThisRef},N, Options)
+ when is_integer(N),is_list(Options) ->
+ ?CLASS(ThisT,wxListView),
+ MOpts = fun({on, On}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(On)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxListView_Select,
+ <<ThisRef:32/?UI,N:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListView(), Col::integer(), Image::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistview.html#wxlistviewsetcolumnimage">external documentation</a>.
+setColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Col,Image)
+ when is_integer(Col),is_integer(Image) ->
+ ?CLASS(ThisT,wxListView),
+ wxe_util:cast(?wxListView_SetColumnImage,
+ <<ThisRef:32/?UI,Col:32/?UI,Image:32/?UI>>).
+
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxListbook.erl b/lib/wx/src/gen/wxListbook.erl
new file mode 100644
index 0000000000..385c50c316
--- /dev/null
+++ b/lib/wx/src/gen/wxListbook.erl
@@ -0,0 +1,698 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html">wxListbook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxListbook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxListbook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,advanceSelection/1,advanceSelection/2,assignImageList/2,
+ changeSelection/2,create/3,create/4,deleteAllPages/1,deletePage/2,
+ destroy/1,getCurrentPage/1,getImageList/1,getPage/2,getPageCount/1,
+ getPageImage/2,getPageText/2,getSelection/1,hitTest/2,insertPage/4,
+ insertPage/5,new/0,new/2,new/3,removePage/2,setImageList/2,setPageImage/3,
+ setPageSize/2,setPageText/3,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxListbook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookwxlistbook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxListbook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxListbook()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxListbook()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookwxlistbook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxListbook_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxListbook(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv addPage(This,Page,Text, [])
+addPage(This,Page,Text)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
+ addPage(This,Page,Text, []).
+
+%% @spec (This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxListbook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListbook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxListbook()) -> ok
+%% @equiv advanceSelection(This, [])
+advanceSelection(This)
+ when is_record(This, wx_ref) ->
+ advanceSelection(This, []).
+
+%% @spec (This::wxListbook(), [Option]) -> ok
+%% Option = {forward, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookadvanceselection">external documentation</a>.
+advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxListbook),
+ MOpts = fun({forward, Forward}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Forward)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxListbook_AdvanceSelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxListbook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxListbook_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxListbook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListbook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxListbook()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookdeleteallpages">external documentation</a>.
+deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_DeleteAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_DeletePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_RemovePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListbook()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetPage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetpageimage">external documentation</a>.
+getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetPageText,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), Pt::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_HitTest,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv insertPage(This,N,Page,Text, [])
+insertPage(This,N,Page,Text)
+ when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) ->
+ insertPage(This,N,Page,Text, []).
+
+%% @spec (This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_integer(N),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxListbook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxListbook_InsertPage,
+ <<ThisRef:32/?UI,N:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxListbook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbooksetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxListbook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxListbook_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxListbook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbooksetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:cast(?wxListbook_SetPageSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer(), ImageId::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbooksetpageimage">external documentation</a>.
+setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId)
+ when is_integer(N),is_integer(ImageId) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_SetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI,ImageId:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer(), StrText::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText)
+ when is_integer(N),is_list(StrText) ->
+ ?CLASS(ThisT,wxListbook),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ wxe_util:call(?wxListbook_SetPageText,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((4+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistbook.html#wxlistbookchangeselection">external documentation</a>.
+changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxListbook),
+ wxe_util:call(?wxListbook_ChangeSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxListbook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxListbook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxLogNull.erl b/lib/wx/src/gen/wxLogNull.erl
new file mode 100644
index 0000000000..f33070b197
--- /dev/null
+++ b/lib/wx/src/gen/wxLogNull.erl
@@ -0,0 +1,46 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlognull.html">wxLogNull</a>.
+%% @type wxLogNull(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxLogNull).
+-include("wxe.hrl").
+-export([destroy/1,new/0]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxLogNull()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlognull.html#wxlognullwxlognull">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxLogNull_new,
+ <<>>).
+
+%% @spec (This::wxLogNull()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxLogNull),
+ wxe_util:destroy(?wxLogNull_destroy,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxMDIChildFrame.erl b/lib/wx/src/gen/wxMDIChildFrame.erl
new file mode 100644
index 0000000000..3403ab6c9c
--- /dev/null
+++ b/lib/wx/src/gen/wxMDIChildFrame.erl
@@ -0,0 +1,618 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html">wxMDIChildFrame</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFrame}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMDIChildFrame(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMDIChildFrame).
+-include("wxe.hrl").
+-export([activate/1,create/4,create/5,destroy/1,maximize/1,maximize/2,new/0,new/3,
+ new/4,restore/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientAreaOrigin/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,
+ getLabel/1,getMaxSize/1,getMenuBar/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getStatusBar/1,
+ getStatusBarPane/1,getTextExtent/2,getTextExtent/3,getTitle/1,getToolBar/1,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,
+ moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMenuBar/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setStatusBar/2,setStatusBarPane/2,setStatusText/2,setStatusText/3,
+ setStatusWidths/2,setThemeEnabled/2,setTitle/2,setToolBar/2,setToolTip/2,
+ setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,
+ setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,
+ shouldInheritColours/1,show/1,show/2,showFullScreen/2,showFullScreen/3,
+ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxFrame) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMDIChildFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframewxmdichildframe">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMDIChildFrame_new_0,
+ <<>>).
+
+%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string()) -> wxMDIChildFrame()
+%% @equiv new(Parent,Id,Title, [])
+new(Parent,Id,Title)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ new(Parent,Id,Title, []).
+
+%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), [Option]) -> wxMDIChildFrame()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframewxmdichildframe">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxMDIParentFrame),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMDIChildFrame_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMDIChildFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframeactivate">external documentation</a>.
+activate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIChildFrame),
+ wxe_util:cast(?wxMDIChildFrame_Activate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Id,Title, [])
+create(This,Parent,Id,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ create(This,Parent,Id,Title, []).
+
+%% @spec (This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxMDIChildFrame),
+ ?CLASS(ParentT,wxMDIParentFrame),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMDIChildFrame_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMDIChildFrame()) -> ok
+%% @equiv maximize(This, [])
+maximize(This)
+ when is_record(This, wx_ref) ->
+ maximize(This, []).
+
+%% @spec (This::wxMDIChildFrame(), [Option]) -> ok
+%% Option = {maximize, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframemaximize">external documentation</a>.
+maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMDIChildFrame),
+ MOpts = fun({maximize, Maximize}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Maximize)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxMDIChildFrame_Maximize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMDIChildFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdichildframe.html#wxmdichildframerestore">external documentation</a>.
+restore(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIChildFrame),
+ wxe_util:cast(?wxMDIChildFrame_Restore,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIChildFrame()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMDIChildFrame),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFrame
+%% @hidden
+setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+%% @hidden
+setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
+%% @hidden
+setStatusText(This,Text, Options) -> wxFrame:setStatusText(This,Text, Options).
+%% @hidden
+setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
+%% @hidden
+setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
+%% @hidden
+setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+%% @hidden
+setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+%% @hidden
+sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
+%% @hidden
+processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+%% @hidden
+getToolBar(This) -> wxFrame:getToolBar(This).
+%% @hidden
+getStatusBarPane(This) -> wxFrame:getStatusBarPane(This).
+%% @hidden
+getStatusBar(This) -> wxFrame:getStatusBar(This).
+%% @hidden
+getMenuBar(This) -> wxFrame:getMenuBar(This).
+%% @hidden
+getClientAreaOrigin(This) -> wxFrame:getClientAreaOrigin(This).
+%% @hidden
+createToolBar(This, Options) -> wxFrame:createToolBar(This, Options).
+%% @hidden
+createToolBar(This) -> wxFrame:createToolBar(This).
+%% @hidden
+createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options).
+%% @hidden
+createStatusBar(This) -> wxFrame:createStatusBar(This).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMDIClientWindow.erl b/lib/wx/src/gen/wxMDIClientWindow.erl
new file mode 100644
index 0000000000..6a6fbab4a7
--- /dev/null
+++ b/lib/wx/src/gen/wxMDIClientWindow.erl
@@ -0,0 +1,486 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiclientwindow.html">wxMDIClientWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMDIClientWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMDIClientWindow).
+-include("wxe.hrl").
+-export([createClient/2,createClient/3,destroy/1,new/0,new/1,new/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMDIClientWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiclientwindow.html#wxmdiclientwindowwxmdiclientwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMDIClientWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame()) -> wxMDIClientWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> wxMDIClientWindow()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiclientwindow.html#wxmdiclientwindowwxmdiclientwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxMDIParentFrame),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMDIClientWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame()) -> bool()
+%% @equiv createClient(This,Parent, [])
+createClient(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ createClient(This,Parent, []).
+
+%% @spec (This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> bool()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiclientwindow.html#wxmdiclientwindowcreateclient">external documentation</a>.
+createClient(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMDIClientWindow),
+ ?CLASS(ParentT,wxMDIParentFrame),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMDIClientWindow_CreateClient,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxMDIClientWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMDIClientWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMDIParentFrame.erl b/lib/wx/src/gen/wxMDIParentFrame.erl
new file mode 100644
index 0000000000..2638309ce7
--- /dev/null
+++ b/lib/wx/src/gen/wxMDIParentFrame.erl
@@ -0,0 +1,654 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html">wxMDIParentFrame</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFrame}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMDIParentFrame(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMDIParentFrame).
+-include("wxe.hrl").
+-export([activateNext/1,activatePrevious/1,arrangeIcons/1,cascade/1,create/4,
+ create/5,destroy/1,getActiveChild/1,getClientWindow/1,new/0,new/3,new/4,
+ tile/1,tile/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientAreaOrigin/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,
+ getLabel/1,getMaxSize/1,getMenuBar/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getStatusBar/1,
+ getStatusBarPane/1,getTextExtent/2,getTextExtent/3,getTitle/1,getToolBar/1,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,
+ move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,requestUserAttention/1,requestUserAttention/2,
+ screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,
+ scrollWindow/4,sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,setMaxSize/2,
+ setMenuBar/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setStatusBar/2,setStatusBarPane/2,
+ setStatusText/2,setStatusText/3,setStatusWidths/2,setThemeEnabled/2,
+ setTitle/2,setToolBar/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxFrame) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMDIParentFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframewxmdiparentframe">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMDIParentFrame_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxMDIParentFrame()
+%% @equiv new(Parent,Id,Title, [])
+new(Parent,Id,Title)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ new(Parent,Id,Title, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxMDIParentFrame()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframewxmdiparentframe">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMDIParentFrame_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframeactivatenext">external documentation</a>.
+activateNext(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:cast(?wxMDIParentFrame_ActivateNext,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframeactivateprevious">external documentation</a>.
+activatePrevious(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:cast(?wxMDIParentFrame_ActivatePrevious,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframearrangeicons">external documentation</a>.
+arrangeIcons(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:cast(?wxMDIParentFrame_ArrangeIcons,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframecascade">external documentation</a>.
+cascade(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:cast(?wxMDIParentFrame_Cascade,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Id,Title, [])
+create(This,Parent,Id,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ create(This,Parent,Id,Title, []).
+
+%% @spec (This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMDIParentFrame_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMDIParentFrame()) -> wxMDIChildFrame:wxMDIChildFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframegetactivechild">external documentation</a>.
+getActiveChild(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:call(?wxMDIParentFrame_GetActiveChild,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame()) -> wxMDIClientWindow:wxMDIClientWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframegetclientwindow">external documentation</a>.
+getClientWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ wxe_util:call(?wxMDIParentFrame_GetClientWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @equiv tile(This, [])
+tile(This)
+ when is_record(This, wx_ref) ->
+ tile(This, []).
+
+%% @spec (This::wxMDIParentFrame(), [Option]) -> ok
+%% Option = {orient, WxOrientation}
+%% WxOrientation = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmdiparentframe.html#wxmdiparentframetile">external documentation</a>.
+%%<br /> WxOrientation is one of ?wxHORIZONTAL | ?wxVERTICAL | ?wxBOTH
+tile(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMDIParentFrame),
+ MOpts = fun({orient, Orient}, Acc) -> [<<1:32/?UI,Orient:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxMDIParentFrame_Tile,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMDIParentFrame()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMDIParentFrame),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFrame
+%% @hidden
+setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+%% @hidden
+setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
+%% @hidden
+setStatusText(This,Text, Options) -> wxFrame:setStatusText(This,Text, Options).
+%% @hidden
+setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
+%% @hidden
+setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
+%% @hidden
+setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+%% @hidden
+setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+%% @hidden
+sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
+%% @hidden
+processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+%% @hidden
+getToolBar(This) -> wxFrame:getToolBar(This).
+%% @hidden
+getStatusBarPane(This) -> wxFrame:getStatusBarPane(This).
+%% @hidden
+getStatusBar(This) -> wxFrame:getStatusBar(This).
+%% @hidden
+getMenuBar(This) -> wxFrame:getMenuBar(This).
+%% @hidden
+getClientAreaOrigin(This) -> wxFrame:getClientAreaOrigin(This).
+%% @hidden
+createToolBar(This, Options) -> wxFrame:createToolBar(This, Options).
+%% @hidden
+createToolBar(This) -> wxFrame:createToolBar(This).
+%% @hidden
+createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options).
+%% @hidden
+createStatusBar(This) -> wxFrame:createStatusBar(This).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMask.erl b/lib/wx/src/gen/wxMask.erl
new file mode 100644
index 0000000000..881f8ba183
--- /dev/null
+++ b/lib/wx/src/gen/wxMask.erl
@@ -0,0 +1,103 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html">wxMask</a>.
+%% @type wxMask(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMask).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,new/0,new/1,new/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMask()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html#wxmaskwxmask">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMask_new_0,
+ <<>>).
+
+%% @spec (Bitmap::wxBitmap:wxBitmap()) -> wxMask()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html#wxmaskwxmask">external documentation</a>.
+new(#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:construct(?wxMask_new_1,
+ <<BitmapRef:32/?UI>>).
+
+%% @spec (Bitmap::wxBitmap:wxBitmap(),X::integer()|term()) -> wxMask()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html#wxmaskwxmask">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> wxMask() </c>
+%% </p>
+%% <p><c>
+%% new(Bitmap::wxBitmap:wxBitmap(), Colour::wx:colour()) -> wxMask() </c>
+%% </p>
+new(#wx_ref{type=BitmapT,ref=BitmapRef},PaletteIndex)
+ when is_integer(PaletteIndex) ->
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:construct(?wxMask_new_2_0,
+ <<BitmapRef:32/?UI,PaletteIndex:32/?UI>>);
+new(#wx_ref{type=BitmapT,ref=BitmapRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:construct(?wxMask_new_2_1,
+ <<BitmapRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxMask(), Bitmap::wxBitmap:wxBitmap()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html#wxmaskcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxMask),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxMask_Create_1,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxMask(),Bitmap::wxBitmap:wxBitmap(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmask.html#wxmaskcreate">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% create(This::wxMask(), Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% create(This::wxMask(), Bitmap::wxBitmap:wxBitmap(), Colour::wx:colour()) -> bool() </c>
+%% </p>
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},PaletteIndex)
+ when is_integer(PaletteIndex) ->
+ ?CLASS(ThisT,wxMask),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxMask_Create_2_0,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI,PaletteIndex:32/?UI>>);
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxMask),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:call(?wxMask_Create_2_1,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxMask()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMask),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxMaximizeEvent.erl b/lib/wx/src/gen/wxMaximizeEvent.erl
new file mode 100644
index 0000000000..4ad1be3de0
--- /dev/null
+++ b/lib/wx/src/gen/wxMaximizeEvent.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmaximizeevent.html">wxMaximizeEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>maximize</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxMaximize(). #wxMaximize{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxMaximizeEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMaximizeEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl
new file mode 100644
index 0000000000..28471cc8d3
--- /dev/null
+++ b/lib/wx/src/gen/wxMemoryDC.erl
@@ -0,0 +1,285 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmemorydc.html">wxMemoryDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxMemoryDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMemoryDC).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1,selectObject/2,selectObjectAsSource/2]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMemoryDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmemorydc.html#wxmemorydcwxmemorydc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMemoryDC_new_0,
+ <<>>).
+
+%% @spec (Dc::wxDC:wxDC() | wxBitmap:wxBitmap()) -> wxMemoryDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmemorydc.html#wxmemorydcwxmemorydc">external documentation</a>.
+new(#wx_ref{type=DcT,ref=DcRef}) ->
+ DcOP = case ?CLASS_T(DcT,wxDC) of
+ true ->
+ ?wxMemoryDC_new_1_1;
+ _ -> ?CLASS(DcT,wxBitmap),
+ ?wxMemoryDC_new_1_0
+ end,
+ wxe_util:construct(DcOP,
+ <<DcRef:32/?UI>>).
+
+%% @spec (This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmemorydc.html#wxmemorydcselectobject">external documentation</a>.
+selectObject(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) ->
+ ?CLASS(ThisT,wxMemoryDC),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxMemoryDC_SelectObject,
+ <<ThisRef:32/?UI,BmpRef:32/?UI>>).
+
+%% @spec (This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmemorydc.html#wxmemorydcselectobjectassource">external documentation</a>.
+selectObjectAsSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) ->
+ ?CLASS(ThisT,wxMemoryDC),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxMemoryDC_SelectObjectAsSource,
+ <<ThisRef:32/?UI,BmpRef:32/?UI>>).
+
+%% @spec (This::wxMemoryDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMemoryDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxMenu.erl b/lib/wx/src/gen/wxMenu.erl
new file mode 100644
index 0000000000..bc4fef6f18
--- /dev/null
+++ b/lib/wx/src/gen/wxMenu.erl
@@ -0,0 +1,624 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html">wxMenu</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMenu(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMenu).
+-include("wxe.hrl").
+-export(['Destroy'/2,append/2,append/3,append/4,append/5,appendCheckItem/3,appendCheckItem/4,
+ appendRadioItem/3,appendRadioItem/4,appendSeparator/1,break/1,check/3,
+ delete/2,destroy/1,enable/3,findItem/2,findItemByPosition/2,getHelpString/2,
+ getLabel/2,getMenuItemCount/1,getMenuItems/1,getTitle/1,insert/3,insert/4,
+ insert/5,insert/6,insertCheckItem/4,insertCheckItem/5,insertRadioItem/4,
+ insertRadioItem/5,insertSeparator/2,isChecked/2,isEnabled/2,new/0,
+ new/1,new/2,prepend/2,prepend/3,prepend/4,prepend/5,prependCheckItem/3,
+ prependCheckItem/4,prependRadioItem/3,prependRadioItem/4,prependSeparator/1,
+ remove/2,setHelpString/3,setLabel/3,setTitle/2]).
+
+%% inherited exports
+-export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]).
+
+%% @hidden
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMenu()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxMenu()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuwxmenu">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMenu_new_1,
+ <<BinOpt/binary>>).
+
+%% @spec (Title::string(), [Option]) -> wxMenu()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuwxmenu">external documentation</a>.
+new(Title, Options)
+ when is_list(Title),is_list(Options) ->
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMenu_new_2,
+ <<(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappend">external documentation</a>.
+append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Append_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv append(This,Itemid,Text, [])
+append(This,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) ->
+ append(This,Itemid,Text, []).
+
+%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::wxMenu()|term()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> append(This,Itemid,Text,Submenu, []) </c></p>
+%% <p><c>
+%% append(This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() </c>
+%%<br /> Option = {help, string()} | {kind, WxItemKind}
+%%<br /> WxItemKind = integer()
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+%% </p>
+
+append(This,Itemid,Text,Submenu)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) ->
+ append(This,Itemid,Text,Submenu, []);
+append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({kind, Kind}, Acc) -> [<<2:32/?UI,Kind:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Append_3,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% append(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c>
+%% </p>
+%% <p><c>
+%% append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() </c>
+%%<br /> Option = {help, string()}
+%% </p>
+append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable)
+ when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ Help_UC = unicode:characters_to_binary([Help,0]),
+ wxe_util:cast(?wxMenu_Append_4_0,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((4+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8,(wxe_util:from_bool(IsCheckable)):32/?UI>>);
+append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=SubmenuRef}, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ ?CLASS(SubmenuT,wxMenu),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Append_4_1,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,SubmenuRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv appendCheckItem(This,Itemid,Text, [])
+appendCheckItem(This,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) ->
+ appendCheckItem(This,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappendcheckitem">external documentation</a>.
+appendCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_AppendCheckItem,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv appendRadioItem(This,Itemid,Text, [])
+appendRadioItem(This,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) ->
+ appendRadioItem(This,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappendradioitem">external documentation</a>.
+appendRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_AppendRadioItem,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuappendseparator">external documentation</a>.
+appendSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_AppendSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenubreak">external documentation</a>.
+break(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:cast(?wxMenu_Break,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Check::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenucheck">external documentation</a>.
+check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check)
+ when is_integer(Itemid),is_boolean(Check) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:cast(?wxMenu_Check,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(wxe_util:from_bool(Check)):32/?UI>>).
+
+%% @spec (This::wxMenu(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenudelete">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% delete(This::wxMenu(), Itemid::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% delete(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool() </c>
+%% </p>
+delete(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_Delete_1_0,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>);
+delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Delete_1_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenudestroy">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% 'Destroy'(This::wxMenu(), Itemid::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% 'Destroy'(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool() </c>
+%% </p>
+'Destroy'(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_Destroy_1_0,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>);
+'Destroy'(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Destroy_1_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Enable::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable)
+ when is_integer(Itemid),is_boolean(Enable) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:cast(?wxMenu_Enable,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>).
+
+%% @spec (This::wxMenu(),X::integer()|string()) -> wxMenuItem:wxMenuItem()|integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenufinditem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% findItem(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() </c>
+%% </p>
+%% <p><c>
+%% findItem(This::wxMenu(), Item::string()) -> integer() </c>
+%% </p>
+findItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_FindItem_2,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>);
+findItem(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_list(Item) ->
+ ?CLASS(ThisT,wxMenu),
+ Item_UC = unicode:characters_to_binary([Item,0]),
+ wxe_util:call(?wxMenu_FindItem_1,
+ <<ThisRef:32/?UI,(byte_size(Item_UC)):32/?UI,(Item_UC)/binary, 0:(((8- ((0+byte_size(Item_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenu(), Position::integer()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenufinditembyposition">external documentation</a>.
+findItemByPosition(#wx_ref{type=ThisT,ref=ThisRef},Position)
+ when is_integer(Position) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_FindItemByPosition,
+ <<ThisRef:32/?UI,Position:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenugethelpstring">external documentation</a>.
+getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_GetHelpString,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenugetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_GetLabel,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenu()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenugetmenuitemcount">external documentation</a>.
+getMenuItemCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_GetMenuItemCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu()) -> [wxMenuItem:wxMenuItem()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenugetmenuitems">external documentation</a>.
+getMenuItems(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_GetMenuItems,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenugettitle">external documentation</a>.
+getTitle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_GetTitle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu(),Pos::integer(),X::integer()|term()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsert">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insert(This::wxMenu(), Pos::integer(), Itemid::integer()) -> insert(This,Pos,Itemid, []) </c></p>
+%% <p><c>
+%% insert(This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() </c>
+%% </p>
+
+insert(This,Pos,Itemid)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid) ->
+ insert(This,Pos,Itemid, []);
+insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ItemT,ref=ItemRef})
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Insert_2,
+ <<ThisRef:32/?UI,Pos:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {text, string()} | {help, string()} | {kind, WxItemKind}
+%% WxItemKind = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsert">external documentation</a>.
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid, Options)
+ when is_integer(Pos),is_integer(Itemid),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ MOpts = fun({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<1:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<2:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({kind, Kind}, Acc) -> [<<3:32/?UI,Kind:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Insert_3,
+ <<ThisRef:32/?UI,Pos:32/?UI,Itemid:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem()
+%% @equiv insert(This,Pos,Itemid,Text,Submenu, [])
+insert(This,Pos,Itemid,Text,Submenu)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) ->
+ insert(This,Pos,Itemid,Text,Submenu, []).
+
+%% @spec (This::wxMenu(),Pos::integer(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsert">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c>
+%% </p>
+%% <p><c>
+%% insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() </c>
+%%<br /> Option = {help, string()}
+%% </p>
+insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,Help,IsCheckable)
+ when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ Help_UC = unicode:characters_to_binary([Help,0]),
+ wxe_util:cast(?wxMenu_Insert_5_0,
+ <<ThisRef:32/?UI,Pos:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((4+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8,(wxe_util:from_bool(IsCheckable)):32/?UI>>);
+insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,#wx_ref{type=SubmenuT,ref=SubmenuRef}, Options)
+ when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ ?CLASS(SubmenuT,wxMenu),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Insert_5_1,
+ <<ThisRef:32/?UI,Pos:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,SubmenuRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv insertCheckItem(This,Pos,Itemid,Text, [])
+insertCheckItem(This,Pos,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) ->
+ insertCheckItem(This,Pos,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsertcheckitem">external documentation</a>.
+insertCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options)
+ when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_InsertCheckItem,
+ <<ThisRef:32/?UI,Pos:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv insertRadioItem(This,Pos,Itemid,Text, [])
+insertRadioItem(This,Pos,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) ->
+ insertRadioItem(This,Pos,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsertradioitem">external documentation</a>.
+insertRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options)
+ when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_InsertRadioItem,
+ <<ThisRef:32/?UI,Pos:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Pos::integer()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuinsertseparator">external documentation</a>.
+insertSeparator(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_InsertSeparator,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_IsChecked,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuisenabled">external documentation</a>.
+isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_IsEnabled,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenu(),X::integer()|term()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprepend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% prepend(This::wxMenu(), Itemid::integer()) -> prepend(This,Itemid, []) </c></p>
+%% <p><c>
+%% prepend(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() </c>
+%% </p>
+
+prepend(This,Itemid)
+ when is_record(This, wx_ref),is_integer(Itemid) ->
+ prepend(This,Itemid, []);
+prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Prepend_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {text, string()} | {help, string()} | {kind, WxItemKind}
+%% WxItemKind = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprepend">external documentation</a>.
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid, Options)
+ when is_integer(Itemid),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ MOpts = fun({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<1:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<2:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({kind, Kind}, Acc) -> [<<3:32/?UI,Kind:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Prepend_2,
+ <<ThisRef:32/?UI,Itemid:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem()
+%% @equiv prepend(This,Itemid,Text,Submenu, [])
+prepend(This,Itemid,Text,Submenu)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) ->
+ prepend(This,Itemid,Text,Submenu, []).
+
+%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprepend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% prepend(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok </c>
+%% </p>
+%% <p><c>
+%% prepend(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() </c>
+%%<br /> Option = {help, string()}
+%% </p>
+prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable)
+ when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ Help_UC = unicode:characters_to_binary([Help,0]),
+ wxe_util:cast(?wxMenu_Prepend_4_0,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((4+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8,(wxe_util:from_bool(IsCheckable)):32/?UI>>);
+prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=SubmenuRef}, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ ?CLASS(SubmenuT,wxMenu),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_Prepend_4_1,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8,SubmenuRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv prependCheckItem(This,Itemid,Text, [])
+prependCheckItem(This,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) ->
+ prependCheckItem(This,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprependcheckitem">external documentation</a>.
+prependCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_PrependCheckItem,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem()
+%% @equiv prependRadioItem(This,Itemid,Text, [])
+prependRadioItem(This,Itemid,Text)
+ when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) ->
+ prependRadioItem(This,Itemid,Text, []).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem()
+%% Option = {help, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprependradioitem">external documentation</a>.
+prependRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options)
+ when is_integer(Itemid),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxMenu),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<1:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenu_PrependRadioItem,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMenu()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuprependseparator">external documentation</a>.
+prependSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_PrependSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenu(),X::integer()|term()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenuremove">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% remove(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() </c>
+%% </p>
+%% <p><c>
+%% remove(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() </c>
+%% </p>
+remove(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenu),
+ wxe_util:call(?wxMenu_Remove_1_0,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>);
+remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxMenu),
+ ?CLASS(ItemT,wxMenuItem),
+ wxe_util:call(?wxMenu_Remove_1_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), HelpString::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenusethelpstring">external documentation</a>.
+setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString)
+ when is_integer(Itemid),is_list(HelpString) ->
+ ?CLASS(ThisT,wxMenu),
+ HelpString_UC = unicode:characters_to_binary([HelpString,0]),
+ wxe_util:cast(?wxMenu_SetHelpString,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenu(), Itemid::integer(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenusetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label)
+ when is_integer(Itemid),is_list(Label) ->
+ ?CLASS(ThisT,wxMenu),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxMenu_SetLabel,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenu(), Title::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenu.html#wxmenusettitle">external documentation</a>.
+setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title)
+ when is_list(Title) ->
+ ?CLASS(ThisT,wxMenu),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:cast(?wxMenu_SetTitle,
+ <<ThisRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenu()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMenu),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMenuBar.erl b/lib/wx/src/gen/wxMenuBar.erl
new file mode 100644
index 0000000000..28dab451b8
--- /dev/null
+++ b/lib/wx/src/gen/wxMenuBar.erl
@@ -0,0 +1,662 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html">wxMenuBar</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMenuBar(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMenuBar).
+-include("wxe.hrl").
+-export([append/3,check/3,destroy/1,enable/1,enable/2,enable/3,enableTop/3,findItem/2,
+ findMenu/2,findMenuItem/3,getHelpString/2,getLabel/1,getLabel/2,getLabelTop/2,
+ getMenu/2,getMenuCount/1,insert/4,isChecked/2,isEnabled/1,isEnabled/2,
+ new/0,new/1,remove/2,replace/4,setHelpString/3,setLabel/2,setLabel/3,
+ setLabelTop/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,getBackgroundColour/1,
+ getBackgroundStyle/1,getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,
+ getChildren/1,getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getMaxSize/1,getMinSize/1,
+ getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,getToolTip/1,
+ getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,getWindowVariant/1,
+ hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,hide/1,inheritAttributes/1,
+ initDialog/1,invalidateBestSize/1,isExposed/2,isExposed/3,isExposed/5,
+ isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,lower/1,
+ makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setMaxSize/2,setMinSize/2,
+ setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMenuBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarwxmenubar">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMenuBar_new_0,
+ <<>>).
+
+%% @spec (Style::integer()) -> wxMenuBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarwxmenubar">external documentation</a>.
+new(Style)
+ when is_integer(Style) ->
+ wxe_util:construct(?wxMenuBar_new_1,
+ <<Style:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Menu::wxMenu:wxMenu(), Title::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarappend">external documentation</a>.
+append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},Title)
+ when is_list(Title) ->
+ ?CLASS(ThisT,wxMenuBar),
+ ?CLASS(MenuT,wxMenu),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:call(?wxMenuBar_Append,
+ <<ThisRef:32/?UI,MenuRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer(), Check::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarcheck">external documentation</a>.
+check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check)
+ when is_integer(Itemid),is_boolean(Check) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:cast(?wxMenuBar_Check,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(wxe_util:from_bool(Check)):32/?UI>>).
+
+%% @spec (This::wxMenuBar()) -> bool()
+%% @equiv enable(This, [])
+enable(This)
+ when is_record(This, wx_ref) ->
+ enable(This, []).
+
+%% @spec (This::wxMenuBar(), [Option]) -> bool()
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMenuBar),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMenuBar_Enable_1,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer(), Enable::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable)
+ when is_integer(Itemid),is_boolean(Enable) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:cast(?wxMenuBar_Enable_2,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarenabletop">external documentation</a>.
+enableTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Flag)
+ when is_integer(Pos),is_boolean(Flag) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:cast(?wxMenuBar_EnableTop,
+ <<ThisRef:32/?UI,Pos:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Title::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarfindmenu">external documentation</a>.
+findMenu(#wx_ref{type=ThisT,ref=ThisRef},Title)
+ when is_list(Title) ->
+ ?CLASS(ThisT,wxMenuBar),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:call(?wxMenuBar_FindMenu,
+ <<ThisRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), MenuString::string(), ItemString::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarfindmenuitem">external documentation</a>.
+findMenuItem(#wx_ref{type=ThisT,ref=ThisRef},MenuString,ItemString)
+ when is_list(MenuString),is_list(ItemString) ->
+ ?CLASS(ThisT,wxMenuBar),
+ MenuString_UC = unicode:characters_to_binary([MenuString,0]),
+ ItemString_UC = unicode:characters_to_binary([ItemString,0]),
+ wxe_util:call(?wxMenuBar_FindMenuItem,
+ <<ThisRef:32/?UI,(byte_size(MenuString_UC)):32/?UI,(MenuString_UC)/binary, 0:(((8- ((0+byte_size(MenuString_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(ItemString_UC)):32/?UI,(ItemString_UC)/binary, 0:(((8- ((4+byte_size(ItemString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Id::integer()) -> wxMenuItem:wxMenuItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarfinditem">external documentation</a>.
+findItem(#wx_ref{type=ThisT,ref=ThisRef},Id)
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_FindItem,
+ <<ThisRef:32/?UI,Id:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargethelpstring">external documentation</a>.
+getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetHelpString,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenuBar()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetLabel_0,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetLabel_1,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargetlabeltop">external documentation</a>.
+getLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetLabelTop,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargetmenu">external documentation</a>.
+getMenu(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetMenu,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxMenuBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubargetmenucount">external documentation</a>.
+getMenuCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_GetMenuCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarinsert">external documentation</a>.
+insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title)
+ when is_integer(Pos),is_list(Title) ->
+ ?CLASS(ThisT,wxMenuBar),
+ ?CLASS(MenuT,wxMenu),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:call(?wxMenuBar_Insert,
+ <<ThisRef:32/?UI,Pos:32/?UI,MenuRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_IsChecked,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenuBar()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarisenabled">external documentation</a>.
+isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_IsEnabled_0,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarisenabled">external documentation</a>.
+isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid)
+ when is_integer(Itemid) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_IsEnabled_1,
+ <<ThisRef:32/?UI,Itemid:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarremove">external documentation</a>.
+remove(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxMenuBar),
+ wxe_util:call(?wxMenuBar_Remove,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title)
+ when is_integer(Pos),is_list(Title) ->
+ ?CLASS(ThisT,wxMenuBar),
+ ?CLASS(MenuT,wxMenu),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:call(?wxMenuBar_Replace,
+ <<ThisRef:32/?UI,Pos:32/?UI,MenuRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer(), HelpString::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarsethelpstring">external documentation</a>.
+setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString)
+ when is_integer(Itemid),is_list(HelpString) ->
+ ?CLASS(ThisT,wxMenuBar),
+ HelpString_UC = unicode:characters_to_binary([HelpString,0]),
+ wxe_util:cast(?wxMenuBar_SetHelpString,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), S::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},S)
+ when is_list(S) ->
+ ?CLASS(ThisT,wxMenuBar),
+ S_UC = unicode:characters_to_binary([S,0]),
+ wxe_util:cast(?wxMenuBar_SetLabel_1,
+ <<ThisRef:32/?UI,(byte_size(S_UC)):32/?UI,(S_UC)/binary, 0:(((8- ((0+byte_size(S_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Itemid::integer(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label)
+ when is_integer(Itemid),is_list(Label) ->
+ ?CLASS(ThisT,wxMenuBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxMenuBar_SetLabel_2,
+ <<ThisRef:32/?UI,Itemid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar(), Pos::integer(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenubar.html#wxmenubarsetlabeltop">external documentation</a>.
+setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label)
+ when is_integer(Pos),is_list(Label) ->
+ ?CLASS(ThisT,wxMenuBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxMenuBar_SetLabelTop,
+ <<ThisRef:32/?UI,Pos:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuBar()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMenuBar),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMenuEvent.erl b/lib/wx/src/gen/wxMenuEvent.erl
new file mode 100644
index 0000000000..77ce7c04b7
--- /dev/null
+++ b/lib/wx/src/gen/wxMenuEvent.erl
@@ -0,0 +1,83 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuevent.html">wxMenuEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>menu_open</em>, <em>menu_close</em>, <em>menu_highlight</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxMenu(). #wxMenu{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxMenuEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMenuEvent).
+-include("wxe.hrl").
+-export([getMenu/1,getMenuId/1,isPopup/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxMenuEvent()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuevent.html#wxmenueventgetmenu">external documentation</a>.
+getMenu(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuEvent),
+ wxe_util:call(?wxMenuEvent_GetMenu,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuevent.html#wxmenueventgetmenuid">external documentation</a>.
+getMenuId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuEvent),
+ wxe_util:call(?wxMenuEvent_GetMenuId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuevent.html#wxmenueventispopup">external documentation</a>.
+isPopup(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuEvent),
+ wxe_util:call(?wxMenuEvent_IsPopup,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxMenuItem.erl b/lib/wx/src/gen/wxMenuItem.erl
new file mode 100644
index 0000000000..2d9fd15d86
--- /dev/null
+++ b/lib/wx/src/gen/wxMenuItem.erl
@@ -0,0 +1,245 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html">wxMenuItem</a>.
+%% @type wxMenuItem(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMenuItem).
+-include("wxe.hrl").
+-export([check/1,check/2,destroy/1,enable/1,enable/2,getBitmap/1,getHelp/1,getId/1,
+ getKind/1,getLabel/1,getLabelFromText/1,getMenu/1,getSubMenu/1,getText/1,
+ isCheckable/1,isChecked/1,isEnabled/1,isSeparator/1,isSubMenu/1,new/0,
+ new/1,setBitmap/2,setHelp/2,setMenu/2,setSubMenu/2,setText/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMenuItem()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxMenuItem()
+%% Option = {parentMenu, wxMenu:wxMenu()} | {id, integer()} | {text, string()} | {help, string()} | {kind, WxItemKind} | {subMenu, wxMenu:wxMenu()}
+%% WxItemKind = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemwxmenuitem">external documentation</a>.
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({parentMenu, #wx_ref{type=ParentMenuT,ref=ParentMenuRef}}, Acc) -> ?CLASS(ParentMenuT,wxMenu),[<<1:32/?UI,ParentMenuRef:32/?UI>>|Acc];
+ ({id, Id}, Acc) -> [<<2:32/?UI,Id:32/?UI>>|Acc];
+ ({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<3:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({help, Help}, Acc) -> Help_UC = unicode:characters_to_binary([Help,0]),[<<4:32/?UI,(byte_size(Help_UC)):32/?UI,(Help_UC)/binary, 0:(((8- ((0+byte_size(Help_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({kind, Kind}, Acc) -> [<<5:32/?UI,Kind:32/?UI>>|Acc];
+ ({subMenu, #wx_ref{type=SubMenuT,ref=SubMenuRef}}, Acc) -> ?CLASS(SubMenuT,wxMenu),[<<6:32/?UI,SubMenuRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMenuItem_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxMenuItem()) -> ok
+%% @equiv check(This, [])
+check(This)
+ when is_record(This, wx_ref) ->
+ check(This, []).
+
+%% @spec (This::wxMenuItem(), [Option]) -> ok
+%% Option = {check, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemcheck">external documentation</a>.
+check(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMenuItem),
+ MOpts = fun({check, Check}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Check)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxMenuItem_Check,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenuItem()) -> ok
+%% @equiv enable(This, [])
+enable(This)
+ when is_record(This, wx_ref) ->
+ enable(This, []).
+
+%% @spec (This::wxMenuItem(), [Option]) -> ok
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMenuItem),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxMenuItem_Enable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMenuItem()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetbitmap">external documentation</a>.
+getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetBitmap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgethelp">external documentation</a>.
+getHelp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetHelp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetid">external documentation</a>.
+getId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> WxItemKind
+%% WxItemKind = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetkind">external documentation</a>.
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+getKind(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetKind,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Text::string()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetlabelfromtext">external documentation</a>.
+getLabelFromText(Text)
+ when is_list(Text) ->
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxMenuItem_GetLabelFromText,
+ <<(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuItem()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetmenu">external documentation</a>.
+getMenu(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetMenu,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemgetsubmenu">external documentation</a>.
+getSubMenu(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_GetSubMenu,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemischeckable">external documentation</a>.
+isCheckable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_IsCheckable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemischecked">external documentation</a>.
+isChecked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_IsChecked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemisenabled">external documentation</a>.
+isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_IsEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemisseparator">external documentation</a>.
+isSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_IsSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemissubmenu">external documentation</a>.
+isSubMenu(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ wxe_util:call(?wxMenuItem_IsSubMenu,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem(), Bitmap::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetbitmap">external documentation</a>.
+setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:cast(?wxMenuItem_SetBitmap,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsethelp">external documentation</a>.
+setHelp(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxMenuItem),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxMenuItem_SetHelp,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuItem(), Menu::wxMenu:wxMenu()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetmenu">external documentation</a>.
+setMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ ?CLASS(MenuT,wxMenu),
+ wxe_util:cast(?wxMenuItem_SetMenu,
+ <<ThisRef:32/?UI,MenuRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem(), Menu::wxMenu:wxMenu()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsetsubmenu">external documentation</a>.
+setSubMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) ->
+ ?CLASS(ThisT,wxMenuItem),
+ ?CLASS(MenuT,wxMenu),
+ wxe_util:cast(?wxMenuItem_SetSubMenu,
+ <<ThisRef:32/?UI,MenuRef:32/?UI>>).
+
+%% @spec (This::wxMenuItem(), Str::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmenuitem.html#wxmenuitemsettext">external documentation</a>.
+setText(#wx_ref{type=ThisT,ref=ThisRef},Str)
+ when is_list(Str) ->
+ ?CLASS(ThisT,wxMenuItem),
+ Str_UC = unicode:characters_to_binary([Str,0]),
+ wxe_util:cast(?wxMenuItem_SetText,
+ <<ThisRef:32/?UI,(byte_size(Str_UC)):32/?UI,(Str_UC)/binary, 0:(((8- ((0+byte_size(Str_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxMenuItem()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMenuItem),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxMessageDialog.erl b/lib/wx/src/gen/wxMessageDialog.erl
new file mode 100644
index 0000000000..eab41919ba
--- /dev/null
+++ b/lib/wx/src/gen/wxMessageDialog.erl
@@ -0,0 +1,541 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmessagedialog.html">wxMessageDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMessageDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMessageDialog).
+-include("wxe.hrl").
+-export([destroy/1,new/2,new/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxMessageDialog()
+%% @equiv new(Parent,Message, [])
+new(Parent,Message)
+ when is_record(Parent, wx_ref),is_list(Message) ->
+ new(Parent,Message, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxMessageDialog()
+%% Option = {caption, string()} | {style, integer()} | {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmessagedialog.html#wxmessagedialogwxmessagedialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options)
+ when is_list(Message),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ MOpts = fun({caption, Caption}, Acc) -> Caption_UC = unicode:characters_to_binary([Caption,0]),[<<1:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((0+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMessageDialog_new,
+ <<ParentRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMessageDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMessageDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMiniFrame.erl b/lib/wx/src/gen/wxMiniFrame.erl
new file mode 100644
index 0000000000..3e7799a66f
--- /dev/null
+++ b/lib/wx/src/gen/wxMiniFrame.erl
@@ -0,0 +1,590 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxminiframe.html">wxMiniFrame</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFrame}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMiniFrame(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMiniFrame).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,new/0,new/3,new/4]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientAreaOrigin/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,
+ getLabel/1,getMaxSize/1,getMenuBar/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getStatusBar/1,
+ getStatusBarPane/1,getTextExtent/2,getTextExtent/3,getTitle/1,getToolBar/1,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,
+ move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,requestUserAttention/1,requestUserAttention/2,
+ screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,
+ scrollWindow/4,sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,setMaxSize/2,
+ setMenuBar/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setStatusBar/2,setStatusBarPane/2,
+ setStatusText/2,setStatusText/3,setStatusWidths/2,setThemeEnabled/2,
+ setTitle/2,setToolBar/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxFrame) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMiniFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxminiframe.html#wxminiframewxminiframe">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMiniFrame_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxMiniFrame()
+%% @equiv new(Parent,Id,Title, [])
+new(Parent,Id,Title)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ new(Parent,Id,Title, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxMiniFrame()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxminiframe.html#wxminiframewxminiframe">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMiniFrame_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool()
+%% @equiv create(This,Parent,Id,Title, [])
+create(This,Parent,Id,Title)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) ->
+ create(This,Parent,Id,Title, []).
+
+%% @spec (This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxminiframe.html#wxminiframecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options)
+ when is_integer(Id),is_list(Title),is_list(Options) ->
+ ?CLASS(ThisT,wxMiniFrame),
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMiniFrame_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMiniFrame()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMiniFrame),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFrame
+%% @hidden
+setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+%% @hidden
+setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
+%% @hidden
+setStatusText(This,Text, Options) -> wxFrame:setStatusText(This,Text, Options).
+%% @hidden
+setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
+%% @hidden
+setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
+%% @hidden
+setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+%% @hidden
+setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+%% @hidden
+sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
+%% @hidden
+processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+%% @hidden
+getToolBar(This) -> wxFrame:getToolBar(This).
+%% @hidden
+getStatusBarPane(This) -> wxFrame:getStatusBarPane(This).
+%% @hidden
+getStatusBar(This) -> wxFrame:getStatusBar(This).
+%% @hidden
+getMenuBar(This) -> wxFrame:getMenuBar(This).
+%% @hidden
+getClientAreaOrigin(This) -> wxFrame:getClientAreaOrigin(This).
+%% @hidden
+createToolBar(This, Options) -> wxFrame:createToolBar(This, Options).
+%% @hidden
+createToolBar(This) -> wxFrame:createToolBar(This).
+%% @hidden
+createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options).
+%% @hidden
+createStatusBar(This) -> wxFrame:createStatusBar(This).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxMirrorDC.erl b/lib/wx/src/gen/wxMirrorDC.erl
new file mode 100644
index 0000000000..9300f7a31e
--- /dev/null
+++ b/lib/wx/src/gen/wxMirrorDC.erl
@@ -0,0 +1,259 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmirrordc.html">wxMirrorDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxMirrorDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMirrorDC).
+-include("wxe.hrl").
+-export([destroy/1,new/2]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Dc::wxDC:wxDC(), Mirror::bool()) -> wxMirrorDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmirrordc.html#wxmirrordcwxmirrordc">external documentation</a>.
+new(#wx_ref{type=DcT,ref=DcRef},Mirror)
+ when is_boolean(Mirror) ->
+ ?CLASS(DcT,wxDC),
+ wxe_util:construct(?wxMirrorDC_new,
+ <<DcRef:32/?UI,(wxe_util:from_bool(Mirror)):32/?UI>>).
+
+%% @spec (This::wxMirrorDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMirrorDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl
new file mode 100644
index 0000000000..629dcde795
--- /dev/null
+++ b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmousecapturechangedevent.html">wxMouseCaptureChangedEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>mouse_capture_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxMouseCaptureChanged(). #wxMouseCaptureChanged{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxMouseCaptureChangedEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMouseCaptureChangedEvent).
+-include("wxe.hrl").
+-export([getCapturedWindow/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxMouseCaptureChangedEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmousecapturechangedevent.html#wxmousecapturechangedeventgetcapturedwindow">external documentation</a>.
+getCapturedWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseCaptureChangedEvent),
+ wxe_util:call(?wxMouseCaptureChangedEvent_GetCapturedWindow,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxMouseEvent.erl b/lib/wx/src/gen/wxMouseEvent.erl
new file mode 100644
index 0000000000..0772e99b0d
--- /dev/null
+++ b/lib/wx/src/gen/wxMouseEvent.erl
@@ -0,0 +1,348 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html">wxMouseEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>left_down</em>, <em>left_up</em>, <em>middle_down</em>, <em>middle_up</em>, <em>right_down</em>, <em>right_up</em>, <em>motion</em>, <em>enter_window</em>, <em>leave_window</em>, <em>left_dclick</em>, <em>middle_dclick</em>, <em>right_dclick</em>, <em>mousewheel</em>, <em>nc_left_down</em>, <em>nc_left_up</em>, <em>nc_middle_down</em>, <em>nc_middle_up</em>, <em>nc_right_down</em>, <em>nc_right_up</em>, <em>nc_motion</em>, <em>nc_enter_window</em>, <em>nc_leave_window</em>, <em>nc_left_dclick</em>, <em>nc_middle_dclick</em>, <em>nc_right_dclick</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxMouse(). #wxMouse{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxMouseEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMouseEvent).
+-include("wxe.hrl").
+-export([altDown/1,button/2,buttonDClick/1,buttonDClick/2,buttonDown/1,buttonDown/2,
+ buttonUp/1,buttonUp/2,cmdDown/1,controlDown/1,dragging/1,entering/1,
+ getButton/1,getLinesPerAction/1,getLogicalPosition/2,getPosition/1,
+ getWheelDelta/1,getWheelRotation/1,getX/1,getY/1,isButton/1,isPageScroll/1,
+ leaving/1,leftDClick/1,leftDown/1,leftIsDown/1,leftUp/1,metaDown/1,
+ middleDClick/1,middleDown/1,middleIsDown/1,middleUp/1,moving/1,rightDClick/1,
+ rightDown/1,rightIsDown/1,rightUp/1,shiftDown/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventaltdown">external documentation</a>.
+altDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_AltDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent(), But::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventbutton">external documentation</a>.
+button(#wx_ref{type=ThisT,ref=ThisRef},But)
+ when is_integer(But) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_Button,
+ <<ThisRef:32/?UI,But:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @equiv buttonDClick(This, [])
+buttonDClick(This)
+ when is_record(This, wx_ref) ->
+ buttonDClick(This, []).
+
+%% @spec (This::wxMouseEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventbuttondclick">external documentation</a>.
+buttonDClick(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMouseEvent_ButtonDClick,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @equiv buttonDown(This, [])
+buttonDown(This)
+ when is_record(This, wx_ref) ->
+ buttonDown(This, []).
+
+%% @spec (This::wxMouseEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventbuttondown">external documentation</a>.
+buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMouseEvent_ButtonDown,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @equiv buttonUp(This, [])
+buttonUp(This)
+ when is_record(This, wx_ref) ->
+ buttonUp(This, []).
+
+%% @spec (This::wxMouseEvent(), [Option]) -> bool()
+%% Option = {but, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventbuttonup">external documentation</a>.
+buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ MOpts = fun({but, But}, Acc) -> [<<1:32/?UI,But:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxMouseEvent_ButtonUp,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventcmddown">external documentation</a>.
+cmdDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_CmdDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventcontroldown">external documentation</a>.
+controlDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_ControlDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventdragging">external documentation</a>.
+dragging(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_Dragging,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseevententering">external documentation</a>.
+entering(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_Entering,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetbutton">external documentation</a>.
+getButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent(), Dc::wxDC:wxDC()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetlogicalposition">external documentation</a>.
+getLogicalPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ ?CLASS(DcT,wxDC),
+ wxe_util:call(?wxMouseEvent_GetLogicalPosition,
+ <<ThisRef:32/?UI,DcRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetlinesperaction">external documentation</a>.
+getLinesPerAction(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetLinesPerAction,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetwheelrotation">external documentation</a>.
+getWheelRotation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetWheelRotation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetwheeldelta">external documentation</a>.
+getWheelDelta(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetWheelDelta,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgetx">external documentation</a>.
+getX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventgety">external documentation</a>.
+getY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_GetY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventisbutton">external documentation</a>.
+isButton(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_IsButton,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventispagescroll">external documentation</a>.
+isPageScroll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_IsPageScroll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventleaving">external documentation</a>.
+leaving(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_Leaving,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventleftdclick">external documentation</a>.
+leftDClick(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_LeftDClick,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventleftdown">external documentation</a>.
+leftDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_LeftDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventleftisdown">external documentation</a>.
+leftIsDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_LeftIsDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventleftup">external documentation</a>.
+leftUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_LeftUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmetadown">external documentation</a>.
+metaDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_MetaDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmiddledclick">external documentation</a>.
+middleDClick(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_MiddleDClick,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmiddledown">external documentation</a>.
+middleDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_MiddleDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmiddleisdown">external documentation</a>.
+middleIsDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_MiddleIsDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmiddleup">external documentation</a>.
+middleUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_MiddleUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventmoving">external documentation</a>.
+moving(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_Moving,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventrightdclick">external documentation</a>.
+rightDClick(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_RightDClick,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventrightdown">external documentation</a>.
+rightDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_RightDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventrightisdown">external documentation</a>.
+rightIsDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_RightIsDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventrightup">external documentation</a>.
+rightUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_RightUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMouseEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmouseevent.html#wxmouseeventshiftdown">external documentation</a>.
+shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMouseEvent),
+ wxe_util:call(?wxMouseEvent_ShiftDown,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxMoveEvent.erl b/lib/wx/src/gen/wxMoveEvent.erl
new file mode 100644
index 0000000000..17a33ff3ed
--- /dev/null
+++ b/lib/wx/src/gen/wxMoveEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmoveevent.html">wxMoveEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>move</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxMove(). #wxMove{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxMoveEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMoveEvent).
+-include("wxe.hrl").
+-export([getPosition/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxMoveEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmoveevent.html#wxmoveeventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMoveEvent),
+ wxe_util:call(?wxMoveEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxMultiChoiceDialog.erl b/lib/wx/src/gen/wxMultiChoiceDialog.erl
new file mode 100644
index 0000000000..98690654e6
--- /dev/null
+++ b/lib/wx/src/gen/wxMultiChoiceDialog.erl
@@ -0,0 +1,565 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html">wxMultiChoiceDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxMultiChoiceDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxMultiChoiceDialog).
+-include("wxe.hrl").
+-export([destroy/1,getSelections/1,new/0,new/4,new/5,setSelections/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxMultiChoiceDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html#wxmultichoicedialogwxmultichoicedialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxMultiChoiceDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]) -> wxMultiChoiceDialog()
+%% @equiv new(Parent,Message,Caption,Choices, [])
+new(Parent,Message,Caption,Choices)
+ when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) ->
+ new(Parent,Message,Caption,Choices, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], [Option]) -> wxMultiChoiceDialog()
+%% Option = {style, integer()} | {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html#wxmultichoicedialogwxmultichoicedialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options)
+ when is_list(Message),is_list(Caption),is_list(Choices),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ Caption_UC = unicode:characters_to_binary([Caption,0]),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxMultiChoiceDialog_new_5,
+ <<ParentRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((4+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxMultiChoiceDialog()) -> [integer()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html#wxmultichoicedialoggetselections">external documentation</a>.
+getSelections(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxMultiChoiceDialog),
+ wxe_util:call(?wxMultiChoiceDialog_GetSelections,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxMultiChoiceDialog(), Selections::[integer()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html#wxmultichoicedialogsetselections">external documentation</a>.
+setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections)
+ when is_list(Selections) ->
+ ?CLASS(ThisT,wxMultiChoiceDialog),
+ wxe_util:cast(?wxMultiChoiceDialog_SetSelections,
+ <<ThisRef:32/?UI,(length(Selections)):32/?UI,
+ (<< <<C:32/?I>> || C <- Selections>>)/binary, 0:(((0+length(Selections)) rem 2)*32)>>).
+
+%% @spec (This::wxMultiChoiceDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxMultiChoiceDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxNavigationKeyEvent.erl b/lib/wx/src/gen/wxNavigationKeyEvent.erl
new file mode 100644
index 0000000000..9a74a75c51
--- /dev/null
+++ b/lib/wx/src/gen/wxNavigationKeyEvent.erl
@@ -0,0 +1,123 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html">wxNavigationKeyEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>navigation_key</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxNavigationKey(). #wxNavigationKey{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxNavigationKeyEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxNavigationKeyEvent).
+-include("wxe.hrl").
+-export([getCurrentFocus/1,getDirection/1,isFromTab/1,isWindowChange/1,setCurrentFocus/2,
+ setDirection/2,setFromTab/2,setWindowChange/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxNavigationKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventgetdirection">external documentation</a>.
+getDirection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:call(?wxNavigationKeyEvent_GetDirection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent(), BForward::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetdirection">external documentation</a>.
+setDirection(#wx_ref{type=ThisT,ref=ThisRef},BForward)
+ when is_boolean(BForward) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:cast(?wxNavigationKeyEvent_SetDirection,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(BForward)):32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventiswindowchange">external documentation</a>.
+isWindowChange(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:call(?wxNavigationKeyEvent_IsWindowChange,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetwindowchange">external documentation</a>.
+setWindowChange(#wx_ref{type=ThisT,ref=ThisRef},BIs)
+ when is_boolean(BIs) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:cast(?wxNavigationKeyEvent_SetWindowChange,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(BIs)):32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventisfromtab">external documentation</a>.
+isFromTab(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:call(?wxNavigationKeyEvent_IsFromTab,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetfromtab">external documentation</a>.
+setFromTab(#wx_ref{type=ThisT,ref=ThisRef},BIs)
+ when is_boolean(BIs) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:cast(?wxNavigationKeyEvent_SetFromTab,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(BIs)):32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventgetcurrentfocus">external documentation</a>.
+getCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ wxe_util:call(?wxNavigationKeyEvent_GetCurrentFocus,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNavigationKeyEvent(), Win::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnavigationkeyevent.html#wxnavigationkeyeventsetcurrentfocus">external documentation</a>.
+setCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(ThisT,wxNavigationKeyEvent),
+ ?CLASS(WinT,wxWindow),
+ wxe_util:cast(?wxNavigationKeyEvent_SetCurrentFocus,
+ <<ThisRef:32/?UI,WinRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxNcPaintEvent.erl b/lib/wx/src/gen/wxNcPaintEvent.erl
new file mode 100644
index 0000000000..22e00d337d
--- /dev/null
+++ b/lib/wx/src/gen/wxNcPaintEvent.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxncpaintevent.html">wxNcPaintEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>nc_paint</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxNcPaint(). #wxNcPaint{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxNcPaintEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxNcPaintEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxNotebook.erl b/lib/wx/src/gen/wxNotebook.erl
new file mode 100644
index 0000000000..93cc741036
--- /dev/null
+++ b/lib/wx/src/gen/wxNotebook.erl
@@ -0,0 +1,720 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html">wxNotebook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxNotebook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxNotebook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,advanceSelection/1,advanceSelection/2,assignImageList/2,
+ changeSelection/2,create/3,create/4,deleteAllPages/1,deletePage/2,
+ destroy/1,getCurrentPage/1,getImageList/1,getPage/2,getPageCount/1,
+ getPageImage/2,getPageText/2,getRowCount/1,getSelection/1,getThemeBackgroundColour/1,
+ hitTest/2,insertPage/4,insertPage/5,new/0,new/2,new/3,removePage/2,setImageList/2,
+ setPadding/2,setPageImage/3,setPageSize/2,setPageText/3,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxNotebook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookwxnotebook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxNotebook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Winid::integer()) -> wxNotebook()
+%% @equiv new(Parent,Winid, [])
+new(Parent,Winid)
+ when is_record(Parent, wx_ref),is_integer(Winid) ->
+ new(Parent,Winid, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Winid::integer(), [Option]) -> wxNotebook()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookwxnotebook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Winid, Options)
+ when is_integer(Winid),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxNotebook_new_3,
+ <<ParentRef:32/?UI,Winid:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv addPage(This,Page,Text, [])
+addPage(This,Page,Text)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
+ addPage(This,Page,Text, []).
+
+%% @spec (This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxNotebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxNotebook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxNotebook()) -> ok
+%% @equiv advanceSelection(This, [])
+advanceSelection(This)
+ when is_record(This, wx_ref) ->
+ advanceSelection(This, []).
+
+%% @spec (This::wxNotebook(), [Option]) -> ok
+%% Option = {forward, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookadvanceselection">external documentation</a>.
+advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxNotebook),
+ MOpts = fun({forward, Forward}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Forward)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxNotebook_AdvanceSelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxNotebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxNotebook_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxNotebook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxNotebook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxNotebook()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookdeleteallpages">external documentation</a>.
+deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_DeleteAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_DeletePage,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_RemovePage,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), N::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetPage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetpageimage">external documentation</a>.
+getPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetPageImage,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetPageText,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetrowcount">external documentation</a>.
+getRowCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetRowCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookgetthemebackgroundcolour">external documentation</a>.
+getThemeBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_GetThemeBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), Pt::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_HitTest,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string()) -> bool()
+%% @equiv insertPage(This,Position,Win,StrText, [])
+insertPage(This,Position,Win,StrText)
+ when is_record(This, wx_ref),is_integer(Position),is_record(Win, wx_ref),is_list(StrText) ->
+ insertPage(This,Position,Win,StrText, []).
+
+%% @spec (This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=WinT,ref=WinRef},StrText, Options)
+ when is_integer(Position),is_list(StrText),is_list(Options) ->
+ ?CLASS(ThisT,wxNotebook),
+ ?CLASS(WinT,wxWindow),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxNotebook_InsertPage,
+ <<ThisRef:32/?UI,Position:32/?UI,WinRef:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((0+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxNotebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxNotebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxNotebook_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxNotebook(), Padding::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetpadding">external documentation</a>.
+setPadding(#wx_ref{type=ThisT,ref=ThisRef},{PaddingW,PaddingH})
+ when is_integer(PaddingW),is_integer(PaddingH) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:cast(?wxNotebook_SetPadding,
+ <<ThisRef:32/?UI,PaddingW:32/?UI,PaddingH:32/?UI>>).
+
+%% @spec (This::wxNotebook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:cast(?wxNotebook_SetPageSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer(), NImage::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetpageimage">external documentation</a>.
+setPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage,NImage)
+ when is_integer(NPage),is_integer(NImage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_SetPageImage,
+ <<ThisRef:32/?UI,NPage:32/?UI,NImage:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer(), StrText::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage,StrText)
+ when is_integer(NPage),is_list(StrText) ->
+ ?CLASS(ThisT,wxNotebook),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ wxe_util:call(?wxNotebook_SetPageText,
+ <<ThisRef:32/?UI,NPage:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((4+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_SetSelection,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook(), NPage::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebookchangeselection">external documentation</a>.
+changeSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage)
+ when is_integer(NPage) ->
+ ?CLASS(ThisT,wxNotebook),
+ wxe_util:call(?wxNotebook_ChangeSelection,
+ <<ThisRef:32/?UI,NPage:32/?UI>>).
+
+%% @spec (This::wxNotebook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxNotebook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxNotebookEvent.erl b/lib/wx/src/gen/wxNotebookEvent.erl
new file mode 100644
index 0000000000..4664f85527
--- /dev/null
+++ b/lib/wx/src/gen/wxNotebookEvent.erl
@@ -0,0 +1,122 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebookevent.html">wxNotebookEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_notebook_page_changed</em>, <em>command_notebook_page_changing</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxNotebook(). #wxNotebook{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxNotebookEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxNotebookEvent).
+-include("wxe.hrl").
+-export([getOldSelection/1,getSelection/1,setOldSelection/2,setSelection/2]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSkipped/1,
+ getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxNotebookEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebookevent.html#wxnotebookeventgetoldselection">external documentation</a>.
+getOldSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebookEvent),
+ wxe_util:call(?wxNotebookEvent_GetOldSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebookEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebookevent.html#wxnotebookeventgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotebookEvent),
+ wxe_util:call(?wxNotebookEvent_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotebookEvent(), NOldSel::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebookevent.html#wxnotebookeventsetoldselection">external documentation</a>.
+setOldSelection(#wx_ref{type=ThisT,ref=ThisRef},NOldSel)
+ when is_integer(NOldSel) ->
+ ?CLASS(ThisT,wxNotebookEvent),
+ wxe_util:cast(?wxNotebookEvent_SetOldSelection,
+ <<ThisRef:32/?UI,NOldSel:32/?UI>>).
+
+%% @spec (This::wxNotebookEvent(), NSel::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotebookevent.html#wxnotebookeventsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},NSel)
+ when is_integer(NSel) ->
+ ?CLASS(ThisT,wxNotebookEvent),
+ wxe_util:cast(?wxNotebookEvent_SetSelection,
+ <<ThisRef:32/?UI,NSel:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxNotifyEvent.erl b/lib/wx/src/gen/wxNotifyEvent.erl
new file mode 100644
index 0000000000..4e463aa7e0
--- /dev/null
+++ b/lib/wx/src/gen/wxNotifyEvent.erl
@@ -0,0 +1,102 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotifyevent.html">wxNotifyEvent</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxNotifyEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxNotifyEvent).
+-include("wxe.hrl").
+-export([allow/1,isAllowed/1,veto/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxNotifyEvent()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotifyevent.html#wxnotifyeventallow">external documentation</a>.
+allow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotifyEvent),
+ wxe_util:cast(?wxNotifyEvent_Allow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotifyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotifyevent.html#wxnotifyeventisallowed">external documentation</a>.
+isAllowed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotifyEvent),
+ wxe_util:call(?wxNotifyEvent_IsAllowed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxNotifyEvent()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxnotifyevent.html#wxnotifyeventveto">external documentation</a>.
+veto(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxNotifyEvent),
+ wxe_util:cast(?wxNotifyEvent_Veto,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxPageSetupDialog.erl b/lib/wx/src/gen/wxPageSetupDialog.erl
new file mode 100644
index 0000000000..73eac44ab5
--- /dev/null
+++ b/lib/wx/src/gen/wxPageSetupDialog.erl
@@ -0,0 +1,72 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialog.html">wxPageSetupDialog</a>.
+%% @type wxPageSetupDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPageSetupDialog).
+-include("wxe.hrl").
+-export([destroy/1,getPageSetupData/1,new/1,new/2,showModal/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxPageSetupDialog()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxPageSetupDialog()
+%% Option = {data, wxPageSetupDialogData:wxPageSetupDialogData()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialog.html#wxpagesetupdialogwxpagesetupdialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxPageSetupDialogData),[<<1:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPageSetupDialog_new,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPageSetupDialog()) -> wxPageSetupDialogData:wxPageSetupDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialog.html#wxpagesetupdialoggetpagesetupdata">external documentation</a>.
+getPageSetupData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialog),
+ wxe_util:call(?wxPageSetupDialog_GetPageSetupData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialog.html#wxpagesetupdialogshowmodal">external documentation</a>.
+showModal(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialog),
+ wxe_util:call(?wxPageSetupDialog_ShowModal,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPageSetupDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPageSetupDialogData.erl b/lib/wx/src/gen/wxPageSetupDialogData.erl
new file mode 100644
index 0000000000..576be819a2
--- /dev/null
+++ b/lib/wx/src/gen/wxPageSetupDialogData.erl
@@ -0,0 +1,294 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html">wxPageSetupDialogData</a>.
+%% @type wxPageSetupDialogData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPageSetupDialogData).
+-include("wxe.hrl").
+-export([destroy/1,enableHelp/2,enableMargins/2,enableOrientation/2,enablePaper/2,
+ enablePrinter/2,getDefaultInfo/1,getDefaultMinMargins/1,getEnableHelp/1,
+ getEnableMargins/1,getEnableOrientation/1,getEnablePaper/1,getEnablePrinter/1,
+ getMarginBottomRight/1,getMarginTopLeft/1,getMinMarginBottomRight/1,
+ getMinMarginTopLeft/1,getPaperId/1,getPaperSize/1,getPrintData/1,
+ isOk/1,new/0,new/1,setDefaultInfo/2,setDefaultMinMargins/2,setMarginBottomRight/2,
+ setMarginTopLeft/2,setMinMarginBottomRight/2,setMinMarginTopLeft/2,
+ setPaperId/2,setPaperSize/2,setPrintData/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPageSetupDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatawxpagesetupdialogdata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPageSetupDialogData_new_0,
+ <<>>).
+
+%% @spec (PrintData::wxPrintData:wxPrintData() | wxPageSetupDialogData()) -> wxPageSetupDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatawxpagesetupdialogdata">external documentation</a>.
+new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
+ PrintDataOP = case ?CLASS_T(PrintDataT,wxPrintData) of
+ true ->
+ ?wxPageSetupDialogData_new_1_1;
+ _ -> ?CLASS(PrintDataT,wxPageSetupDialogData),
+ ?wxPageSetupDialogData_new_1_0
+ end,
+ wxe_util:construct(PrintDataOP,
+ <<PrintDataRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataenablehelp">external documentation</a>.
+enableHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_EnableHelp,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataenablemargins">external documentation</a>.
+enableMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_EnableMargins,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataenableorientation">external documentation</a>.
+enableOrientation(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_EnableOrientation,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataenablepaper">external documentation</a>.
+enablePaper(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_EnablePaper,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataenableprinter">external documentation</a>.
+enablePrinter(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_EnablePrinter,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetdefaultminmargins">external documentation</a>.
+getDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetDefaultMinMargins,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetenablemargins">external documentation</a>.
+getEnableMargins(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetEnableMargins,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetenableorientation">external documentation</a>.
+getEnableOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetEnableOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetenablepaper">external documentation</a>.
+getEnablePaper(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetEnablePaper,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetenableprinter">external documentation</a>.
+getEnablePrinter(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetEnablePrinter,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetenablehelp">external documentation</a>.
+getEnableHelp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetEnableHelp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetdefaultinfo">external documentation</a>.
+getDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetDefaultInfo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetmargintopleft">external documentation</a>.
+getMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetMarginTopLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetmarginbottomright">external documentation</a>.
+getMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetMarginBottomRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetminmargintopleft">external documentation</a>.
+getMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetMinMarginTopLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetminmarginbottomright">external documentation</a>.
+getMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetMinMarginBottomRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetpaperid">external documentation</a>.
+getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetPaperId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetpapersize">external documentation</a>.
+getPaperSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetPaperSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> wxPrintData:wxPrintData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatagetprintdata">external documentation</a>.
+getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_GetPrintData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdataisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:call(?wxPageSetupDialogData_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetdefaultinfo">external documentation</a>.
+setDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetDefaultInfo,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetdefaultminmargins">external documentation</a>.
+setDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetDefaultMinMargins,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetmargintopleft">external documentation</a>.
+setMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetMarginTopLeft,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetmarginbottomright">external documentation</a>.
+setMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetMarginBottomRight,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetminmargintopleft">external documentation</a>.
+setMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetMinMarginTopLeft,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetminmarginbottomright">external documentation</a>.
+setMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetMinMarginBottomRight,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), Id::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetpaperid">external documentation</a>.
+setPaperId(#wx_ref{type=ThisT,ref=ThisRef},Id)
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetPaperId,
+ <<ThisRef:32/?UI,Id:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(),X::integer()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetpapersize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setPaperSize(This::wxPageSetupDialogData(), Id::integer()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setPaperSize(This::wxPageSetupDialogData(), Sz::{W::integer(),H::integer()}) -> ok </c>
+%% </p>
+setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},Id)
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetPaperSize_1_0,
+ <<ThisRef:32/?UI,Id:32/?UI>>);
+setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH})
+ when is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPageSetupDialogData_SetPaperSize_1_1,
+ <<ThisRef:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData(), PrintData::wxPrintData:wxPrintData()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpagesetupdialogdata.html#wxpagesetupdialogdatasetprintdata">external documentation</a>.
+setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
+ ?CLASS(ThisT,wxPageSetupDialogData),
+ ?CLASS(PrintDataT,wxPrintData),
+ wxe_util:cast(?wxPageSetupDialogData_SetPrintData,
+ <<ThisRef:32/?UI,PrintDataRef:32/?UI>>).
+
+%% @spec (This::wxPageSetupDialogData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPageSetupDialogData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPaintDC.erl b/lib/wx/src/gen/wxPaintDC.erl
new file mode 100644
index 0000000000..ea4e847f69
--- /dev/null
+++ b/lib/wx/src/gen/wxPaintDC.erl
@@ -0,0 +1,267 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpaintdc.html">wxPaintDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindowDC}
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxPaintDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPaintDC).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxWindowDC) -> true;
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPaintDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpaintdc.html#wxpaintdcwxpaintdc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPaintDC_new_0,
+ <<>>).
+
+%% @spec (Win::wxWindow:wxWindow()) -> wxPaintDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpaintdc.html#wxpaintdcwxpaintdc">external documentation</a>.
+new(#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(WinT,wxWindow),
+ wxe_util:construct(?wxPaintDC_new_1,
+ <<WinRef:32/?UI>>).
+
+%% @spec (This::wxPaintDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPaintDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindowDC
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxPaintEvent.erl b/lib/wx/src/gen/wxPaintEvent.erl
new file mode 100644
index 0000000000..9f6b84890b
--- /dev/null
+++ b/lib/wx/src/gen/wxPaintEvent.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpaintevent.html">wxPaintEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>paint</em>, <em>paint_icon</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxPaint(). #wxPaint{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxPaintEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPaintEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxPalette.erl b/lib/wx/src/gen/wxPalette.erl
new file mode 100644
index 0000000000..499e6f47ce
--- /dev/null
+++ b/lib/wx/src/gen/wxPalette.erl
@@ -0,0 +1,98 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html">wxPalette</a>.
+%% @type wxPalette(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPalette).
+-include("wxe.hrl").
+-export([create/4,destroy/1,getColoursCount/1,getPixel/4,getRGB/2,isOk/1,new/0,
+ new/3]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPalette()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettewxpalette">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPalette_new_0,
+ <<>>).
+
+%% @spec (Red::binary(), Green::binary(), Blue::binary()) -> wxPalette()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettewxpalette">external documentation</a>.
+new(Red,Green,Blue)
+ when is_binary(Red),is_binary(Green),is_binary(Blue) ->
+ wxe_util:send_bin(Red),
+ wxe_util:send_bin(Green),
+ wxe_util:send_bin(Blue),
+ wxe_util:construct(?wxPalette_new_4,
+ <<>>).
+
+%% @spec (This::wxPalette(), Red::binary(), Green::binary(), Blue::binary()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue)
+ when is_binary(Red),is_binary(Green),is_binary(Blue) ->
+ ?CLASS(ThisT,wxPalette),
+ wxe_util:send_bin(Red),
+ wxe_util:send_bin(Green),
+ wxe_util:send_bin(Blue),
+ wxe_util:call(?wxPalette_Create,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPalette()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetcolourscount">external documentation</a>.
+getColoursCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPalette),
+ wxe_util:call(?wxPalette_GetColoursCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPalette(), Red::integer(), Green::integer(), Blue::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetpixel">external documentation</a>.
+getPixel(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue)
+ when is_integer(Red),is_integer(Green),is_integer(Blue) ->
+ ?CLASS(ThisT,wxPalette),
+ wxe_util:call(?wxPalette_GetPixel,
+ <<ThisRef:32/?UI,Red:32/?UI,Green:32/?UI,Blue:32/?UI>>).
+
+%% @spec (This::wxPalette(), Pixel::integer()) -> {bool(),Red::integer(),Green::integer(),Blue::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpalettegetrgb">external documentation</a>.
+getRGB(#wx_ref{type=ThisT,ref=ThisRef},Pixel)
+ when is_integer(Pixel) ->
+ ?CLASS(ThisT,wxPalette),
+ wxe_util:call(?wxPalette_GetRGB,
+ <<ThisRef:32/?UI,Pixel:32/?UI>>).
+
+%% @spec (This::wxPalette()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalette.html#wxpaletteisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPalette),
+ wxe_util:call(?wxPalette_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPalette()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPalette),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPaletteChangedEvent.erl b/lib/wx/src/gen/wxPaletteChangedEvent.erl
new file mode 100644
index 0000000000..147389709c
--- /dev/null
+++ b/lib/wx/src/gen/wxPaletteChangedEvent.erl
@@ -0,0 +1,77 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalettechangedevent.html">wxPaletteChangedEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>palette_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxPaletteChanged(). #wxPaletteChanged{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxPaletteChangedEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPaletteChangedEvent).
+-include("wxe.hrl").
+-export([getChangedWindow/1,setChangedWindow/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxPaletteChangedEvent(), Win::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalettechangedevent.html#wxpalettechangedeventsetchangedwindow">external documentation</a>.
+setChangedWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(ThisT,wxPaletteChangedEvent),
+ ?CLASS(WinT,wxWindow),
+ wxe_util:cast(?wxPaletteChangedEvent_SetChangedWindow,
+ <<ThisRef:32/?UI,WinRef:32/?UI>>).
+
+%% @spec (This::wxPaletteChangedEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpalettechangedevent.html#wxpalettechangedeventgetchangedwindow">external documentation</a>.
+getChangedWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPaletteChangedEvent),
+ wxe_util:call(?wxPaletteChangedEvent_GetChangedWindow,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxPanel.erl b/lib/wx/src/gen/wxPanel.erl
new file mode 100644
index 0000000000..ca18caf4da
--- /dev/null
+++ b/lib/wx/src/gen/wxPanel.erl
@@ -0,0 +1,493 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html">wxPanel</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPanel(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPanel).
+-include("wxe.hrl").
+-export([destroy/1,initDialog/1,new/0,new/1,new/2,new/5,new/6]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,invalidateBestSize/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,
+ moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPanel()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html#wxpanelwxpanel">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPanel_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxPanel()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxPanel()
+%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html#wxpanelwxpanel">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPanel_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> wxPanel()
+%% @equiv new(Parent,X,Y,Width,Height, [])
+new(Parent,X,Y,Width,Height)
+ when is_record(Parent, wx_ref),is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) ->
+ new(Parent,X,Y,Width,Height, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), [Option]) -> wxPanel()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html#wxpanelwxpanel">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},X,Y,Width,Height, Options)
+ when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPanel_new_6,
+ <<ParentRef:32/?UI,X:32/?UI,Y:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPanel()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpanel.html#wxpanelinitdialog">external documentation</a>.
+initDialog(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPanel),
+ wxe_util:cast(?wxPanel_InitDialog,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPanel()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPanel),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPasswordEntryDialog.erl b/lib/wx/src/gen/wxPasswordEntryDialog.erl
new file mode 100644
index 0000000000..70728355e9
--- /dev/null
+++ b/lib/wx/src/gen/wxPasswordEntryDialog.erl
@@ -0,0 +1,550 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpasswordentrydialog.html">wxPasswordEntryDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxTextEntryDialog}
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPasswordEntryDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPasswordEntryDialog).
+-include("wxe.hrl").
+-export([destroy/1,new/2,new/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getValue/1,getVirtualSize/1,
+ getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,hasScrollbar/2,
+ hasTransparentBackground/1,hide/1,iconize/1,iconize/2,inheritAttributes/1,
+ initDialog/1,invalidateBestSize/1,isActive/1,isEnabled/1,isExposed/2,
+ isExposed/3,isExposed/5,isFullScreen/1,isIconized/1,isMaximized/1,
+ isModal/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,
+ lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,move/2,move/3,
+ move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,navigate/2,
+ pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,requestUserAttention/1,
+ requestUserAttention/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,
+ setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setReturnCode/2,setScrollPos/3,
+ setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,
+ setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
+ setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,
+ setTitle/2,setToolTip/2,setValue/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxTextEntryDialog) -> true;
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxPasswordEntryDialog()
+%% @equiv new(Parent,Message, [])
+new(Parent,Message)
+ when is_record(Parent, wx_ref),is_list(Message) ->
+ new(Parent,Message, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxPasswordEntryDialog()
+%% Option = {caption, string()} | {value, string()} | {style, integer()} | {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpasswordentrydialog.html#wxpasswordentrydialogwxpasswordentrydialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options)
+ when is_list(Message),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ MOpts = fun({caption, Caption}, Acc) -> Caption_UC = unicode:characters_to_binary([Caption,0]),[<<1:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((0+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<2:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<4:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPasswordEntryDialog_new,
+ <<ParentRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxPasswordEntryDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPasswordEntryDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxTextEntryDialog
+%% @hidden
+setValue(This,Val) -> wxTextEntryDialog:setValue(This,Val).
+%% @hidden
+getValue(This) -> wxTextEntryDialog:getValue(This).
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPen.erl b/lib/wx/src/gen/wxPen.erl
new file mode 100644
index 0000000000..cf159f559e
--- /dev/null
+++ b/lib/wx/src/gen/wxPen.erl
@@ -0,0 +1,156 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html">wxPen</a>.
+%% @type wxPen(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPen).
+-include("wxe.hrl").
+-export([destroy/1,getCap/1,getColour/1,getJoin/1,getStyle/1,getWidth/1,isOk/1,
+ new/0,new/1,new/2,setCap/2,setColour/2,setColour/4,setJoin/2,setStyle/2,
+ setWidth/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPen()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpenwxpen">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPen_new_0,
+ <<>>).
+
+%% @spec (Colour::wx:colour()) -> wxPen()
+%% @equiv new(Colour, [])
+new(Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ new(Colour, []).
+
+%% @spec (Colour::wx:colour(), [Option]) -> wxPen()
+%% Option = {width, integer()} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpenwxpen">external documentation</a>.
+new(Colour, Options)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4,is_list(Options) ->
+ MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPen_new_2,
+ <<(wxe_util:colour_bin(Colour)):16/binary, BinOpt/binary>>).
+
+%% @spec (This::wxPen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpengetcap">external documentation</a>.
+getCap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_GetCap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpengetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpengetjoin">external documentation</a>.
+getJoin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_GetJoin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpengetstyle">external documentation</a>.
+getStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_GetStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpengetwidth">external documentation</a>.
+getWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_GetWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpenisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:call(?wxPen_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPen(), CapStyle::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetcap">external documentation</a>.
+setCap(#wx_ref{type=ThisT,ref=ThisRef},CapStyle)
+ when is_integer(CapStyle) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetCap,
+ <<ThisRef:32/?UI,CapStyle:32/?UI>>).
+
+%% @spec (This::wxPen(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetColour_1,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxPen(), Red::integer(), Green::integer(), Blue::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue)
+ when is_integer(Red),is_integer(Green),is_integer(Blue) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetColour_3,
+ <<ThisRef:32/?UI,Red:32/?UI,Green:32/?UI,Blue:32/?UI>>).
+
+%% @spec (This::wxPen(), JoinStyle::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetjoin">external documentation</a>.
+setJoin(#wx_ref{type=ThisT,ref=ThisRef},JoinStyle)
+ when is_integer(JoinStyle) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetJoin,
+ <<ThisRef:32/?UI,JoinStyle:32/?UI>>).
+
+%% @spec (This::wxPen(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetstyle">external documentation</a>.
+setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetStyle,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxPen(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpen.html#wxpensetwidth">external documentation</a>.
+setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxPen),
+ wxe_util:cast(?wxPen_SetWidth,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxPen()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPen),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPickerBase.erl b/lib/wx/src/gen/wxPickerBase.erl
new file mode 100644
index 0000000000..173f31faf0
--- /dev/null
+++ b/lib/wx/src/gen/wxPickerBase.erl
@@ -0,0 +1,552 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html">wxPickerBase</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPickerBase(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPickerBase).
+-include("wxe.hrl").
+-export([getInternalMargin/1,getPickerCtrlProportion/1,getTextCtrl/1,getTextCtrlProportion/1,
+ hasTextCtrl/1,isPickerCtrlGrowable/1,isTextCtrlGrowable/1,setInternalMargin/2,
+ setPickerCtrlGrowable/1,setPickerCtrlGrowable/2,setPickerCtrlProportion/2,
+ setTextCtrlGrowable/1,setTextCtrlGrowable/2,setTextCtrlProportion/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxPickerBase(), Newmargin::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasesetinternalmargin">external documentation</a>.
+setInternalMargin(#wx_ref{type=ThisT,ref=ThisRef},Newmargin)
+ when is_integer(Newmargin) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:cast(?wxPickerBase_SetInternalMargin,
+ <<ThisRef:32/?UI,Newmargin:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasegetinternalmargin">external documentation</a>.
+getInternalMargin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_GetInternalMargin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase(), Prop::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasesettextctrlproportion">external documentation</a>.
+setTextCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef},Prop)
+ when is_integer(Prop) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:cast(?wxPickerBase_SetTextCtrlProportion,
+ <<ThisRef:32/?UI,Prop:32/?UI>>).
+
+%% @spec (This::wxPickerBase(), Prop::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasesetpickerctrlproportion">external documentation</a>.
+setPickerCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef},Prop)
+ when is_integer(Prop) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:cast(?wxPickerBase_SetPickerCtrlProportion,
+ <<ThisRef:32/?UI,Prop:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasegettextctrlproportion">external documentation</a>.
+getTextCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_GetTextCtrlProportion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasegetpickerctrlproportion">external documentation</a>.
+getPickerCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_GetPickerCtrlProportion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasehastextctrl">external documentation</a>.
+hasTextCtrl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_HasTextCtrl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> wxTextCtrl:wxTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasegettextctrl">external documentation</a>.
+getTextCtrl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_GetTextCtrl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbaseistextctrlgrowable">external documentation</a>.
+isTextCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_IsTextCtrlGrowable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPickerBase()) -> ok
+%% @equiv setPickerCtrlGrowable(This, [])
+setPickerCtrlGrowable(This)
+ when is_record(This, wx_ref) ->
+ setPickerCtrlGrowable(This, []).
+
+%% @spec (This::wxPickerBase(), [Option]) -> ok
+%% Option = {grow, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasesetpickerctrlgrowable">external documentation</a>.
+setPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxPickerBase),
+ MOpts = fun({grow, Grow}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Grow)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxPickerBase_SetPickerCtrlGrowable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPickerBase()) -> ok
+%% @equiv setTextCtrlGrowable(This, [])
+setTextCtrlGrowable(This)
+ when is_record(This, wx_ref) ->
+ setTextCtrlGrowable(This, []).
+
+%% @spec (This::wxPickerBase(), [Option]) -> ok
+%% Option = {grow, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbasesettextctrlgrowable">external documentation</a>.
+setTextCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxPickerBase),
+ MOpts = fun({grow, Grow}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Grow)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxPickerBase_SetTextCtrlGrowable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPickerBase()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpickerbase.html#wxpickerbaseispickerctrlgrowable">external documentation</a>.
+isPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPickerBase),
+ wxe_util:call(?wxPickerBase_IsPickerCtrlGrowable,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPostScriptDC.erl b/lib/wx/src/gen/wxPostScriptDC.erl
new file mode 100644
index 0000000000..6e67abdd08
--- /dev/null
+++ b/lib/wx/src/gen/wxPostScriptDC.erl
@@ -0,0 +1,277 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html">wxPostScriptDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxPostScriptDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPostScriptDC).
+-include("wxe.hrl").
+-export([destroy/1,getResolution/0,new/0,new/1,setResolution/1]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPostScriptDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcwxpostscriptdc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPostScriptDC_new_0,
+ <<>>).
+
+%% @spec (PrintData::wxPrintData:wxPrintData()) -> wxPostScriptDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcwxpostscriptdc">external documentation</a>.
+new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
+ ?CLASS(PrintDataT,wxPrintData),
+ wxe_util:construct(?wxPostScriptDC_new_1,
+ <<PrintDataRef:32/?UI>>).
+
+%% @spec (Ppi::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcsetresolution">external documentation</a>.
+setResolution(Ppi)
+ when is_integer(Ppi) ->
+ wxe_util:cast(?wxPostScriptDC_SetResolution,
+ <<Ppi:32/?UI>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpostscriptdc.html#wxpostscriptdcgetresolution">external documentation</a>.
+getResolution() ->
+ wxe_util:call(?wxPostScriptDC_GetResolution,
+ <<>>).
+
+%% @spec (This::wxPostScriptDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPostScriptDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxPreviewCanvas.erl b/lib/wx/src/gen/wxPreviewCanvas.erl
new file mode 100644
index 0000000000..4f52e2015f
--- /dev/null
+++ b/lib/wx/src/gen/wxPreviewCanvas.erl
@@ -0,0 +1,475 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcanvas.html">wxPreviewCanvas</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxScrolledWindow}
+%% <br />{@link wxPanel}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPreviewCanvas(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPreviewCanvas).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([cacheBestSize/2,calcScrolledPosition/2,calcScrolledPosition/3,calcUnscrolledPosition/2,
+ calcUnscrolledPosition/3,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ doPrepareDC/2,enable/1,enable/2,enableScrolling/3,findWindow/2,fit/1,
+ fitInside/1,freeze/1,getAcceleratorTable/1,getBackgroundColour/1,
+ getBackgroundStyle/1,getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,
+ getChildren/1,getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPixelsPerUnit/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getToolTip/1,getUpdateRegion/1,getViewStart/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,prepareDC/2,raise/1,refresh/1,refresh/2,
+ refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,
+ screenToClient/1,screenToClient/2,scroll/3,scrollLines/2,scrollPages/2,
+ scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollRate/3,setScrollbar/5,setScrollbar/6,
+ setScrollbars/5,setScrollbars/6,setSize/2,setSize/3,setSize/5,setSize/6,
+ setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,setSizer/3,
+ setSizerAndFit/2,setSizerAndFit/3,setTargetWindow/2,setThemeEnabled/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxScrolledWindow) -> true;
+parent_class(wxPanel) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxScrolledWindow
+%% @hidden
+setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target).
+%% @hidden
+setScrollRate(This,Xstep,Ystep) -> wxScrolledWindow:setScrollRate(This,Xstep,Ystep).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options).
+%% @hidden
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY) -> wxScrolledWindow:setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY).
+%% @hidden
+scroll(This,X,Y) -> wxScrolledWindow:scroll(This,X,Y).
+%% @hidden
+prepareDC(This,Dc) -> wxScrolledWindow:prepareDC(This,Dc).
+%% @hidden
+doPrepareDC(This,Dc) -> wxScrolledWindow:doPrepareDC(This,Dc).
+%% @hidden
+getViewStart(This) -> wxScrolledWindow:getViewStart(This).
+%% @hidden
+getScrollPixelsPerUnit(This) -> wxScrolledWindow:getScrollPixelsPerUnit(This).
+%% @hidden
+enableScrolling(This,X_scrolling,Y_scrolling) -> wxScrolledWindow:enableScrolling(This,X_scrolling,Y_scrolling).
+%% @hidden
+calcUnscrolledPosition(This,X,Y) -> wxScrolledWindow:calcUnscrolledPosition(This,X,Y).
+%% @hidden
+calcUnscrolledPosition(This,Pt) -> wxScrolledWindow:calcUnscrolledPosition(This,Pt).
+%% @hidden
+calcScrolledPosition(This,X,Y) -> wxScrolledWindow:calcScrolledPosition(This,X,Y).
+%% @hidden
+calcScrolledPosition(This,Pt) -> wxScrolledWindow:calcScrolledPosition(This,Pt).
+ %% From wxPanel
+%% @hidden
+initDialog(This) -> wxPanel:initDialog(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPreviewControlBar.erl b/lib/wx/src/gen/wxPreviewControlBar.erl
new file mode 100644
index 0000000000..0118977e9a
--- /dev/null
+++ b/lib/wx/src/gen/wxPreviewControlBar.erl
@@ -0,0 +1,497 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html">wxPreviewControlBar</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPanel}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPreviewControlBar(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPreviewControlBar).
+-include("wxe.hrl").
+-export([createButtons/1,destroy/1,getPrintPreview/1,getZoomControl/1,new/3,
+ new/4,setZoomControl/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPanel) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow()) -> wxPreviewControlBar()
+%% @equiv new(Preview,Buttons,Parent, [])
+new(Preview,Buttons,Parent)
+ when is_record(Preview, wx_ref),is_integer(Buttons),is_record(Parent, wx_ref) ->
+ new(Preview,Buttons,Parent, []).
+
+%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow(), [Option]) -> wxPreviewControlBar()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html#wxpreviewcontrolbarwxpreviewcontrolbar">external documentation</a>.
+new(#wx_ref{type=PreviewT,ref=PreviewRef},Buttons,#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_integer(Buttons),is_list(Options) ->
+ ?CLASS(PreviewT,wxPrintPreview),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPreviewControlBar_new,
+ <<PreviewRef:32/?UI,Buttons:32/?UI,ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPreviewControlBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html#wxpreviewcontrolbarcreatebuttons">external documentation</a>.
+createButtons(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewControlBar),
+ wxe_util:cast(?wxPreviewControlBar_CreateButtons,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewControlBar()) -> wxPrintPreview:wxPrintPreview()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html#wxpreviewcontrolbargetprintpreview">external documentation</a>.
+getPrintPreview(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewControlBar),
+ wxe_util:call(?wxPreviewControlBar_GetPrintPreview,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewControlBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html#wxpreviewcontrolbargetzoomcontrol">external documentation</a>.
+getZoomControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewControlBar),
+ wxe_util:call(?wxPreviewControlBar_GetZoomControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewControlBar(), Zoom::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewcontrolbar.html#wxpreviewcontrolbarsetzoomcontrol">external documentation</a>.
+setZoomControl(#wx_ref{type=ThisT,ref=ThisRef},Zoom)
+ when is_integer(Zoom) ->
+ ?CLASS(ThisT,wxPreviewControlBar),
+ wxe_util:cast(?wxPreviewControlBar_SetZoomControl,
+ <<ThisRef:32/?UI,Zoom:32/?UI>>).
+
+%% @spec (This::wxPreviewControlBar()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPreviewControlBar),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPanel
+%% @hidden
+initDialog(This) -> wxPanel:initDialog(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPreviewFrame.erl b/lib/wx/src/gen/wxPreviewFrame.erl
new file mode 100644
index 0000000000..93dac8dbd9
--- /dev/null
+++ b/lib/wx/src/gen/wxPreviewFrame.erl
@@ -0,0 +1,593 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html">wxPreviewFrame</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFrame}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPreviewFrame(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPreviewFrame).
+-include("wxe.hrl").
+-export([createCanvas/1,createControlBar/1,destroy/1,initialize/1,new/2,new/3,
+ onCloseWindow/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientAreaOrigin/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,
+ getLabel/1,getMaxSize/1,getMenuBar/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getStatusBar/1,
+ getStatusBarPane/1,getTextExtent/2,getTextExtent/3,getTitle/1,getToolBar/1,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,
+ move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,requestUserAttention/1,requestUserAttention/2,
+ screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,
+ scrollWindow/4,sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,setMaxSize/2,
+ setMenuBar/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setStatusBar/2,setStatusBarPane/2,
+ setStatusText/2,setStatusText/3,setStatusWidths/2,setThemeEnabled/2,
+ setTitle/2,setToolBar/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxFrame) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow()) -> wxPreviewFrame()
+%% @equiv new(Preview,Parent, [])
+new(Preview,Parent)
+ when is_record(Preview, wx_ref),is_record(Parent, wx_ref) ->
+ new(Preview,Parent, []).
+
+%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow(), [Option]) -> wxPreviewFrame()
+%% Option = {title, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html#wxpreviewframewxpreviewframe">external documentation</a>.
+new(#wx_ref{type=PreviewT,ref=PreviewRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(PreviewT,wxPrintPreview),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({title, Title}, Acc) -> Title_UC = unicode:characters_to_binary([Title,0]),[<<1:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPreviewFrame_new,
+ <<PreviewRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxPreviewFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html#wxpreviewframecreatecontrolbar">external documentation</a>.
+createControlBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewFrame),
+ wxe_util:cast(?wxPreviewFrame_CreateControlBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html#wxpreviewframecreatecanvas">external documentation</a>.
+createCanvas(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewFrame),
+ wxe_util:cast(?wxPreviewFrame_CreateCanvas,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html#wxpreviewframeinitialize">external documentation</a>.
+initialize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPreviewFrame),
+ wxe_util:cast(?wxPreviewFrame_Initialize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPreviewFrame(), Event::wxCloseEvent:wxCloseEvent()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxpreviewframe.html#wxpreviewframeonclosewindow">external documentation</a>.
+onCloseWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) ->
+ ?CLASS(ThisT,wxPreviewFrame),
+ ?CLASS(EventT,wxCloseEvent),
+ wxe_util:cast(?wxPreviewFrame_OnCloseWindow,
+ <<ThisRef:32/?UI,EventRef:32/?UI>>).
+
+%% @spec (This::wxPreviewFrame()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPreviewFrame),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFrame
+%% @hidden
+setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+%% @hidden
+setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
+%% @hidden
+setStatusText(This,Text, Options) -> wxFrame:setStatusText(This,Text, Options).
+%% @hidden
+setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
+%% @hidden
+setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
+%% @hidden
+setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+%% @hidden
+setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+%% @hidden
+sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
+%% @hidden
+processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+%% @hidden
+getToolBar(This) -> wxFrame:getToolBar(This).
+%% @hidden
+getStatusBarPane(This) -> wxFrame:getStatusBarPane(This).
+%% @hidden
+getStatusBar(This) -> wxFrame:getStatusBar(This).
+%% @hidden
+getMenuBar(This) -> wxFrame:getMenuBar(This).
+%% @hidden
+getClientAreaOrigin(This) -> wxFrame:getClientAreaOrigin(This).
+%% @hidden
+createToolBar(This, Options) -> wxFrame:createToolBar(This, Options).
+%% @hidden
+createToolBar(This) -> wxFrame:createToolBar(This).
+%% @hidden
+createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options).
+%% @hidden
+createStatusBar(This) -> wxFrame:createStatusBar(This).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPrintData.erl b/lib/wx/src/gen/wxPrintData.erl
new file mode 100644
index 0000000000..49fad6b093
--- /dev/null
+++ b/lib/wx/src/gen/wxPrintData.erl
@@ -0,0 +1,207 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html">wxPrintData</a>.
+%% @type wxPrintData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrintData).
+-include("wxe.hrl").
+-export([destroy/1,getBin/1,getCollate/1,getColour/1,getDuplex/1,getNoCopies/1,
+ getOrientation/1,getPaperId/1,getPrinterName/1,getQuality/1,isOk/1,
+ new/0,new/1,setBin/2,setCollate/2,setColour/2,setDuplex/2,setNoCopies/2,
+ setOrientation/2,setPaperId/2,setPrinterName/2,setQuality/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPrintData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatawxprintdata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPrintData_new_0,
+ <<>>).
+
+%% @spec (PrintData::wxPrintData()) -> wxPrintData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatawxprintdata">external documentation</a>.
+new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
+ ?CLASS(PrintDataT,wxPrintData),
+ wxe_util:construct(?wxPrintData_new_1,
+ <<PrintDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetcollate">external documentation</a>.
+getCollate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetCollate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> WxPrintBin
+%% WxPrintBin = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetbin">external documentation</a>.
+%%<br /> WxPrintBin is one of ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER
+getBin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetBin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetcolour">external documentation</a>.
+getColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> WxDuplexMode
+%% WxDuplexMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetduplex">external documentation</a>.
+%%<br /> WxDuplexMode is one of ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL
+getDuplex(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetDuplex,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetnocopies">external documentation</a>.
+getNoCopies(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetNoCopies,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetorientation">external documentation</a>.
+getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetpaperid">external documentation</a>.
+getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetPaperId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetprintername">external documentation</a>.
+getPrinterName(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetPrinterName,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatagetquality">external documentation</a>.
+getQuality(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_GetQuality,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdataisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:call(?wxPrintData_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintData(), Bin::WxPrintBin) -> ok
+%% WxPrintBin = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetbin">external documentation</a>.
+%%<br /> WxPrintBin is one of ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER
+setBin(#wx_ref{type=ThisT,ref=ThisRef},Bin)
+ when is_integer(Bin) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetBin,
+ <<ThisRef:32/?UI,Bin:32/?UI>>).
+
+%% @spec (This::wxPrintData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetcollate">external documentation</a>.
+setCollate(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetCollate,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintData(), Colour::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetcolour">external documentation</a>.
+setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when is_boolean(Colour) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetColour,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Colour)):32/?UI>>).
+
+%% @spec (This::wxPrintData(), Duplex::WxDuplexMode) -> ok
+%% WxDuplexMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetduplex">external documentation</a>.
+%%<br /> WxDuplexMode is one of ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL
+setDuplex(#wx_ref{type=ThisT,ref=ThisRef},Duplex)
+ when is_integer(Duplex) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetDuplex,
+ <<ThisRef:32/?UI,Duplex:32/?UI>>).
+
+%% @spec (This::wxPrintData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetnocopies">external documentation</a>.
+setNoCopies(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetNoCopies,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintData(), Orient::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetorientation">external documentation</a>.
+setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetOrientation,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxPrintData(), SizeId::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetpaperid">external documentation</a>.
+setPaperId(#wx_ref{type=ThisT,ref=ThisRef},SizeId)
+ when is_integer(SizeId) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetPaperId,
+ <<ThisRef:32/?UI,SizeId:32/?UI>>).
+
+%% @spec (This::wxPrintData(), Name::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetprintername">external documentation</a>.
+setPrinterName(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxPrintData),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:cast(?wxPrintData_SetPrinterName,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxPrintData(), Quality::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdata.html#wxprintdatasetquality">external documentation</a>.
+setQuality(#wx_ref{type=ThisT,ref=ThisRef},Quality)
+ when is_integer(Quality) ->
+ ?CLASS(ThisT,wxPrintData),
+ wxe_util:cast(?wxPrintData_SetQuality,
+ <<ThisRef:32/?UI,Quality:32/?UI>>).
+
+%% @spec (This::wxPrintData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrintData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPrintDialog.erl b/lib/wx/src/gen/wxPrintDialog.erl
new file mode 100644
index 0000000000..5100e7dcd4
--- /dev/null
+++ b/lib/wx/src/gen/wxPrintDialog.erl
@@ -0,0 +1,564 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialog.html">wxPrintDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxPrintDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrintDialog).
+-include("wxe.hrl").
+-export([destroy/1,getPrintDC/1,getPrintDialogData/1,new/1,new/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxPrintDialog()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(),X::term()) -> wxPrintDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialog.html#wxprintdialogwxprintdialog">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), [Option]) -> wxPrintDialog() </c>
+%%<br /> Option = {data, wxPrintDialogData:wxPrintDialogData()}
+%% </p>
+%% <p><c>
+%% new(Parent::wxWindow:wxWindow(), Data::wxPrintData:wxPrintData()) -> wxPrintDialog() </c>
+%% </p>
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxPrintDialogData),[<<1:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPrintDialog_new_2_0,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>);
+new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(DataT,wxPrintData),
+ wxe_util:construct(?wxPrintDialog_new_2_1,
+ <<ParentRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialog()) -> wxPrintDialogData:wxPrintDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialog.html#wxprintdialoggetprintdialogdata">external documentation</a>.
+getPrintDialogData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialog),
+ wxe_util:call(?wxPrintDialog_GetPrintDialogData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialog()) -> wxDC:wxDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialog.html#wxprintdialoggetprintdc">external documentation</a>.
+getPrintDC(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialog),
+ wxe_util:call(?wxPrintDialog_GetPrintDC,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrintDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxPrintDialogData.erl b/lib/wx/src/gen/wxPrintDialogData.erl
new file mode 100644
index 0000000000..b4ad5a4a82
--- /dev/null
+++ b/lib/wx/src/gen/wxPrintDialogData.erl
@@ -0,0 +1,243 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html">wxPrintDialogData</a>.
+%% @type wxPrintDialogData(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrintDialogData).
+-include("wxe.hrl").
+-export([destroy/1,enableHelp/2,enablePageNumbers/2,enablePrintToFile/2,enableSelection/2,
+ getAllPages/1,getCollate/1,getFromPage/1,getMaxPage/1,getMinPage/1,
+ getNoCopies/1,getPrintData/1,getPrintToFile/1,getSelection/1,getToPage/1,
+ isOk/1,new/0,new/1,setCollate/2,setFromPage/2,setMaxPage/2,setMinPage/2,
+ setNoCopies/2,setPrintData/2,setPrintToFile/2,setSelection/2,setToPage/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPrintDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatawxprintdialogdata">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxPrintDialogData_new_0,
+ <<>>).
+
+%% @spec (DialogData::wxPrintDialogData() | wxPrintData:wxPrintData()) -> wxPrintDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatawxprintdialogdata">external documentation</a>.
+new(#wx_ref{type=DialogDataT,ref=DialogDataRef}) ->
+ DialogDataOP = case ?CLASS_T(DialogDataT,wxPrintDialogData) of
+ true ->
+ ?wxPrintDialogData_new_1_1;
+ _ -> ?CLASS(DialogDataT,wxPrintData),
+ ?wxPrintDialogData_new_1_0
+ end,
+ wxe_util:construct(DialogDataOP,
+ <<DialogDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdataenablehelp">external documentation</a>.
+enableHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_EnableHelp,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdataenablepagenumbers">external documentation</a>.
+enablePageNumbers(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_EnablePageNumbers,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdataenableprinttofile">external documentation</a>.
+enablePrintToFile(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_EnablePrintToFile,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdataenableselection">external documentation</a>.
+enableSelection(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_EnableSelection,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetallpages">external documentation</a>.
+getAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetcollate">external documentation</a>.
+getCollate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetCollate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetfrompage">external documentation</a>.
+getFromPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetFromPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetmaxpage">external documentation</a>.
+getMaxPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetMaxPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetminpage">external documentation</a>.
+getMinPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetMinPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetnocopies">external documentation</a>.
+getNoCopies(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetNoCopies,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> wxPrintData:wxPrintData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetprintdata">external documentation</a>.
+getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetPrintData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetprinttofile">external documentation</a>.
+getPrintToFile(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetPrintToFile,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatagettopage">external documentation</a>.
+getToPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_GetToPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdataisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:call(?wxPrintDialogData_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetcollate">external documentation</a>.
+setCollate(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetCollate,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetfrompage">external documentation</a>.
+setFromPage(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetFromPage,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetmaxpage">external documentation</a>.
+setMaxPage(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetMaxPage,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetminpage">external documentation</a>.
+setMinPage(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetMinPage,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetnocopies">external documentation</a>.
+setNoCopies(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetNoCopies,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), PrintData::wxPrintData:wxPrintData()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetprintdata">external documentation</a>.
+setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDataRef}) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ ?CLASS(PrintDataT,wxPrintData),
+ wxe_util:cast(?wxPrintDialogData_SetPrintData,
+ <<ThisRef:32/?UI,PrintDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetprinttofile">external documentation</a>.
+setPrintToFile(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetPrintToFile,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_boolean(Flag) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetSelection,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (This::wxPrintDialogData(), V::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintdialogdata.html#wxprintdialogdatasettopage">external documentation</a>.
+setToPage(#wx_ref{type=ThisT,ref=ThisRef},V)
+ when is_integer(V) ->
+ ?CLASS(ThisT,wxPrintDialogData),
+ wxe_util:cast(?wxPrintDialogData_SetToPage,
+ <<ThisRef:32/?UI,V:32/?UI>>).
+
+%% @spec (This::wxPrintDialogData()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrintDialogData),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPrintPreview.erl b/lib/wx/src/gen/wxPrintPreview.erl
new file mode 100644
index 0000000000..8a616c64fb
--- /dev/null
+++ b/lib/wx/src/gen/wxPrintPreview.erl
@@ -0,0 +1,192 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html">wxPrintPreview</a>.
+%% @type wxPrintPreview(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrintPreview).
+-include("wxe.hrl").
+-export([destroy/1,getCanvas/1,getCurrentPage/1,getFrame/1,getMaxPage/1,getMinPage/1,
+ getPrintout/1,getPrintoutForPrinting/1,isOk/1,new/1,new/2,new/3,paintPage/3,
+ print/2,renderPage/2,setCanvas/2,setCurrentPage/2,setFrame/2,setPrintout/2,
+ setZoom/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Printout::wxPrintout:wxPrintout()) -> wxPrintPreview()
+%% @equiv new(Printout, [])
+new(Printout)
+ when is_record(Printout, wx_ref) ->
+ new(Printout, []).
+
+%% @spec (Printout::wxPrintout:wxPrintout(), [Option]) -> wxPrintPreview()
+%% Option = {printoutForPrinting, wxPrintout:wxPrintout()} | {data, wxPrintDialogData:wxPrintDialogData()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewwxprintpreview">external documentation</a>.
+new(#wx_ref{type=PrintoutT,ref=PrintoutRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(PrintoutT,wxPrintout),
+ MOpts = fun({printoutForPrinting, #wx_ref{type=PrintoutForPrintingT,ref=PrintoutForPrintingRef}}, Acc) -> ?CLASS(PrintoutForPrintingT,wxPrintout),[<<1:32/?UI,PrintoutForPrintingRef:32/?UI>>|Acc];
+ ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxPrintDialogData),[<<2:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPrintPreview_new_2,
+ <<PrintoutRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Printout::wxPrintout:wxPrintout(), PrintoutForPrinting::wxPrintout:wxPrintout(), Data::wxPrintData:wxPrintData()) -> wxPrintPreview()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewwxprintpreview">external documentation</a>.
+new(#wx_ref{type=PrintoutT,ref=PrintoutRef},#wx_ref{type=PrintoutForPrintingT,ref=PrintoutForPrintingRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(PrintoutT,wxPrintout),
+ ?CLASS(PrintoutForPrintingT,wxPrintout),
+ ?CLASS(DataT,wxPrintData),
+ wxe_util:construct(?wxPrintPreview_new_3,
+ <<PrintoutRef:32/?UI,PrintoutForPrintingRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> wxPreviewCanvas:wxPreviewCanvas()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetcanvas">external documentation</a>.
+getCanvas(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetCanvas,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> wxFrame:wxFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetframe">external documentation</a>.
+getFrame(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetFrame,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetmaxpage">external documentation</a>.
+getMaxPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetMaxPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetminpage">external documentation</a>.
+getMinPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetMinPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> wxPrintout:wxPrintout()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetprintout">external documentation</a>.
+getPrintout(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetPrintout,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> wxPrintout:wxPrintout()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewgetprintoutforprinting">external documentation</a>.
+getPrintoutForPrinting(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_GetPrintoutForPrinting,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewisok">external documentation</a>.
+isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_IsOk,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas(), Dc::wxDC:wxDC()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewpaintpage">external documentation</a>.
+paintPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CanvasT,ref=CanvasRef},#wx_ref{type=DcT,ref=DcRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ ?CLASS(CanvasT,wxPreviewCanvas),
+ ?CLASS(DcT,wxDC),
+ wxe_util:call(?wxPrintPreview_PaintPage,
+ <<ThisRef:32/?UI,CanvasRef:32/?UI,DcRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Interactive::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewprint">external documentation</a>.
+print(#wx_ref{type=ThisT,ref=ThisRef},Interactive)
+ when is_boolean(Interactive) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_Print,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Interactive)):32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), PageNum::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewrenderpage">external documentation</a>.
+renderPage(#wx_ref{type=ThisT,ref=ThisRef},PageNum)
+ when is_integer(PageNum) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_RenderPage,
+ <<ThisRef:32/?UI,PageNum:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewsetcanvas">external documentation</a>.
+setCanvas(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CanvasT,ref=CanvasRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ ?CLASS(CanvasT,wxPreviewCanvas),
+ wxe_util:cast(?wxPrintPreview_SetCanvas,
+ <<ThisRef:32/?UI,CanvasRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), PageNum::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewsetcurrentpage">external documentation</a>.
+setCurrentPage(#wx_ref{type=ThisT,ref=ThisRef},PageNum)
+ when is_integer(PageNum) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:call(?wxPrintPreview_SetCurrentPage,
+ <<ThisRef:32/?UI,PageNum:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Frame::wxFrame:wxFrame()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewsetframe">external documentation</a>.
+setFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ ?CLASS(FrameT,wxFrame),
+ wxe_util:cast(?wxPrintPreview_SetFrame,
+ <<ThisRef:32/?UI,FrameRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Printout::wxPrintout:wxPrintout()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewsetprintout">external documentation</a>.
+setPrintout(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ ?CLASS(PrintoutT,wxPrintout),
+ wxe_util:cast(?wxPrintPreview_SetPrintout,
+ <<ThisRef:32/?UI,PrintoutRef:32/?UI>>).
+
+%% @spec (This::wxPrintPreview(), Percent::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintpreview.html#wxprintpreviewsetzoom">external documentation</a>.
+setZoom(#wx_ref{type=ThisT,ref=ThisRef},Percent)
+ when is_integer(Percent) ->
+ ?CLASS(ThisT,wxPrintPreview),
+ wxe_util:cast(?wxPrintPreview_SetZoom,
+ <<ThisRef:32/?UI,Percent:32/?UI>>).
+
+%% @spec (This::wxPrintPreview()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrintPreview),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPrinter.erl b/lib/wx/src/gen/wxPrinter.erl
new file mode 100644
index 0000000000..d12a1f5909
--- /dev/null
+++ b/lib/wx/src/gen/wxPrinter.erl
@@ -0,0 +1,135 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html">wxPrinter</a>.
+%% @type wxPrinter(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrinter).
+-include("wxe.hrl").
+-export([createAbortWindow/3,destroy/1,getAbort/1,getLastError/0,getPrintDialogData/1,
+ new/0,new/1,print/3,print/4,printDialog/2,reportError/4,setup/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxPrinter()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxPrinter()
+%% Option = {data, wxPrintDialogData:wxPrintDialogData()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterwxprinter">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxPrintDialogData),[<<1:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxPrinter_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintercreateabortwindow">external documentation</a>.
+createAbortWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}) ->
+ ?CLASS(ThisT,wxPrinter),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(PrintoutT,wxPrintout),
+ wxe_util:call(?wxPrinter_CreateAbortWindow,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,PrintoutRef:32/?UI>>).
+
+%% @spec (This::wxPrinter()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetabort">external documentation</a>.
+getAbort(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrinter),
+ wxe_util:call(?wxPrinter_GetAbort,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> WxPrinterError
+%% WxPrinterError = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetlasterror">external documentation</a>.
+%%<br /> WxPrinterError is one of ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR
+getLastError() ->
+ wxe_util:call(?wxPrinter_GetLastError,
+ <<>>).
+
+%% @spec (This::wxPrinter()) -> wxPrintDialogData:wxPrintDialogData()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintergetprintdialogdata">external documentation</a>.
+getPrintDialogData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrinter),
+ wxe_util:call(?wxPrinter_GetPrintDialogData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout()) -> bool()
+%% @equiv print(This,Parent,Printout, [])
+print(This,Parent,Printout)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(Printout, wx_ref) ->
+ print(This,Parent,Printout, []).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), [Option]) -> bool()
+%% Option = {prompt, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterprint">external documentation</a>.
+print(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxPrinter),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(PrintoutT,wxPrintout),
+ MOpts = fun({prompt, Prompt}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Prompt)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxPrinter_Print,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,PrintoutRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow()) -> wxDC:wxDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterprintdialog">external documentation</a>.
+printDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) ->
+ ?CLASS(ThisT,wxPrinter),
+ ?CLASS(ParentT,wxWindow),
+ wxe_util:call(?wxPrinter_PrintDialog,
+ <<ThisRef:32/?UI,ParentRef:32/?UI>>).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), Message::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprinterreporterror">external documentation</a>.
+reportError(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef},Message)
+ when is_list(Message) ->
+ ?CLASS(ThisT,wxPrinter),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(PrintoutT,wxPrintout),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ wxe_util:cast(?wxPrinter_ReportError,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,PrintoutRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprinter.html#wxprintersetup">external documentation</a>.
+setup(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) ->
+ ?CLASS(ThisT,wxPrinter),
+ ?CLASS(ParentT,wxWindow),
+ wxe_util:call(?wxPrinter_Setup,
+ <<ThisRef:32/?UI,ParentRef:32/?UI>>).
+
+%% @spec (This::wxPrinter()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrinter),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxPrintout.erl b/lib/wx/src/gen/wxPrintout.erl
new file mode 100644
index 0000000000..30811d32a0
--- /dev/null
+++ b/lib/wx/src/gen/wxPrintout.erl
@@ -0,0 +1,274 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html">wxPrintout</a>.
+%% @type wxPrintout(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxPrintout).
+-include("wxe.hrl").
+-export([ new/2,new/3 ,destroy/1,fitThisSizeToPage/2,fitThisSizeToPageMargins/3,
+ fitThisSizeToPaper/2,getDC/1,getLogicalPageMarginsRect/2,getLogicalPageRect/1,
+ getLogicalPaperRect/1,getPPIPrinter/1,getPPIScreen/1,getPageSizeMM/1,
+ getPageSizePixels/1,getPaperRectPixels/1,getTitle/1,isPreview/1,mapScreenSizeToDevice/1,
+ mapScreenSizeToPage/1,mapScreenSizeToPageMargins/2,mapScreenSizeToPaper/1,
+ offsetLogicalOrigin/3,setLogicalOrigin/3]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+
+%% @spec (Title::string(), OnPrintPage::function()) -> wxPrintout:wxPrintout()
+%% @doc @equiv new(Title, OnPrintPage, [])
+new(Title, OnPrintPage) ->
+ new(Title, OnPrintPage, []).
+
+%% @spec (Title::string(), OnPrintPage::function(), [Option]) -> wxPrintout:wxPrintout()
+%% Option = {onPreparePrinting, OnPreparePrinting::function()} |
+%% {onBeginPrinting, OnBeginPrinting::function()} |
+%% {onEndPrinting, OnEndPrinting::function()} |
+%% {onBeginDocument, OnBeginDocument::function()} |
+%% {onEndDocument, OnEndDocument::function()} |
+%% {hasPage, HasPage::function()} |
+%% {getPageInfo, GetPageInfo::function()}
+%% @doc Creates a wxPrintout object with a callback fun and optionally other callback funs.<br />
+%% <pre>OnPrintPage(This,Page) -> boolean() </pre>
+%% <pre>OnPreparePrinting(This) -> term() </pre>
+%% <pre>OnBeginPrinting(This) -> term() </pre>
+%% <pre>OnEndPrinting(This) -> term() </pre>
+%% <pre>OnBeginDocument(This,StartPage,EndPage) -> boolean() </pre>
+%% <pre>OnEndDocument(This) -> term() </pre>
+%% <pre>HasPage(This,Page)} -> boolean() </pre>
+%% <pre>GetPageInfo(This) -> {MinPage:.integer(), MaxPage::integer(), PageFrom::integer(), PageTo::integer()} </pre>
+%% The <b>This</b> argument is the wxPrintout object reference to this object
+%% <br /> NOTE: The callbacks may not call other processes.
+new(Title, OnPrintPage, Opts) when is_list(Title), is_function(OnPrintPage), is_list(Opts) ->
+ OnPrint = fun([This,Page]) ->
+ Bool = OnPrintPage(This,Page),
+ <<(wxe_util:from_bool(Bool)):32/?UI>>
+ end,
+ OnPrintPageId = wxe_util:get_cbId(OnPrint),
+ MOpts = fun({onPreparePrinting, F},Acc) when is_function(F) ->
+ Fun = fun([This]) ->
+ F(This),
+ <<>>
+ end,
+ [<<1:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({onBeginPrinting, F},Acc) when is_function(F) ->
+ Fun = fun([This]) ->
+ F(This),
+ <<>>
+ end,
+ [<<2:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({onEndPrinting, F},Acc) when is_function(F) ->
+ Fun = fun([This]) ->
+ F(This),
+ <<>>
+ end,
+ [<<3:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({onBeginDocument, F},Acc) when is_function(F) ->
+ Fun = fun([This,S,E]) ->
+ BegD = F(This,S,E),
+ <<(wxe_util:from_bool(BegD)):32/?UI>>
+ end,
+ [<<4:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({onEndDocument, F},Acc) when is_function(F) ->
+ Fun = fun([This]) ->
+ F(This),
+ <<>>
+ end,
+ [<<5:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({hasPage, F},Acc) when is_function(F) ->
+ Fun = fun([This,Page]) ->
+ HasP = F(This,Page),
+ <<(wxe_util:from_bool(HasP)):32/?UI>>
+ end,
+ [<<6:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc];
+ ({getPageInfo, F},Acc) when is_function(F) ->
+ Fun = fun([This]) ->
+ {Min,Max,PF,PT} = F(This),
+ <<Min:32/?UI,Max:32/?UI,PF:32/?UI,PT:32/?UI>>
+ end,
+ [<<7:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]
+ end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Opts)),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:call(?wxPrintout_new, << (byte_size(Title_UC)):32/?UI,Title_UC/binary,
+ 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8,
+ OnPrintPageId:32/?UI,
+ BinOpt/binary>>).
+
+%% @spec (This::wxPrintout()) -> wxDC:wxDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetdc">external documentation</a>.
+getDC(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetDC,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetpagesizemm">external documentation</a>.
+getPageSizeMM(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetPageSizeMM,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetpagesizepixels">external documentation</a>.
+getPageSizePixels(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetPageSizePixels,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetpaperrectpixels">external documentation</a>.
+getPaperRectPixels(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetPaperRectPixels,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetppiprinter">external documentation</a>.
+getPPIPrinter(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetPPIPrinter,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetppiscreen">external documentation</a>.
+getPPIScreen(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetPPIScreen,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgettitle">external documentation</a>.
+getTitle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetTitle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutispreview">external documentation</a>.
+isPreview(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_IsPreview,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout(), ImageSize::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutfitthissizetopaper">external documentation</a>.
+fitThisSizeToPaper(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH})
+ when is_integer(ImageSizeW),is_integer(ImageSizeH) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_FitThisSizeToPaper,
+ <<ThisRef:32/?UI,ImageSizeW:32/?UI,ImageSizeH:32/?UI>>).
+
+%% @spec (This::wxPrintout(), ImageSize::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutfitthissizetopage">external documentation</a>.
+fitThisSizeToPage(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH})
+ when is_integer(ImageSizeW),is_integer(ImageSizeH) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_FitThisSizeToPage,
+ <<ThisRef:32/?UI,ImageSizeW:32/?UI,ImageSizeH:32/?UI>>).
+
+%% @spec (This::wxPrintout(), ImageSize::{W::integer(),H::integer()}, PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutfitthissizetopagemargins">external documentation</a>.
+fitThisSizeToPageMargins(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef})
+ when is_integer(ImageSizeW),is_integer(ImageSizeH) ->
+ ?CLASS(ThisT,wxPrintout),
+ ?CLASS(PageSetupDataT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPrintout_FitThisSizeToPageMargins,
+ <<ThisRef:32/?UI,ImageSizeW:32/?UI,ImageSizeH:32/?UI,PageSetupDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutmapscreensizetopaper">external documentation</a>.
+mapScreenSizeToPaper(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_MapScreenSizeToPaper,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutmapscreensizetopage">external documentation</a>.
+mapScreenSizeToPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_MapScreenSizeToPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutmapscreensizetopagemargins">external documentation</a>.
+mapScreenSizeToPageMargins(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ ?CLASS(PageSetupDataT,wxPageSetupDialogData),
+ wxe_util:cast(?wxPrintout_MapScreenSizeToPageMargins,
+ <<ThisRef:32/?UI,PageSetupDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutmapscreensizetodevice">external documentation</a>.
+mapScreenSizeToDevice(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_MapScreenSizeToDevice,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetlogicalpaperrect">external documentation</a>.
+getLogicalPaperRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetLogicalPaperRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetlogicalpagerect">external documentation</a>.
+getLogicalPageRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:call(?wxPrintout_GetLogicalPageRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutgetlogicalpagemarginsrect">external documentation</a>.
+getLogicalPageMarginsRect(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef}) ->
+ ?CLASS(ThisT,wxPrintout),
+ ?CLASS(PageSetupDataT,wxPageSetupDialogData),
+ wxe_util:call(?wxPrintout_GetLogicalPageMarginsRect,
+ <<ThisRef:32/?UI,PageSetupDataRef:32/?UI>>).
+
+%% @spec (This::wxPrintout(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutsetlogicalorigin">external documentation</a>.
+setLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_SetLogicalOrigin,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxPrintout(), Xoff::integer(), Yoff::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprintout.html#wxprintoutoffsetlogicalorigin">external documentation</a>.
+offsetLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},Xoff,Yoff)
+ when is_integer(Xoff),is_integer(Yoff) ->
+ ?CLASS(ThisT,wxPrintout),
+ wxe_util:cast(?wxPrintout_OffsetLogicalOrigin,
+ <<ThisRef:32/?UI,Xoff:32/?UI,Yoff:32/?UI>>).
+
+%% @spec (This::wxPrintout()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxPrintout),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxProgressDialog.erl b/lib/wx/src/gen/wxProgressDialog.erl
new file mode 100644
index 0000000000..6d7d2d9743
--- /dev/null
+++ b/lib/wx/src/gen/wxProgressDialog.erl
@@ -0,0 +1,571 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprogressdialog.html">wxProgressDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxProgressDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxProgressDialog).
+-include("wxe.hrl").
+-export([destroy/1,new/2,new/3,resume/1,update/1,update/2,update/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Title::string(), Message::string()) -> wxProgressDialog()
+%% @equiv new(Title,Message, [])
+new(Title,Message)
+ when is_list(Title),is_list(Message) ->
+ new(Title,Message, []).
+
+%% @spec (Title::string(), Message::string(), [Option]) -> wxProgressDialog()
+%% Option = {maximum, integer()} | {parent, wxWindow:wxWindow()} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprogressdialog.html#wxprogressdialogwxprogressdialog">external documentation</a>.
+new(Title,Message, Options)
+ when is_list(Title),is_list(Message),is_list(Options) ->
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ MOpts = fun({maximum, Maximum}, Acc) -> [<<1:32/?UI,Maximum:32/?UI>>|Acc];
+ ({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<2:32/?UI,ParentRef:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxProgressDialog_new,
+ <<(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((4+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxProgressDialog()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprogressdialog.html#wxprogressdialogresume">external documentation</a>.
+resume(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxProgressDialog),
+ wxe_util:cast(?wxProgressDialog_Resume,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxProgressDialog()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprogressdialog.html#wxprogressdialogupdate">external documentation</a>.
+update(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxProgressDialog),
+ wxe_util:cast(?wxProgressDialog_Update_0,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxProgressDialog(), Value::integer()) -> bool()
+%% @equiv update(This,Value, [])
+update(This,Value)
+ when is_record(This, wx_ref),is_integer(Value) ->
+ update(This,Value, []).
+
+%% @spec (This::wxProgressDialog(), Value::integer(), [Option]) -> bool()
+%% Option = {newmsg, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxprogressdialog.html#wxprogressdialogupdate">external documentation</a>.
+update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options)
+ when is_integer(Value),is_list(Options) ->
+ ?CLASS(ThisT,wxProgressDialog),
+ MOpts = fun({newmsg, Newmsg}, Acc) -> Newmsg_UC = unicode:characters_to_binary([Newmsg,0]),[<<1:32/?UI,(byte_size(Newmsg_UC)):32/?UI,(Newmsg_UC)/binary, 0:(((8- ((0+byte_size(Newmsg_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxProgressDialog_Update_2,
+ <<ThisRef:32/?UI,Value:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxProgressDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxProgressDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxQueryNewPaletteEvent.erl b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl
new file mode 100644
index 0000000000..140d58c42c
--- /dev/null
+++ b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl
@@ -0,0 +1,77 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxquerynewpaletteevent.html">wxQueryNewPaletteEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>query_new_palette</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxQueryNewPalette(). #wxQueryNewPalette{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxQueryNewPaletteEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxQueryNewPaletteEvent).
+-include("wxe.hrl").
+-export([getPaletteRealized/1,setPaletteRealized/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxQueryNewPaletteEvent(), Realized::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxquerynewpaletteevent.html#wxquerynewpaletteeventsetpaletterealized">external documentation</a>.
+setPaletteRealized(#wx_ref{type=ThisT,ref=ThisRef},Realized)
+ when is_boolean(Realized) ->
+ ?CLASS(ThisT,wxQueryNewPaletteEvent),
+ wxe_util:cast(?wxQueryNewPaletteEvent_SetPaletteRealized,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Realized)):32/?UI>>).
+
+%% @spec (This::wxQueryNewPaletteEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxquerynewpaletteevent.html#wxquerynewpaletteeventgetpaletterealized">external documentation</a>.
+getPaletteRealized(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxQueryNewPaletteEvent),
+ wxe_util:call(?wxQueryNewPaletteEvent_GetPaletteRealized,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxRadioBox.erl b/lib/wx/src/gen/wxRadioBox.erl
new file mode 100644
index 0000000000..ab76354da2
--- /dev/null
+++ b/lib/wx/src/gen/wxRadioBox.erl
@@ -0,0 +1,663 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html">wxRadioBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxRadioBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxRadioBox).
+-include("wxe.hrl").
+-export([create/7,create/8,destroy/1,enable/1,enable/2,enable/3,getColumnCount/1,
+ getItemFromPoint/2,getItemHelpText/2,getItemToolTip/2,getRowCount/1,
+ getSelection/1,getString/2,isItemEnabled/2,isItemShown/2,new/6,new/7,
+ setItemHelpText/3,setItemToolTip/3,setSelection/2,show/1,show/2,show/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,getBackgroundColour/1,
+ getBackgroundStyle/1,getBestSize/1,getCaret/1,getCharHeight/1,getCharWidth/1,
+ getChildren/1,getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,getToolTip/1,
+ getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,getWindowVariant/1,
+ hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,hide/1,inheritAttributes/1,
+ initDialog/1,invalidateBestSize/1,isEnabled/1,isExposed/2,isExposed/3,
+ isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,
+ lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]]) -> wxRadioBox()
+%% @equiv new(Parent,Id,Title,Pos,Size,Choices, [])
+new(Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) ->
+ new(Parent,Id,Title,Pos,Size,Choices, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]], [Option]) -> wxRadioBox()
+%% Option = {majorDim, integer()} | {style, integer()} | {val, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxwxradiobox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choices, Options)
+ when is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({majorDim, MajorDim}, Acc) -> [<<1:32/?UI,MajorDim:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ ({val, #wx_ref{type=ValT,ref=ValRef}}, Acc) -> ?CLASS(ValT,wx),[<<3:32/?UI,ValRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxRadioBox_new,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]]) -> bool()
+%% @equiv create(This,Parent,Id,Title,Pos,Size,Choices, [])
+create(This,Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) ->
+ create(This,Parent,Id,Title,Pos,Size,Choices, []).
+
+%% @spec (This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}, Choices::[[string()]], [Option]) -> bool()
+%% Option = {majorDim, integer()} | {style, integer()} | {val, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choices, Options)
+ when is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) ->
+ ?CLASS(ThisT,wxRadioBox),
+ ?CLASS(ParentT,wxWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({majorDim, MajorDim}, Acc) -> [<<1:32/?UI,MajorDim:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ ({val, #wx_ref{type=ValT,ref=ValRef}}, Acc) -> ?CLASS(ValT,wx),[<<3:32/?UI,ValRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioBox_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox()) -> bool()
+%% @equiv enable(This, [])
+enable(This)
+ when is_record(This, wx_ref) ->
+ enable(This, []).
+
+%% @spec (This::wxRadioBox(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxenable">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% enable(This::wxRadioBox(), N::integer()) -> enable(This,N, []) </c></p>
+%% <p><c>
+%% enable(This::wxRadioBox(), [Option]) -> bool() </c>
+%%<br /> Option = {enable, bool()}
+%% </p>
+
+enable(This,N)
+ when is_record(This, wx_ref),is_integer(N) ->
+ enable(This,N, []);
+enable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxRadioBox),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioBox_Enable_1,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox(), N::integer(), [Option]) -> bool()
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef},N, Options)
+ when is_integer(N),is_list(Options) ->
+ ?CLASS(ThisT,wxRadioBox),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioBox_Enable_2,
+ <<ThisRef:32/?UI,N:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetstring">external documentation</a>.
+getString(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetString,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:cast(?wxRadioBox_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxRadioBox()) -> bool()
+%% @equiv show(This, [])
+show(This)
+ when is_record(This, wx_ref) ->
+ show(This, []).
+
+%% @spec (This::wxRadioBox(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxshow">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% show(This::wxRadioBox(), N::integer()) -> show(This,N, []) </c></p>
+%% <p><c>
+%% show(This::wxRadioBox(), [Option]) -> bool() </c>
+%%<br /> Option = {show, bool()}
+%% </p>
+
+show(This,N)
+ when is_record(This, wx_ref),is_integer(N) ->
+ show(This,N, []);
+show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxRadioBox),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioBox_Show_1,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox(), N::integer(), [Option]) -> bool()
+%% Option = {show, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef},N, Options)
+ when is_integer(N),is_list(Options) ->
+ ?CLASS(ThisT,wxRadioBox),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioBox_Show_2,
+ <<ThisRef:32/?UI,N:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxRadioBox()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetcolumncount">external documentation</a>.
+getColumnCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetColumnCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetitemhelptext">external documentation</a>.
+getItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetItemHelpText,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), Item::integer()) -> wxToolTip:wxToolTip()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetitemtooltip">external documentation</a>.
+getItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item)
+ when is_integer(Item) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetItemToolTip,
+ <<ThisRef:32/?UI,Item:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), Pt::{X::integer(),Y::integer()}) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetitemfrompoint">external documentation</a>.
+getItemFromPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetItemFromPoint,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxRadioBox()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxgetrowcount">external documentation</a>.
+getRowCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_GetRowCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxisitemenabled">external documentation</a>.
+isItemEnabled(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_IsItemEnabled,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxisitemshown">external documentation</a>.
+isItemShown(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxRadioBox),
+ wxe_util:call(?wxRadioBox_IsItemShown,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxRadioBox(), N::integer(), HelpText::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxsetitemhelptext">external documentation</a>.
+setItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N,HelpText)
+ when is_integer(N),is_list(HelpText) ->
+ ?CLASS(ThisT,wxRadioBox),
+ HelpText_UC = unicode:characters_to_binary([HelpText,0]),
+ wxe_util:cast(?wxRadioBox_SetItemHelpText,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(HelpText_UC)):32/?UI,(HelpText_UC)/binary, 0:(((8- ((4+byte_size(HelpText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxRadioBox(), Item::integer(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobox.html#wxradioboxsetitemtooltip">external documentation</a>.
+setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text)
+ when is_integer(Item),is_list(Text) ->
+ ?CLASS(ThisT,wxRadioBox),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxRadioBox_SetItemToolTip,
+ <<ThisRef:32/?UI,Item:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxRadioBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxRadioBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxRadioButton.erl b/lib/wx/src/gen/wxRadioButton.erl
new file mode 100644
index 0000000000..066023d121
--- /dev/null
+++ b/lib/wx/src/gen/wxRadioButton.erl
@@ -0,0 +1,512 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html">wxRadioButton</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxRadioButton(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxRadioButton).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getValue/1,new/0,new/3,new/4,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxRadioButton()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html#wxradiobuttonwxradiobutton">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxRadioButton_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxRadioButton()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxRadioButton()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html#wxradiobuttonwxradiobutton">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxRadioButton_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html#wxradiobuttoncreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxRadioButton),
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRadioButton_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxRadioButton()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html#wxradiobuttongetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRadioButton),
+ wxe_util:call(?wxRadioButton_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRadioButton(), Val::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxradiobutton.html#wxradiobuttonsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when is_boolean(Val) ->
+ ?CLASS(ThisT,wxRadioButton),
+ wxe_util:cast(?wxRadioButton_SetValue,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Val)):32/?UI>>).
+
+%% @spec (This::wxRadioButton()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxRadioButton),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl
new file mode 100644
index 0000000000..a2d2c7d830
--- /dev/null
+++ b/lib/wx/src/gen/wxRegion.erl
@@ -0,0 +1,305 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html">wxRegion</a>.
+%% @type wxRegion(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxRegion).
+-include("wxe.hrl").
+-export(['Xor'/2,'Xor'/5,clear/1,contains/2,contains/3,contains/5,convertToBitmap/1,
+ destroy/1,getBox/1,intersect/2,intersect/5,isEmpty/1,new/0,new/1,new/2,
+ new/4,offset/2,offset/3,subtract/2,subtract/5,union/2,union/3,union/4,
+ union/5]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxRegion()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionwxregion">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxRegion_new_0,
+ <<>>).
+
+%% @spec (X::term()) -> wxRegion()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionwxregion">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Bmp::wxBitmap:wxBitmap()) -> wxRegion() </c>
+%% </p>
+%% <p><c>
+%% new(Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> wxRegion() </c>
+%% </p>
+new(#wx_ref{type=BmpT,ref=BmpRef}) ->
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:construct(?wxRegion_new_1_0,
+ <<BmpRef:32/?UI>>);
+new({RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ wxe_util:construct(?wxRegion_new_1_1,
+ <<RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (TopLeft::{X::integer(),Y::integer()}, BottomRight::{X::integer(),Y::integer()}) -> wxRegion()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionwxregion">external documentation</a>.
+new({TopLeftX,TopLeftY},{BottomRightX,BottomRightY})
+ when is_integer(TopLeftX),is_integer(TopLeftY),is_integer(BottomRightX),is_integer(BottomRightY) ->
+ wxe_util:construct(?wxRegion_new_2,
+ <<TopLeftX:32/?UI,TopLeftY:32/?UI,BottomRightX:32/?UI,BottomRightY:32/?UI>>).
+
+%% @spec (X::integer(), Y::integer(), W::integer(), H::integer()) -> wxRegion()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionwxregion">external documentation</a>.
+new(X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ wxe_util:construct(?wxRegion_new_4,
+ <<X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:cast(?wxRegion_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRegion(),X::term()) -> WxRegionContain
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregioncontains">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% contains(This::wxRegion(), Pt::{X::integer(),Y::integer()}) -> WxRegionContain </c>
+%%<br /> WxRegionContain = integer()
+%%<br /> WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion
+%% </p>
+%% <p><c>
+%% contains(This::wxRegion(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> WxRegionContain </c>
+%%<br /> WxRegionContain = integer()
+%%<br /> WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion
+%% </p>
+contains(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Contains_1_0,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>);
+contains(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Contains_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer()) -> WxRegionContain
+%% WxRegionContain = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregioncontains">external documentation</a>.
+%%<br /> WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion
+contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Contains_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> WxRegionContain
+%% WxRegionContain = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregioncontains">external documentation</a>.
+%%<br /> WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion
+contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Contains_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionconverttobitmap">external documentation</a>.
+convertToBitmap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_ConvertToBitmap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRegion()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregiongetbox">external documentation</a>.
+getBox(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_GetBox,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionintersect">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% intersect(This::wxRegion(), Region::wxRegion()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% intersect(This::wxRegion(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+intersect(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:call(?wxRegion_Intersect_1_0,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>);
+intersect(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Intersect_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionintersect">external documentation</a>.
+intersect(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Intersect_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionisempty">external documentation</a>.
+isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_IsEmpty,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionsubtract">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% subtract(This::wxRegion(), Region::wxRegion()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% subtract(This::wxRegion(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+subtract(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:call(?wxRegion_Subtract_1_0,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>);
+subtract(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Subtract_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionsubtract">external documentation</a>.
+subtract(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Subtract_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion(), Pt::{X::integer(),Y::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionoffset">external documentation</a>.
+offset(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Offset_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionoffset">external documentation</a>.
+offset(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Offset_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxRegion(),X::term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionunion">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% union(This::wxRegion(), Region::wxRegion() | wxBitmap:wxBitmap()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% union(This::wxRegion(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+union(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ RegionOP = case ?CLASS_T(RegionT,wxRegion) of
+ true ->
+ ?wxRegion_Union_1_1;
+ _ -> ?CLASS(RegionT,wxBitmap),
+ ?wxRegion_Union_1_0
+ end,
+ wxe_util:call(RegionOP,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>);
+union(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Union_1_2,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:colour()) -> bool()
+%% @equiv union(This,Bmp,Transp, [])
+union(This,Bmp,Transp)
+ when is_record(This, wx_ref),is_record(Bmp, wx_ref),tuple_size(Transp) =:= 3; tuple_size(Transp) =:= 4 ->
+ union(This,Bmp,Transp, []).
+
+%% @spec (This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:colour(), [Option]) -> bool()
+%% Option = {tolerance, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionunion">external documentation</a>.
+union(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},Transp, Options)
+ when tuple_size(Transp) =:= 3; tuple_size(Transp) =:= 4,is_list(Options) ->
+ ?CLASS(ThisT,wxRegion),
+ ?CLASS(BmpT,wxBitmap),
+ MOpts = fun({tolerance, Tolerance}, Acc) -> [<<1:32/?UI,Tolerance:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxRegion_Union_3,
+ <<ThisRef:32/?UI,BmpRef:32/?UI,(wxe_util:colour_bin(Transp)):16/binary, BinOpt/binary>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionunion">external documentation</a>.
+union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Union_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionxor">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% 'Xor'(This::wxRegion(), Region::wxRegion()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% 'Xor'(This::wxRegion(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+'Xor'(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxRegion),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:call(?wxRegion_Xor_1_0,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>);
+'Xor'(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Xor_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxregion.html#wxregionxor">external documentation</a>.
+'Xor'(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxRegion),
+ wxe_util:call(?wxRegion_Xor_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxRegion()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxRegion),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxSashEvent.erl b/lib/wx/src/gen/wxSashEvent.erl
new file mode 100644
index 0000000000..56453fbe2f
--- /dev/null
+++ b/lib/wx/src/gen/wxSashEvent.erl
@@ -0,0 +1,110 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html">wxSashEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>sash_dragged</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSash(). #wxSash{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSashEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSashEvent).
+-include("wxe.hrl").
+-export([getDragRect/1,getDragStatus/1,getEdge/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSashEvent()) -> WxSashEdgePosition
+%% WxSashEdgePosition = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetedge">external documentation</a>.
+%%<br /> WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE
+getEdge(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashEvent),
+ wxe_util:call(?wxSashEvent_GetEdge,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashEvent()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetdragrect">external documentation</a>.
+getDragRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashEvent),
+ wxe_util:call(?wxSashEvent_GetDragRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashEvent()) -> WxSashDragStatus
+%% WxSashDragStatus = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashevent.html#wxsasheventgetdragstatus">external documentation</a>.
+%%<br /> WxSashDragStatus is one of ?wxSASH_STATUS_OK | ?wxSASH_STATUS_OUT_OF_RANGE
+getDragStatus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashEvent),
+ wxe_util:call(?wxSashEvent_GetDragStatus,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSashLayoutWindow.erl b/lib/wx/src/gen/wxSashLayoutWindow.erl
new file mode 100644
index 0000000000..9b3c372369
--- /dev/null
+++ b/lib/wx/src/gen/wxSashLayoutWindow.erl
@@ -0,0 +1,566 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html">wxSashLayoutWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxSashWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSashLayoutWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSashLayoutWindow).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getAlignment/1,getOrientation/1,new/0,new/1,
+ new/2,setAlignment/2,setDefaultSize/2,setOrientation/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMaximumSizeX/1,getMaximumSizeY/1,
+ getMinSize/1,getMinimumSizeX/1,getMinimumSizeY/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getSashVisible/2,getScreenPosition/1,getScreenRect/1,
+ getScrollPos/2,getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,
+ getTextExtent/2,getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,
+ getWindowStyleFlag/1,getWindowVariant/1,hasCapture/1,hasScrollbar/2,
+ hasTransparentBackground/1,hide/1,inheritAttributes/1,initDialog/1,
+ invalidateBestSize/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,
+ isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,lineUp/1,lower/1,
+ makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,
+ popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,
+ scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMaximumSizeX/2,setMaximumSizeY/2,setMinSize/2,setMinimumSizeX/2,
+ setMinimumSizeY/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setSashVisible/3,setScrollPos/3,
+ setScrollPos/4,setScrollbar/5,setScrollbar/6,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,setToolTip/2,
+ setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,
+ setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,
+ shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxSashWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSashLayoutWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowwxsashlayoutwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSashLayoutWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxSashLayoutWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSashLayoutWindow()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowwxsashlayoutwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSashLayoutWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSashLayoutWindow_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSashLayoutWindow()) -> WxLayoutAlignment
+%% WxLayoutAlignment = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowgetalignment">external documentation</a>.
+%%<br /> WxLayoutAlignment is one of ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM
+getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ wxe_util:call(?wxSashLayoutWindow_GetAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashLayoutWindow()) -> WxLayoutOrientation
+%% WxLayoutOrientation = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowgetorientation">external documentation</a>.
+%%<br /> WxLayoutOrientation is one of ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL
+getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ wxe_util:call(?wxSashLayoutWindow_GetOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashLayoutWindow(), Align::WxLayoutAlignment) -> ok
+%% WxLayoutAlignment = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowsetalignment">external documentation</a>.
+%%<br /> WxLayoutAlignment is one of ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM
+setAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align)
+ when is_integer(Align) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ wxe_util:cast(?wxSashLayoutWindow_SetAlignment,
+ <<ThisRef:32/?UI,Align:32/?UI>>).
+
+%% @spec (This::wxSashLayoutWindow(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowsetdefaultsize">external documentation</a>.
+setDefaultSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ wxe_util:cast(?wxSashLayoutWindow_SetDefaultSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSashLayoutWindow(), Orient::WxLayoutOrientation) -> ok
+%% WxLayoutOrientation = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashlayoutwindow.html#wxsashlayoutwindowsetorientation">external documentation</a>.
+%%<br /> WxLayoutOrientation is one of ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL
+setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxSashLayoutWindow),
+ wxe_util:cast(?wxSashLayoutWindow_SetOrientation,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxSashLayoutWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSashLayoutWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxSashWindow
+%% @hidden
+setSashVisible(This,Edge,Sash) -> wxSashWindow:setSashVisible(This,Edge,Sash).
+%% @hidden
+setMinimumSizeY(This,Min) -> wxSashWindow:setMinimumSizeY(This,Min).
+%% @hidden
+setMinimumSizeX(This,Min) -> wxSashWindow:setMinimumSizeX(This,Min).
+%% @hidden
+setMaximumSizeY(This,Max) -> wxSashWindow:setMaximumSizeY(This,Max).
+%% @hidden
+setMaximumSizeX(This,Max) -> wxSashWindow:setMaximumSizeX(This,Max).
+%% @hidden
+getMinimumSizeY(This) -> wxSashWindow:getMinimumSizeY(This).
+%% @hidden
+getMinimumSizeX(This) -> wxSashWindow:getMinimumSizeX(This).
+%% @hidden
+getMaximumSizeY(This) -> wxSashWindow:getMaximumSizeY(This).
+%% @hidden
+getMaximumSizeX(This) -> wxSashWindow:getMaximumSizeX(This).
+%% @hidden
+getSashVisible(This,Edge) -> wxSashWindow:getSashVisible(This,Edge).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSashWindow.erl b/lib/wx/src/gen/wxSashWindow.erl
new file mode 100644
index 0000000000..d836d84ed3
--- /dev/null
+++ b/lib/wx/src/gen/wxSashWindow.erl
@@ -0,0 +1,552 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html">wxSashWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSashWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSashWindow).
+-include("wxe.hrl").
+-export([destroy/1,getMaximumSizeX/1,getMaximumSizeY/1,getMinimumSizeX/1,getMinimumSizeY/1,
+ getSashVisible/2,new/0,new/1,new/2,setMaximumSizeX/2,setMaximumSizeY/2,
+ setMinimumSizeX/2,setMinimumSizeY/2,setSashVisible/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSashWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowwxsashwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSashWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxSashWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSashWindow()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowwxsashwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSashWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSashWindow(), Edge::WxSashEdgePosition) -> bool()
+%% WxSashEdgePosition = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowgetsashvisible">external documentation</a>.
+%%<br /> WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE
+getSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge)
+ when is_integer(Edge) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:call(?wxSashWindow_GetSashVisible,
+ <<ThisRef:32/?UI,Edge:32/?UI>>).
+
+%% @spec (This::wxSashWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowgetmaximumsizex">external documentation</a>.
+getMaximumSizeX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:call(?wxSashWindow_GetMaximumSizeX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowgetmaximumsizey">external documentation</a>.
+getMaximumSizeY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:call(?wxSashWindow_GetMaximumSizeY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowgetminimumsizex">external documentation</a>.
+getMinimumSizeX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:call(?wxSashWindow_GetMinimumSizeX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowgetminimumsizey">external documentation</a>.
+getMinimumSizeY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:call(?wxSashWindow_GetMinimumSizeY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSashWindow(), Max::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowsetmaximumsizex">external documentation</a>.
+setMaximumSizeX(#wx_ref{type=ThisT,ref=ThisRef},Max)
+ when is_integer(Max) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:cast(?wxSashWindow_SetMaximumSizeX,
+ <<ThisRef:32/?UI,Max:32/?UI>>).
+
+%% @spec (This::wxSashWindow(), Max::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowsetmaximumsizey">external documentation</a>.
+setMaximumSizeY(#wx_ref{type=ThisT,ref=ThisRef},Max)
+ when is_integer(Max) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:cast(?wxSashWindow_SetMaximumSizeY,
+ <<ThisRef:32/?UI,Max:32/?UI>>).
+
+%% @spec (This::wxSashWindow(), Min::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowsetminimumsizex">external documentation</a>.
+setMinimumSizeX(#wx_ref{type=ThisT,ref=ThisRef},Min)
+ when is_integer(Min) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:cast(?wxSashWindow_SetMinimumSizeX,
+ <<ThisRef:32/?UI,Min:32/?UI>>).
+
+%% @spec (This::wxSashWindow(), Min::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowsetminimumsizey">external documentation</a>.
+setMinimumSizeY(#wx_ref{type=ThisT,ref=ThisRef},Min)
+ when is_integer(Min) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:cast(?wxSashWindow_SetMinimumSizeY,
+ <<ThisRef:32/?UI,Min:32/?UI>>).
+
+%% @spec (This::wxSashWindow(), Edge::WxSashEdgePosition, Sash::bool()) -> ok
+%% WxSashEdgePosition = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsashwindow.html#wxsashwindowsetsashvisible">external documentation</a>.
+%%<br /> WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE
+setSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge,Sash)
+ when is_integer(Edge),is_boolean(Sash) ->
+ ?CLASS(ThisT,wxSashWindow),
+ wxe_util:cast(?wxSashWindow_SetSashVisible,
+ <<ThisRef:32/?UI,Edge:32/?UI,(wxe_util:from_bool(Sash)):32/?UI>>).
+
+%% @spec (This::wxSashWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSashWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl
new file mode 100644
index 0000000000..35dcb23179
--- /dev/null
+++ b/lib/wx/src/gen/wxScreenDC.erl
@@ -0,0 +1,257 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscreendc.html">wxScreenDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxScreenDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxScreenDC).
+-include("wxe.hrl").
+-export([destroy/1,new/0]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxScreenDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscreendc.html#wxscreendcwxscreendc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxScreenDC_new,
+ <<>>).
+
+%% @spec (This::wxScreenDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxScreenDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxScrollBar.erl b/lib/wx/src/gen/wxScrollBar.erl
new file mode 100644
index 0000000000..f77b4dde21
--- /dev/null
+++ b/lib/wx/src/gen/wxScrollBar.erl
@@ -0,0 +1,546 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html">wxScrollBar</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxScrollBar(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxScrollBar).
+-include("wxe.hrl").
+-export([create/3,create/4,destroy/1,getPageSize/1,getRange/1,getThumbPosition/1,
+ getThumbSize/1,new/0,new/2,new/3,setScrollbar/5,setScrollbar/6,setThumbPosition/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,setToolTip/2,
+ setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,setVirtualSizeHints/3,
+ setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,
+ shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxScrollBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbarwxscrollbar">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxScrollBar_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxScrollBar()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxScrollBar()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbarwxscrollbar">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxScrollBar_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbarcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxScrollBar),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxScrollBar_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxScrollBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbargetrange">external documentation</a>.
+getRange(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollBar),
+ wxe_util:call(?wxScrollBar_GetRange,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbargetpagesize">external documentation</a>.
+getPageSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollBar),
+ wxe_util:call(?wxScrollBar_GetPageSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbargetthumbposition">external documentation</a>.
+getThumbPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollBar),
+ wxe_util:call(?wxScrollBar_GetThumbPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbargetthumbsize">external documentation</a>.
+getThumbSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollBar),
+ wxe_util:call(?wxScrollBar_GetThumbSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollBar(), ViewStart::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbarsetthumbposition">external documentation</a>.
+setThumbPosition(#wx_ref{type=ThisT,ref=ThisRef},ViewStart)
+ when is_integer(ViewStart) ->
+ ?CLASS(ThisT,wxScrollBar),
+ wxe_util:cast(?wxScrollBar_SetThumbPosition,
+ <<ThisRef:32/?UI,ViewStart:32/?UI>>).
+
+%% @spec (This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer()) -> ok
+%% @equiv setScrollbar(This,Position,ThumbSize,Range,PageSize, [])
+setScrollbar(This,Position,ThumbSize,Range,PageSize)
+ when is_record(This, wx_ref),is_integer(Position),is_integer(ThumbSize),is_integer(Range),is_integer(PageSize) ->
+ setScrollbar(This,Position,ThumbSize,Range,PageSize, []).
+
+%% @spec (This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer(), [Option]) -> ok
+%% Option = {refresh, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollbar.html#wxscrollbarsetscrollbar">external documentation</a>.
+setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Position,ThumbSize,Range,PageSize, Options)
+ when is_integer(Position),is_integer(ThumbSize),is_integer(Range),is_integer(PageSize),is_list(Options) ->
+ ?CLASS(ThisT,wxScrollBar),
+ MOpts = fun({refresh, Refresh}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Refresh)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxScrollBar_SetScrollbar,
+ <<ThisRef:32/?UI,Position:32/?UI,ThumbSize:32/?UI,Range:32/?UI,PageSize:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxScrollBar()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxScrollBar),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxScrollEvent.erl b/lib/wx/src/gen/wxScrollEvent.erl
new file mode 100644
index 0000000000..52bb5b8347
--- /dev/null
+++ b/lib/wx/src/gen/wxScrollEvent.erl
@@ -0,0 +1,99 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollevent.html">wxScrollEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>scroll_top</em>, <em>scroll_bottom</em>, <em>scroll_lineup</em>, <em>scroll_linedown</em>, <em>scroll_pageup</em>, <em>scroll_pagedown</em>, <em>scroll_thumbtrack</em>, <em>scroll_thumbrelease</em>, <em>scroll_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxScroll(). #wxScroll{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxScrollEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxScrollEvent).
+-include("wxe.hrl").
+-export([getOrientation/1,getPosition/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxScrollEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollevent.html#wxscrolleventgetorientation">external documentation</a>.
+getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollEvent),
+ wxe_util:call(?wxScrollEvent_GetOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollevent.html#wxscrolleventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollEvent),
+ wxe_util:call(?wxScrollEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxScrollWinEvent.erl b/lib/wx/src/gen/wxScrollWinEvent.erl
new file mode 100644
index 0000000000..d87be2c792
--- /dev/null
+++ b/lib/wx/src/gen/wxScrollWinEvent.erl
@@ -0,0 +1,76 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollwinevent.html">wxScrollWinEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>scrollwin_top</em>, <em>scrollwin_bottom</em>, <em>scrollwin_lineup</em>, <em>scrollwin_linedown</em>, <em>scrollwin_pageup</em>, <em>scrollwin_pagedown</em>, <em>scrollwin_thumbtrack</em>, <em>scrollwin_thumbrelease</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxScrollWin(). #wxScrollWin{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxScrollWinEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxScrollWinEvent).
+-include("wxe.hrl").
+-export([getOrientation/1,getPosition/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxScrollWinEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollwinevent.html#wxscrollwineventgetorientation">external documentation</a>.
+getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollWinEvent),
+ wxe_util:call(?wxScrollWinEvent_GetOrientation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrollWinEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrollwinevent.html#wxscrollwineventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrollWinEvent),
+ wxe_util:call(?wxScrollWinEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxScrolledWindow.erl b/lib/wx/src/gen/wxScrolledWindow.erl
new file mode 100644
index 0000000000..d3e250fbe1
--- /dev/null
+++ b/lib/wx/src/gen/wxScrolledWindow.erl
@@ -0,0 +1,590 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html">wxScrolledWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxPanel}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxScrolledWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxScrolledWindow).
+-include("wxe.hrl").
+-export([calcScrolledPosition/2,calcScrolledPosition/3,calcUnscrolledPosition/2,
+ calcUnscrolledPosition/3,destroy/1,doPrepareDC/2,enableScrolling/3,
+ getScrollPixelsPerUnit/1,getViewStart/1,new/0,new/1,new/2,prepareDC/2,
+ scroll/3,setScrollRate/3,setScrollbars/5,setScrollbars/6,setTargetWindow/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxPanel) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxScrolledWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowwxscrolledwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxScrolledWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxScrolledWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxScrolledWindow()
+%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowwxscrolledwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxScrolledWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxScrolledWindow(), Pt::{X::integer(),Y::integer()}) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowcalcscrolledposition">external documentation</a>.
+calcScrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_CalcScrolledPosition_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> {Xx::integer(),Yy::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowcalcscrolledposition">external documentation</a>.
+calcScrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_CalcScrolledPosition_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), Pt::{X::integer(),Y::integer()}) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowcalcunscrolledposition">external documentation</a>.
+calcUnscrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_CalcUnscrolledPosition_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> {Xx::integer(),Yy::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowcalcunscrolledposition">external documentation</a>.
+calcUnscrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_CalcUnscrolledPosition_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), X_scrolling::bool(), Y_scrolling::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowenablescrolling">external documentation</a>.
+enableScrolling(#wx_ref{type=ThisT,ref=ThisRef},X_scrolling,Y_scrolling)
+ when is_boolean(X_scrolling),is_boolean(Y_scrolling) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:cast(?wxScrolledWindow_EnableScrolling,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(X_scrolling)):32/?UI,(wxe_util:from_bool(Y_scrolling)):32/?UI>>).
+
+%% @spec (This::wxScrolledWindow()) -> {PixelsPerUnitX::integer(),PixelsPerUnitY::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowgetscrollpixelsperunit">external documentation</a>.
+getScrollPixelsPerUnit(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_GetScrollPixelsPerUnit,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowgetviewstart">external documentation</a>.
+getViewStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:call(?wxScrolledWindow_GetViewStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), Dc::wxDC:wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowdopreparedc">external documentation</a>.
+doPrepareDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ ?CLASS(DcT,wxDC),
+ wxe_util:cast(?wxScrolledWindow_DoPrepareDC,
+ <<ThisRef:32/?UI,DcRef:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), Dc::wxDC:wxDC()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowpreparedc">external documentation</a>.
+prepareDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ ?CLASS(DcT,wxDC),
+ wxe_util:cast(?wxScrolledWindow_PrepareDC,
+ <<ThisRef:32/?UI,DcRef:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowscroll">external documentation</a>.
+scroll(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:cast(?wxScrolledWindow_Scroll,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer()) -> ok
+%% @equiv setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, [])
+setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY)
+ when is_record(This, wx_ref),is_integer(PixelsPerUnitX),is_integer(PixelsPerUnitY),is_integer(NoUnitsX),is_integer(NoUnitsY) ->
+ setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, []).
+
+%% @spec (This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer(), [Option]) -> ok
+%% Option = {xPos, integer()} | {yPos, integer()} | {noRefresh, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowsetscrollbars">external documentation</a>.
+setScrollbars(#wx_ref{type=ThisT,ref=ThisRef},PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options)
+ when is_integer(PixelsPerUnitX),is_integer(PixelsPerUnitY),is_integer(NoUnitsX),is_integer(NoUnitsY),is_list(Options) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ MOpts = fun({xPos, XPos}, Acc) -> [<<1:32/?UI,XPos:32/?UI>>|Acc];
+ ({yPos, YPos}, Acc) -> [<<2:32/?UI,YPos:32/?UI>>|Acc];
+ ({noRefresh, NoRefresh}, Acc) -> [<<3:32/?UI,(wxe_util:from_bool(NoRefresh)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxScrolledWindow_SetScrollbars,
+ <<ThisRef:32/?UI,PixelsPerUnitX:32/?UI,PixelsPerUnitY:32/?UI,NoUnitsX:32/?UI,NoUnitsY:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxScrolledWindow(), Xstep::integer(), Ystep::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowsetscrollrate">external documentation</a>.
+setScrollRate(#wx_ref{type=ThisT,ref=ThisRef},Xstep,Ystep)
+ when is_integer(Xstep),is_integer(Ystep) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ wxe_util:cast(?wxScrolledWindow_SetScrollRate,
+ <<ThisRef:32/?UI,Xstep:32/?UI,Ystep:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow(), Target::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxscrolledwindow.html#wxscrolledwindowsettargetwindow">external documentation</a>.
+setTargetWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TargetT,ref=TargetRef}) ->
+ ?CLASS(ThisT,wxScrolledWindow),
+ ?CLASS(TargetT,wxWindow),
+ wxe_util:cast(?wxScrolledWindow_SetTargetWindow,
+ <<ThisRef:32/?UI,TargetRef:32/?UI>>).
+
+%% @spec (This::wxScrolledWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxScrolledWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxPanel
+%% @hidden
+initDialog(This) -> wxPanel:initDialog(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSetCursorEvent.erl b/lib/wx/src/gen/wxSetCursorEvent.erl
new file mode 100644
index 0000000000..74cc1c1a5a
--- /dev/null
+++ b/lib/wx/src/gen/wxSetCursorEvent.erl
@@ -0,0 +1,98 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html">wxSetCursorEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>set_cursor</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSetCursor(). #wxSetCursor{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSetCursorEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSetCursorEvent).
+-include("wxe.hrl").
+-export([getCursor/1,getX/1,getY/1,hasCursor/1,setCursor/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSetCursorEvent()) -> wxCursor:wxCursor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html#wxsetcursoreventgetcursor">external documentation</a>.
+getCursor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSetCursorEvent),
+ wxe_util:call(?wxSetCursorEvent_GetCursor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSetCursorEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html#wxsetcursoreventgetx">external documentation</a>.
+getX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSetCursorEvent),
+ wxe_util:call(?wxSetCursorEvent_GetX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSetCursorEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html#wxsetcursoreventgety">external documentation</a>.
+getY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSetCursorEvent),
+ wxe_util:call(?wxSetCursorEvent_GetY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSetCursorEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html#wxsetcursoreventhascursor">external documentation</a>.
+hasCursor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSetCursorEvent),
+ wxe_util:call(?wxSetCursorEvent_HasCursor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSetCursorEvent(), Cursor::wxCursor:wxCursor()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsetcursorevent.html#wxsetcursoreventsetcursor">external documentation</a>.
+setCursor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CursorT,ref=CursorRef}) ->
+ ?CLASS(ThisT,wxSetCursorEvent),
+ ?CLASS(CursorT,wxCursor),
+ wxe_util:cast(?wxSetCursorEvent_SetCursor,
+ <<ThisRef:32/?UI,CursorRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxShowEvent.erl b/lib/wx/src/gen/wxShowEvent.erl
new file mode 100644
index 0000000000..173cd4269a
--- /dev/null
+++ b/lib/wx/src/gen/wxShowEvent.erl
@@ -0,0 +1,77 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxshowevent.html">wxShowEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>show</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxShow(). #wxShow{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxShowEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxShowEvent).
+-include("wxe.hrl").
+-export([getShow/1,setShow/2]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxShowEvent(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxshowevent.html#wxshoweventsetshow">external documentation</a>.
+setShow(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxShowEvent),
+ wxe_util:cast(?wxShowEvent_SetShow,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxShowEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxshowevent.html#wxshoweventgetshow">external documentation</a>.
+getShow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxShowEvent),
+ wxe_util:call(?wxShowEvent_GetShow,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSingleChoiceDialog.erl b/lib/wx/src/gen/wxSingleChoiceDialog.erl
new file mode 100644
index 0000000000..485e7f8be9
--- /dev/null
+++ b/lib/wx/src/gen/wxSingleChoiceDialog.erl
@@ -0,0 +1,571 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html">wxSingleChoiceDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSingleChoiceDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSingleChoiceDialog).
+-include("wxe.hrl").
+-export([destroy/1,getSelection/1,getStringSelection/1,new/0,new/4,new/5,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSingleChoiceDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html#wxsinglechoicedialogwxsinglechoicedialog">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSingleChoiceDialog_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]) -> wxSingleChoiceDialog()
+%% @equiv new(Parent,Message,Caption,Choices, [])
+new(Parent,Message,Caption,Choices)
+ when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) ->
+ new(Parent,Message,Caption,Choices, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], [Option]) -> wxSingleChoiceDialog()
+%% Option = {style, integer()} | {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html#wxsinglechoicedialogwxsinglechoicedialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options)
+ when is_list(Message),is_list(Caption),is_list(Choices),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ Caption_UC = unicode:characters_to_binary([Caption,0]),
+ Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) ||
+ ChoicesTemp <- Choices],
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSingleChoiceDialog_new_5,
+ <<ParentRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((4+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8,(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxSingleChoiceDialog()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html#wxsinglechoicedialoggetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSingleChoiceDialog),
+ wxe_util:call(?wxSingleChoiceDialog_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSingleChoiceDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html#wxsinglechoicedialoggetstringselection">external documentation</a>.
+getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSingleChoiceDialog),
+ wxe_util:call(?wxSingleChoiceDialog_GetStringSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSingleChoiceDialog(), Sel::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsinglechoicedialog.html#wxsinglechoicedialogsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},Sel)
+ when is_integer(Sel) ->
+ ?CLASS(ThisT,wxSingleChoiceDialog),
+ wxe_util:cast(?wxSingleChoiceDialog_SetSelection,
+ <<ThisRef:32/?UI,Sel:32/?UI>>).
+
+%% @spec (This::wxSingleChoiceDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSingleChoiceDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSizeEvent.erl b/lib/wx/src/gen/wxSizeEvent.erl
new file mode 100644
index 0000000000..e9e337df33
--- /dev/null
+++ b/lib/wx/src/gen/wxSizeEvent.erl
@@ -0,0 +1,69 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeevent.html">wxSizeEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>size</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSize(). #wxSize{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSizeEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSizeEvent).
+-include("wxe.hrl").
+-export([getSize/1]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSizeEvent()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeevent.html#wxsizeeventgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizeEvent),
+ wxe_util:call(?wxSizeEvent_GetSize,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSizer.erl b/lib/wx/src/gen/wxSizer.erl
new file mode 100644
index 0000000000..4086d34b19
--- /dev/null
+++ b/lib/wx/src/gen/wxSizer.erl
@@ -0,0 +1,761 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html">wxSizer</a>.
+%% @type wxSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSizer).
+-include("wxe.hrl").
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getItem/2,
+ getItem/3,getMinSize/1,getPosition/1,getSize/1,hide/2,hide/3,insert/3,
+ insert/4,insert/5,insertSpacer/3,insertStretchSpacer/2,insertStretchSpacer/3,
+ isShown/2,layout/1,prepend/2,prepend/3,prepend/4,prependSpacer/2,prependStretchSpacer/1,
+ prependStretchSpacer/2,recalcSizes/1,remove/2,replace/3,replace/4,
+ setDimension/5,setItemMinSize/3,setItemMinSize/4,setMinSize/2,setMinSize/3,
+ setSizeHints/2,setVirtualSizeHints/2,show/2,show/3]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> wxSizerItem:wxSizerItem()
+%% @equiv add(This,Window, [])
+add(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ add(This,Window, []).
+
+%% @spec (This::wxSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizeradd">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% add(This::wxSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, []) </c></p>
+%% <p><c>
+%% add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+%% <p><c>
+%% add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+add(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ add(This,Width,Height, []);
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Add_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Add_2_0
+ end,
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>);
+add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Add_2_3;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Add_2_2
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,FlagsRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizeradd">external documentation</a>.
+add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_Add_3,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer(), Size::integer()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizeraddspacer">external documentation</a>.
+addSpacer(#wx_ref{type=ThisT,ref=ThisRef},Size)
+ when is_integer(Size) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_AddSpacer,
+ <<ThisRef:32/?UI,Size:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> wxSizerItem:wxSizerItem()
+%% @equiv addStretchSpacer(This, [])
+addStretchSpacer(This)
+ when is_record(This, wx_ref) ->
+ addStretchSpacer(This, []).
+
+%% @spec (This::wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {prop, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizeraddstretchspacer">external documentation</a>.
+addStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({prop, Prop}, Acc) -> [<<1:32/?UI,Prop:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_AddStretchSpacer,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizercalcmin">external documentation</a>.
+calcMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_CalcMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> ok
+%% @equiv clear(This, [])
+clear(This)
+ when is_record(This, wx_ref) ->
+ clear(This, []).
+
+%% @spec (This::wxSizer(), [Option]) -> ok
+%% Option = {delete_windows, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({delete_windows, Delete_windows}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Delete_windows)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxSizer_Clear,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerdetach">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% detach(This::wxSizer(), Index::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% detach(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool() </c>
+%% </p>
+detach(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_Detach_1_0,
+ <<ThisRef:32/?UI,Index:32/?UI>>);
+detach(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Detach_1_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Detach_1_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerfit">external documentation</a>.
+fit(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:call(?wxSizer_Fit,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerfitinside">external documentation</a>.
+fitInside(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:cast(?wxSizer_FitInside,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> [wxSizerItem:wxSizerItem()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetchildren">external documentation</a>.
+getChildren(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_GetChildren,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::term()|integer()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetitem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% getItem(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> getItem(This,Window, []) </c></p>
+%% <p><c>
+%% getItem(This::wxSizer(), Index::integer()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+getItem(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ getItem(This,Window, []);
+getItem(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_GetItem_1,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {recursive, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetitem">external documentation</a>.
+getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_GetItem_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_GetItem_2_0
+ end,
+ MOpts = fun({recursive, Recursive}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Recursive)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSizer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_GetSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizergetminsize">external documentation</a>.
+getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_GetMinSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::term()|integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerhide">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% hide(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> hide(This,Window, []) </c></p>
+%% <p><c>
+%% hide(This::wxSizer(), Index::integer()) -> bool() </c>
+%% </p>
+
+hide(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ hide(This,Window, []);
+hide(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_Hide_1,
+ <<ThisRef:32/?UI,Index:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool()
+%% Option = {recursive, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerhide">external documentation</a>.
+hide(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Hide_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Hide_2_0
+ end,
+ MOpts = fun({recursive, Recursive}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Recursive)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSizer(),Index::integer(),X::term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsert">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer()) -> insert(This,Index,Window, []) </c></p>
+%% <p><c>
+%% insert(This::wxSizer(), Index::integer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+insert(This,Index,Window)
+ when is_record(This, wx_ref),is_integer(Index),is_record(Window, wx_ref) ->
+ insert(This,Index,Window, []);
+insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef})
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(ItemT,wxSizerItem),
+ wxe_util:call(?wxSizer_Insert_2,
+ <<ThisRef:32/?UI,Index:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),Index::integer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsert">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insert(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> insert(This,Index,Width,Height, []) </c></p>
+%% <p><c>
+%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+%% <p><c>
+%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+insert(This,Index,Width,Height)
+ when is_record(This, wx_ref),is_integer(Index),is_integer(Width),is_integer(Height) ->
+ insert(This,Index,Width,Height, []);
+insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_integer(Index),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Insert_3_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Insert_3_0
+ end,
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,Index:32/?UI,WindowRef:32/?UI, 0:32,BinOpt/binary>>);
+insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef})
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Insert_3_3;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Insert_3_2
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,Index:32/?UI,WindowRef:32/?UI,FlagsRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Index::integer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsert">external documentation</a>.
+insert(#wx_ref{type=ThisT,ref=ThisRef},Index,Width,Height, Options)
+ when is_integer(Index),is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_Insert_4,
+ <<ThisRef:32/?UI,Index:32/?UI,Width:32/?UI,Height:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSizer(), Index::integer(), Size::integer()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsertspacer">external documentation</a>.
+insertSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index,Size)
+ when is_integer(Index),is_integer(Size) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_InsertSpacer,
+ <<ThisRef:32/?UI,Index:32/?UI,Size:32/?UI>>).
+
+%% @spec (This::wxSizer(), Index::integer()) -> wxSizerItem:wxSizerItem()
+%% @equiv insertStretchSpacer(This,Index, [])
+insertStretchSpacer(This,Index)
+ when is_record(This, wx_ref),is_integer(Index) ->
+ insertStretchSpacer(This,Index, []).
+
+%% @spec (This::wxSizer(), Index::integer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {prop, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsertstretchspacer">external documentation</a>.
+insertStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index, Options)
+ when is_integer(Index),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({prop, Prop}, Acc) -> [<<1:32/?UI,Prop:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_InsertStretchSpacer,
+ <<ThisRef:32/?UI,Index:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSizer(),X::integer()|term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerisshown">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% isShown(This::wxSizer(), Index::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% isShown(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool() </c>
+%% </p>
+isShown(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_IsShown_1_0,
+ <<ThisRef:32/?UI,Index:32/?UI>>);
+isShown(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_IsShown_1_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_IsShown_1_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerlayout">external documentation</a>.
+layout(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_Layout,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprepend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> prepend(This,Window, []) </c></p>
+%% <p><c>
+%% prepend(This::wxSizer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+prepend(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ prepend(This,Window, []);
+prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(ItemT,wxSizerItem),
+ wxe_util:call(?wxSizer_Prepend_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprepend">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% prepend(This::wxSizer(), Width::integer(), Height::integer()) -> prepend(This,Width,Height, []) </c></p>
+%% <p><c>
+%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() </c>
+%%<br /> Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% </p>
+%% <p><c>
+%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() </c>
+%% </p>
+
+prepend(This,Width,Height)
+ when is_record(This, wx_ref),is_integer(Width),is_integer(Height) ->
+ prepend(This,Width,Height, []);
+prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Prepend_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Prepend_2_0
+ end,
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>);
+prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Prepend_2_3;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizer_Prepend_2_2
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,FlagsRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprepend">external documentation</a>.
+prepend(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options)
+ when is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ ({flag, Flag}, Acc) -> [<<2:32/?UI,Flag:32/?UI>>|Acc];
+ ({border, Border}, Acc) -> [<<3:32/?UI,Border:32/?UI>>|Acc];
+ ({userData, #wx_ref{type=UserDataT,ref=UserDataRef}}, Acc) -> ?CLASS(UserDataT,wx),[<<4:32/?UI,UserDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_Prepend_3,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer(), Size::integer()) -> wxSizerItem:wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprependspacer">external documentation</a>.
+prependSpacer(#wx_ref{type=ThisT,ref=ThisRef},Size)
+ when is_integer(Size) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_PrependSpacer,
+ <<ThisRef:32/?UI,Size:32/?UI>>).
+
+%% @spec (This::wxSizer()) -> wxSizerItem:wxSizerItem()
+%% @equiv prependStretchSpacer(This, [])
+prependStretchSpacer(This)
+ when is_record(This, wx_ref) ->
+ prependStretchSpacer(This, []).
+
+%% @spec (This::wxSizer(), [Option]) -> wxSizerItem:wxSizerItem()
+%% Option = {prop, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprependstretchspacer">external documentation</a>.
+prependStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({prop, Prop}, Acc) -> [<<1:32/?UI,Prop:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_PrependStretchSpacer,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerrecalcsizes">external documentation</a>.
+recalcSizes(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_RecalcSizes,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|wxSizer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerremove">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% remove(This::wxSizer(), Index::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% remove(This::wxSizer(), Sizer::wxSizer()) -> bool() </c>
+%% </p>
+remove(#wx_ref{type=ThisT,ref=ThisRef},Index)
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_Remove_1_0,
+ <<ThisRef:32/?UI,Index:32/?UI>>);
+remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(SizerT,wxSizer),
+ wxe_util:call(?wxSizer_Remove_1_1,
+ <<ThisRef:32/?UI,SizerRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::term()|integer(),X::term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerreplace">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% replace(This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer()) -> replace(This,Oldwin,Newwin, []) </c></p>
+%% <p><c>
+%% replace(This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem()) -> bool() </c>
+%% </p>
+
+replace(This,Oldwin,Newwin)
+ when is_record(This, wx_ref),is_record(Oldwin, wx_ref),is_record(Newwin, wx_ref) ->
+ replace(This,Oldwin,Newwin, []);
+replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=NewitemT,ref=NewitemRef})
+ when is_integer(Index) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(NewitemT,wxSizerItem),
+ wxe_util:call(?wxSizer_Replace_2,
+ <<ThisRef:32/?UI,Index:32/?UI,NewitemRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool()
+%% Option = {recursive, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=OldwinT,ref=OldwinRef},#wx_ref{type=NewwinT,ref=NewwinRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ OldwinOP = case ?CLASS_T(OldwinT,wxWindow) of
+ true ->
+ ?CLASS(NewwinT,wxWindow),
+ ?wxSizer_Replace_3_1;
+ _ -> ?CLASS(OldwinT,wxSizer),
+ ?CLASS(NewwinT,wxSizer),
+ ?wxSizer_Replace_3_0
+ end,
+ MOpts = fun({recursive, Recursive}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Recursive)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(OldwinOP,
+ <<ThisRef:32/?UI,OldwinRef:32/?UI,NewwinRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizer(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetdimension">external documentation</a>.
+setDimension(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Width,Height)
+ when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_SetDimension,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxSizer(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetminsize">external documentation</a>.
+setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_SetMinSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizer(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetminsize">external documentation</a>.
+setMinSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_SetMinSize_2,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|term(),Size::{W::integer(),H::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetitemminsize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setItemMinSize(This::wxSizer(), Index::integer(), Size::{W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+%% <p><c>
+%% setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},Index,{SizeW,SizeH})
+ when is_integer(Index),is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_SetItemMinSize_2_0,
+ <<ThisRef:32/?UI,Index:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>);
+setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_SetItemMinSize_2_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_SetItemMinSize_2_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|term(),Width::integer(),Height::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetitemminsize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setItemMinSize(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> bool() </c>
+%% </p>
+%% <p><c>
+%% setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer()) -> bool() </c>
+%% </p>
+setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},Index,Width,Height)
+ when is_integer(Index),is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:call(?wxSizer_SetItemMinSize_3_0,
+ <<ThisRef:32/?UI,Index:32/?UI,Width:32/?UI,Height:32/?UI>>);
+setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_SetItemMinSize_3_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_SetItemMinSize_3_1
+ end,
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetsizehints">external documentation</a>.
+setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:cast(?wxSizer_SetSizeHints,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizersetvirtualsizehints">external documentation</a>.
+setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizer),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:cast(?wxSizer_SetVirtualSizeHints,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|term()|bool()) -> bool()|bool()|ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizershow">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% show(This::wxSizer(), Index::integer()) -> show(This,Index, []) </c></p>
+%% <p><c>
+%% show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> show(This,Window, []) </c></p>
+%% <p><c>
+%% show(This::wxSizer(), Show::bool()) -> ok </c>
+%% </p>
+
+show(This,Index)
+ when is_record(This, wx_ref),is_integer(Index) ->
+ show(This,Index, []);
+
+show(This,Window)
+ when is_record(This, wx_ref),is_record(Window, wx_ref) ->
+ show(This,Window, []);
+show(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxSizer),
+ wxe_util:cast(?wxSizer_Show_1,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxSizer(),X::integer()|term(),[Option]) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizershow">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% show(This::wxSizer(), Index::integer(), [Option]) -> bool() </c>
+%%<br /> Option = {show, bool()}
+%% </p>
+%% <p><c>
+%% show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool() </c>
+%%<br /> Option = {show, bool()} | {recursive, bool()}
+%% </p>
+show(#wx_ref{type=ThisT,ref=ThisRef},Index, Options)
+ when is_integer(Index),is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizer_Show_2_0,
+ <<ThisRef:32/?UI,Index:32/?UI, BinOpt/binary>>);
+show(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizer),
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?wxSizer_Show_2_2;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?wxSizer_Show_2_1
+ end,
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ ({recursive, Recursive}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(Recursive)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(WindowOP,
+ <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>).
+
diff --git a/lib/wx/src/gen/wxSizerFlags.erl b/lib/wx/src/gen/wxSizerFlags.erl
new file mode 100644
index 0000000000..898b2d42ed
--- /dev/null
+++ b/lib/wx/src/gen/wxSizerFlags.erl
@@ -0,0 +1,134 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html">wxSizerFlags</a>.
+%% @type wxSizerFlags(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSizerFlags).
+-include("wxe.hrl").
+-export([align/2,border/1,border/2,border/3,center/1,centre/1,destroy/1,expand/1,
+ left/1,new/0,new/1,proportion/2,right/1]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSizerFlags()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxSizerFlags()
+%% Option = {proportion, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagswxsizerflags">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSizerFlags_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxSizerFlags(), Alignment::integer()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsalign">external documentation</a>.
+align(#wx_ref{type=ThisT,ref=ThisRef},Alignment)
+ when is_integer(Alignment) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Align,
+ <<ThisRef:32/?UI,Alignment:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @equiv border(This, [])
+border(This)
+ when is_record(This, wx_ref) ->
+ border(This, []).
+
+%% @spec (This::wxSizerFlags(), [Option]) -> wxSizerFlags()
+%% Option = {direction, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsborder">external documentation</a>.
+border(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ MOpts = fun({direction, Direction}, Acc) -> [<<1:32/?UI,Direction:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSizerFlags_Border_1,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSizerFlags(), Direction::integer(), BorderInPixels::integer()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsborder">external documentation</a>.
+border(#wx_ref{type=ThisT,ref=ThisRef},Direction,BorderInPixels)
+ when is_integer(Direction),is_integer(BorderInPixels) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Border_2,
+ <<ThisRef:32/?UI,Direction:32/?UI,BorderInPixels:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagscenter">external documentation</a>.
+center(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Center,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagscentre">external documentation</a>.
+centre(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Centre,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsexpand">external documentation</a>.
+expand(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Expand,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsleft">external documentation</a>.
+left(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Left,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerFlags(), Proportion::integer()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsproportion">external documentation</a>.
+proportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion)
+ when is_integer(Proportion) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Proportion,
+ <<ThisRef:32/?UI,Proportion:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> wxSizerFlags()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizerflags.html#wxsizerflagsright">external documentation</a>.
+right(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerFlags),
+ wxe_util:call(?wxSizerFlags_Right,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerFlags()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSizerFlags),
+ wxe_util:destroy(?wxSizerFlags_destroy,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxSizerItem.erl b/lib/wx/src/gen/wxSizerItem.erl
new file mode 100644
index 0000000000..e8391d859a
--- /dev/null
+++ b/lib/wx/src/gen/wxSizerItem.erl
@@ -0,0 +1,354 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html">wxSizerItem</a>.
+%% @type wxSizerItem(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSizerItem).
+-include("wxe.hrl").
+-export([calcMin/1,deleteWindows/1,destroy/1,detachSizer/1,getBorder/1,getFlag/1,
+ getMinSize/1,getPosition/1,getProportion/1,getRatio/1,getRect/1,getSize/1,
+ getSizer/1,getSpacer/1,getUserData/1,getWindow/1,isShown/1,isSizer/1,
+ isSpacer/1,isWindow/1,new/0,new/2,new/3,new/5,new/6,setBorder/2,setDimension/3,
+ setFlag/2,setInitSize/3,setMinSize/2,setMinSize/3,setProportion/2,
+ setRatio/2,setRatio/3,setSizer/2,setSpacer/2,setSpacer/3,setWindow/2,
+ show/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemwxsizeritem">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSizerItem_new_0,
+ <<>>).
+
+%% @spec (Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemwxsizeritem">external documentation</a>.
+new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef}) ->
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizerItem_new_2_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?CLASS(FlagsT,wxSizerFlags),
+ ?wxSizerItem_new_2_0
+ end,
+ wxe_util:construct(WindowOP,
+ <<WindowRef:32/?UI,FlagsRef:32/?UI>>).
+
+%% @spec (Width::integer(), Height::integer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemwxsizeritem">external documentation</a>.
+new(Width,Height,#wx_ref{type=FlagsT,ref=FlagsRef})
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(FlagsT,wxSizerFlags),
+ wxe_util:construct(?wxSizerItem_new_3,
+ <<Width:32/?UI,Height:32/?UI,FlagsRef:32/?UI>>).
+
+%% @spec (Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx()) -> wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemwxsizeritem">external documentation</a>.
+new(#wx_ref{type=WindowT,ref=WindowRef},Proportion,Flag,Border,#wx_ref{type=UserDataT,ref=UserDataRef})
+ when is_integer(Proportion),is_integer(Flag),is_integer(Border) ->
+ WindowOP = case ?CLASS_T(WindowT,wxWindow) of
+ true ->
+ ?CLASS(UserDataT,wx),
+ ?wxSizerItem_new_5_1;
+ _ -> ?CLASS(WindowT,wxSizer),
+ ?CLASS(UserDataT,wx),
+ ?wxSizerItem_new_5_0
+ end,
+ wxe_util:construct(WindowOP,
+ <<WindowRef:32/?UI,Proportion:32/?UI,Flag:32/?UI,Border:32/?UI,UserDataRef:32/?UI>>).
+
+%% @spec (Width::integer(), Height::integer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx()) -> wxSizerItem()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemwxsizeritem">external documentation</a>.
+new(Width,Height,Proportion,Flag,Border,#wx_ref{type=UserDataT,ref=UserDataRef})
+ when is_integer(Width),is_integer(Height),is_integer(Proportion),is_integer(Flag),is_integer(Border) ->
+ ?CLASS(UserDataT,wx),
+ wxe_util:construct(?wxSizerItem_new_6,
+ <<Width:32/?UI,Height:32/?UI,Proportion:32/?UI,Flag:32/?UI,Border:32/?UI,UserDataRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemcalcmin">external documentation</a>.
+calcMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_CalcMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemdeletewindows">external documentation</a>.
+deleteWindows(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_DeleteWindows,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemdetachsizer">external documentation</a>.
+detachSizer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_DetachSizer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetborder">external documentation</a>.
+getBorder(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetBorder,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetflag">external documentation</a>.
+getFlag(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetFlag,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetminsize">external documentation</a>.
+getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetMinSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetproportion">external documentation</a>.
+getProportion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetProportion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> float()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetratio">external documentation</a>.
+getRatio(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetRatio,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetrect">external documentation</a>.
+getRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> wxSizer:wxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetsizer">external documentation</a>.
+getSizer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetSizer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetspacer">external documentation</a>.
+getSpacer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetSpacer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetuserdata">external documentation</a>.
+getUserData(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetUserData,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemgetwindow">external documentation</a>.
+getWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_GetWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemissizer">external documentation</a>.
+isSizer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_IsSizer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemisshown">external documentation</a>.
+isShown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_IsShown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemisspacer">external documentation</a>.
+isSpacer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_IsSpacer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemiswindow">external documentation</a>.
+isWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:call(?wxSizerItem_IsWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Border::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetborder">external documentation</a>.
+setBorder(#wx_ref{type=ThisT,ref=ThisRef},Border)
+ when is_integer(Border) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetBorder,
+ <<ThisRef:32/?UI,Border:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Pos::{X::integer(),Y::integer()}, Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetdimension">external documentation</a>.
+setDimension(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY},{SizeW,SizeH})
+ when is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetDimension,
+ <<ThisRef:32/?UI,PosX:32/?UI,PosY:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Flag::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetflag">external documentation</a>.
+setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag)
+ when is_integer(Flag) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetFlag,
+ <<ThisRef:32/?UI,Flag:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetinitsize">external documentation</a>.
+setInitSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetInitSize,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetminsize">external documentation</a>.
+setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetMinSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetminsize">external documentation</a>.
+setMinSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetMinSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Proportion::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetproportion">external documentation</a>.
+setProportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion)
+ when is_integer(Proportion) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetProportion,
+ <<ThisRef:32/?UI,Proportion:32/?UI>>).
+
+%% @spec (This::wxSizerItem(),X::float()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetratio">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setRatio(This::wxSizerItem(), Ratio::float()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setRatio(This::wxSizerItem(), Size::{W::integer(),H::integer()}) -> ok </c>
+%% </p>
+setRatio(#wx_ref{type=ThisT,ref=ThisRef},Ratio)
+ when is_float(Ratio) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetRatio_1_0,
+ <<ThisRef:32/?UI,Ratio:32/?F>>);
+setRatio(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetRatio_1_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetratio">external documentation</a>.
+setRatio(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetRatio_2,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Sizer::wxSizer:wxSizer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetsizer">external documentation</a>.
+setSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ ?CLASS(SizerT,wxSizer),
+ wxe_util:cast(?wxSizerItem_SetSizer,
+ <<ThisRef:32/?UI,SizerRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetspacer">external documentation</a>.
+setSpacer(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetSpacer_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetspacer">external documentation</a>.
+setSpacer(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_SetSpacer_2,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Window::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemsetwindow">external documentation</a>.
+setWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSizerItem),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:cast(?wxSizerItem_SetWindow,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSizerItem(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizeritem.html#wxsizeritemshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxSizerItem),
+ wxe_util:cast(?wxSizerItem_Show,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxSizerItem()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSizerItem),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxSlider.erl b/lib/wx/src/gen/wxSlider.erl
new file mode 100644
index 0000000000..694630859b
--- /dev/null
+++ b/lib/wx/src/gen/wxSlider.erl
@@ -0,0 +1,579 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html">wxSlider</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSlider(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSlider).
+-include("wxe.hrl").
+-export([create/6,create/7,destroy/1,getLineSize/1,getMax/1,getMin/1,getPageSize/1,
+ getThumbLength/1,getValue/1,new/0,new/5,new/6,setLineSize/2,setPageSize/2,
+ setRange/3,setThumbLength/2,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSlider()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxsliderwxslider">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSlider_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer()) -> wxSlider()
+%% @equiv new(Parent,Id,Value,MinValue,MaxValue, [])
+new(Parent,Id,Value,MinValue,MaxValue)
+ when is_record(Parent, wx_ref),is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue) ->
+ new(Parent,Id,Value,MinValue,MaxValue, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), [Option]) -> wxSlider()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxsliderwxslider">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Value,MinValue,MaxValue, Options)
+ when is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSlider_new_6,
+ <<ParentRef:32/?UI,Id:32/?UI,Value:32/?UI,MinValue:32/?UI,MaxValue:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer()) -> bool()
+%% @equiv create(This,Parent,Id,Value,MinValue,MaxValue, [])
+create(This,Parent,Id,Value,MinValue,MaxValue)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue) ->
+ create(This,Parent,Id,Value,MinValue,MaxValue, []).
+
+%% @spec (This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidercreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Value,MinValue,MaxValue, Options)
+ when is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue),is_list(Options) ->
+ ?CLASS(ThisT,wxSlider),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSlider_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,Value:32/?UI,MinValue:32/?UI,MaxValue:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetlinesize">external documentation</a>.
+getLineSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetLineSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetmax">external documentation</a>.
+getMax(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetMax,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetmin">external documentation</a>.
+getMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetpagesize">external documentation</a>.
+getPageSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetPageSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetthumblength">external documentation</a>.
+getThumbLength(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetThumbLength,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidergetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:call(?wxSlider_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSlider(), LineSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidersetlinesize">external documentation</a>.
+setLineSize(#wx_ref{type=ThisT,ref=ThisRef},LineSize)
+ when is_integer(LineSize) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:cast(?wxSlider_SetLineSize,
+ <<ThisRef:32/?UI,LineSize:32/?UI>>).
+
+%% @spec (This::wxSlider(), PageSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidersetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},PageSize)
+ when is_integer(PageSize) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:cast(?wxSlider_SetPageSize,
+ <<ThisRef:32/?UI,PageSize:32/?UI>>).
+
+%% @spec (This::wxSlider(), MinValue::integer(), MaxValue::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidersetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},MinValue,MaxValue)
+ when is_integer(MinValue),is_integer(MaxValue) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:cast(?wxSlider_SetRange,
+ <<ThisRef:32/?UI,MinValue:32/?UI,MaxValue:32/?UI>>).
+
+%% @spec (This::wxSlider(), LenPixels::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidersetthumblength">external documentation</a>.
+setThumbLength(#wx_ref{type=ThisT,ref=ThisRef},LenPixels)
+ when is_integer(LenPixels) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:cast(?wxSlider_SetThumbLength,
+ <<ThisRef:32/?UI,LenPixels:32/?UI>>).
+
+%% @spec (This::wxSlider(), Value::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxslider.html#wxslidersetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
+ when is_integer(Value) ->
+ ?CLASS(ThisT,wxSlider),
+ wxe_util:cast(?wxSlider_SetValue,
+ <<ThisRef:32/?UI,Value:32/?UI>>).
+
+%% @spec (This::wxSlider()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSlider),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSpinButton.erl b/lib/wx/src/gen/wxSpinButton.erl
new file mode 100644
index 0000000000..1cc59ec6aa
--- /dev/null
+++ b/lib/wx/src/gen/wxSpinButton.erl
@@ -0,0 +1,533 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html">wxSpinButton</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSpinButton(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSpinButton).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getMax/1,getMin/1,getValue/1,new/0,new/1,
+ new/2,setRange/3,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSpinButton()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttonwxspinbutton">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSpinButton_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxSpinButton()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSpinButton()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttonwxspinbutton">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSpinButton_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSpinButton(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxSpinButton(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttoncreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSpinButton),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSpinButton_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSpinButton()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttongetmax">external documentation</a>.
+getMax(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinButton),
+ wxe_util:call(?wxSpinButton_GetMax,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinButton()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttongetmin">external documentation</a>.
+getMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinButton),
+ wxe_util:call(?wxSpinButton_GetMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinButton()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttongetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinButton),
+ wxe_util:call(?wxSpinButton_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinButton(), MinVal::integer(), MaxVal::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttonsetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},MinVal,MaxVal)
+ when is_integer(MinVal),is_integer(MaxVal) ->
+ ?CLASS(ThisT,wxSpinButton),
+ wxe_util:cast(?wxSpinButton_SetRange,
+ <<ThisRef:32/?UI,MinVal:32/?UI,MaxVal:32/?UI>>).
+
+%% @spec (This::wxSpinButton(), Value::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinbutton.html#wxspinbuttonsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
+ when is_integer(Value) ->
+ ?CLASS(ThisT,wxSpinButton),
+ wxe_util:cast(?wxSpinButton_SetValue,
+ <<ThisRef:32/?UI,Value:32/?UI>>).
+
+%% @spec (This::wxSpinButton()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSpinButton),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSpinCtrl.erl b/lib/wx/src/gen/wxSpinCtrl.erl
new file mode 100644
index 0000000000..bed2d733a3
--- /dev/null
+++ b/lib/wx/src/gen/wxSpinCtrl.erl
@@ -0,0 +1,562 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html">wxSpinCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSpinCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSpinCtrl).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getMax/1,getMin/1,getValue/1,new/0,new/1,
+ new/2,setRange/3,setSelection/3,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSpinCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlwxspinctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSpinCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxSpinCtrl()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSpinCtrl()
+%% Option = {id, integer()} | {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlwxspinctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<2:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({min, Min}, Acc) -> [<<6:32/?UI,Min:32/?UI>>|Acc];
+ ({max, Max}, Acc) -> [<<7:32/?UI,Max:32/?UI>>|Acc];
+ ({initial, Initial}, Acc) -> [<<8:32/?UI,Initial:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSpinCtrl_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSpinCtrl(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxSpinCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<2:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<3:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<4:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<5:32/?UI,Style:32/?UI>>|Acc];
+ ({min, Min}, Acc) -> [<<6:32/?UI,Min:32/?UI>>|Acc];
+ ({max, Max}, Acc) -> [<<7:32/?UI,Max:32/?UI>>|Acc];
+ ({initial, Initial}, Acc) -> [<<8:32/?UI,Initial:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSpinCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSpinCtrl(),X::integer()|string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlsetvalue">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setValue(This::wxSpinCtrl(), Value::integer()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setValue(This::wxSpinCtrl(), Text::string()) -> ok </c>
+%% </p>
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
+ when is_integer(Value) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:cast(?wxSpinCtrl_SetValue_1_0,
+ <<ThisRef:32/?UI,Value:32/?UI>>);
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxSpinCtrl_SetValue_1_1,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxSpinCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:call(?wxSpinCtrl_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinCtrl(), MinVal::integer(), MaxVal::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlsetrange">external documentation</a>.
+setRange(#wx_ref{type=ThisT,ref=ThisRef},MinVal,MaxVal)
+ when is_integer(MinVal),is_integer(MaxVal) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:cast(?wxSpinCtrl_SetRange,
+ <<ThisRef:32/?UI,MinVal:32/?UI,MaxVal:32/?UI>>).
+
+%% @spec (This::wxSpinCtrl(), From::integer(), To::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:cast(?wxSpinCtrl_SetSelection,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxSpinCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlgetmin">external documentation</a>.
+getMin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:call(?wxSpinCtrl_GetMin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinctrl.html#wxspinctrlgetmax">external documentation</a>.
+getMax(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinCtrl),
+ wxe_util:call(?wxSpinCtrl_GetMax,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSpinCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSpinEvent.erl b/lib/wx/src/gen/wxSpinEvent.erl
new file mode 100644
index 0000000000..2c44b3c2a3
--- /dev/null
+++ b/lib/wx/src/gen/wxSpinEvent.erl
@@ -0,0 +1,109 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinevent.html">wxSpinEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_spinctrl_updated</em>, <em>spin_up</em>, <em>spin_down</em>, <em>spin</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSpin(). #wxSpin{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSpinEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSpinEvent).
+-include("wxe.hrl").
+-export([getPosition/1,setPosition/2]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSpinEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinevent.html#wxspineventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSpinEvent),
+ wxe_util:call(?wxSpinEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSpinEvent(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxspinevent.html#wxspineventsetposition">external documentation</a>.
+setPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxSpinEvent),
+ wxe_util:cast(?wxSpinEvent_SetPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSplashScreen.erl b/lib/wx/src/gen/wxSplashScreen.erl
new file mode 100644
index 0000000000..8fe543c4e8
--- /dev/null
+++ b/lib/wx/src/gen/wxSplashScreen.erl
@@ -0,0 +1,582 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplashscreen.html">wxSplashScreen</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxFrame}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSplashScreen(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSplashScreen).
+-include("wxe.hrl").
+-export([destroy/1,getSplashStyle/1,getTimeout/1,new/0,new/5,new/6]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createStatusBar/1,createStatusBar/2,createToolBar/1,createToolBar/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientAreaOrigin/1,
+ getClientSize/1,getContainingSizer/1,getCursor/1,getDropTarget/1,
+ getEventHandler/1,getExtraStyle/1,getFont/1,getForegroundColour/1,
+ getGrandParent/1,getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,
+ getLabel/1,getMaxSize/1,getMenuBar/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getStatusBar/1,
+ getStatusBarPane/1,getTextExtent/2,getTextExtent/3,getTitle/1,getToolBar/1,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isRetained/1,isShown/1,isTopLevel/1,layout/1,
+ lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,maximize/2,
+ move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,processCommand/2,
+ raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,
+ removeChild/2,reparent/2,requestUserAttention/1,requestUserAttention/2,
+ screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,
+ scrollWindow/4,sendSizeEvent/1,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setIcon/2,setIcons/2,setId/2,setLabel/2,setMaxSize/2,
+ setMenuBar/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,
+ setOwnForegroundColour/2,setPalette/2,setScrollPos/3,setScrollPos/4,
+ setScrollbar/5,setScrollbar/6,setShape/2,setSize/2,setSize/3,setSize/5,
+ setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,setSizer/2,
+ setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setStatusBar/2,setStatusBarPane/2,
+ setStatusText/2,setStatusText/3,setStatusWidths/2,setThemeEnabled/2,
+ setTitle/2,setToolBar/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxFrame) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSplashScreen()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplashscreen.html#wxsplashscreenwxsplashscreen">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSplashScreen_new_0,
+ <<>>).
+
+%% @spec (Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer()) -> wxSplashScreen()
+%% @equiv new(Bitmap,SplashStyle,Milliseconds,Parent,Id, [])
+new(Bitmap,SplashStyle,Milliseconds,Parent,Id)
+ when is_record(Bitmap, wx_ref),is_integer(SplashStyle),is_integer(Milliseconds),is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Bitmap,SplashStyle,Milliseconds,Parent,Id, []).
+
+%% @spec (Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxSplashScreen()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplashscreen.html#wxsplashscreenwxsplashscreen">external documentation</a>.
+new(#wx_ref{type=BitmapT,ref=BitmapRef},SplashStyle,Milliseconds,#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(SplashStyle),is_integer(Milliseconds),is_integer(Id),is_list(Options) ->
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSplashScreen_new_6,
+ <<BitmapRef:32/?UI,SplashStyle:32/?UI,Milliseconds:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSplashScreen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplashscreen.html#wxsplashscreengetsplashstyle">external documentation</a>.
+getSplashStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplashScreen),
+ wxe_util:call(?wxSplashScreen_GetSplashStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplashScreen()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplashscreen.html#wxsplashscreengettimeout">external documentation</a>.
+getTimeout(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplashScreen),
+ wxe_util:call(?wxSplashScreen_GetTimeout,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplashScreen()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSplashScreen),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxFrame
+%% @hidden
+setToolBar(This,Toolbar) -> wxFrame:setToolBar(This,Toolbar).
+%% @hidden
+setStatusWidths(This,Widths_field) -> wxFrame:setStatusWidths(This,Widths_field).
+%% @hidden
+setStatusText(This,Text, Options) -> wxFrame:setStatusText(This,Text, Options).
+%% @hidden
+setStatusText(This,Text) -> wxFrame:setStatusText(This,Text).
+%% @hidden
+setStatusBarPane(This,N) -> wxFrame:setStatusBarPane(This,N).
+%% @hidden
+setStatusBar(This,Statbar) -> wxFrame:setStatusBar(This,Statbar).
+%% @hidden
+setMenuBar(This,Menubar) -> wxFrame:setMenuBar(This,Menubar).
+%% @hidden
+sendSizeEvent(This) -> wxFrame:sendSizeEvent(This).
+%% @hidden
+processCommand(This,Winid) -> wxFrame:processCommand(This,Winid).
+%% @hidden
+getToolBar(This) -> wxFrame:getToolBar(This).
+%% @hidden
+getStatusBarPane(This) -> wxFrame:getStatusBarPane(This).
+%% @hidden
+getStatusBar(This) -> wxFrame:getStatusBar(This).
+%% @hidden
+getMenuBar(This) -> wxFrame:getMenuBar(This).
+%% @hidden
+getClientAreaOrigin(This) -> wxFrame:getClientAreaOrigin(This).
+%% @hidden
+createToolBar(This, Options) -> wxFrame:createToolBar(This, Options).
+%% @hidden
+createToolBar(This) -> wxFrame:createToolBar(This).
+%% @hidden
+createStatusBar(This, Options) -> wxFrame:createStatusBar(This, Options).
+%% @hidden
+createStatusBar(This) -> wxFrame:createStatusBar(This).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxSplitterEvent.erl b/lib/wx/src/gen/wxSplitterEvent.erl
new file mode 100644
index 0000000000..a3a8171742
--- /dev/null
+++ b/lib/wx/src/gen/wxSplitterEvent.erl
@@ -0,0 +1,130 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html">wxSplitterEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_splitter_sash_pos_changed</em>, <em>command_splitter_sash_pos_changing</em>, <em>command_splitter_doubleclicked</em>, <em>command_splitter_unsplit</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSplitter(). #wxSplitter{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSplitterEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSplitterEvent).
+-include("wxe.hrl").
+-export([getSashPosition/1,getWindowBeingRemoved/1,getX/1,getY/1,setSashPosition/2]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxSplitterEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html#wxsplittereventgetsashposition">external documentation</a>.
+getSashPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterEvent),
+ wxe_util:call(?wxSplitterEvent_GetSashPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html#wxsplittereventgetx">external documentation</a>.
+getX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterEvent),
+ wxe_util:call(?wxSplitterEvent_GetX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html#wxsplittereventgety">external documentation</a>.
+getY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterEvent),
+ wxe_util:call(?wxSplitterEvent_GetY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterEvent()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html#wxsplittereventgetwindowbeingremoved">external documentation</a>.
+getWindowBeingRemoved(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterEvent),
+ wxe_util:call(?wxSplitterEvent_GetWindowBeingRemoved,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterEvent(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterevent.html#wxsplittereventsetsashposition">external documentation</a>.
+setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxSplitterEvent),
+ wxe_util:cast(?wxSplitterEvent_SetSashPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSplitterWindow.erl b/lib/wx/src/gen/wxSplitterWindow.erl
new file mode 100644
index 0000000000..6522858266
--- /dev/null
+++ b/lib/wx/src/gen/wxSplitterWindow.erl
@@ -0,0 +1,680 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html">wxSplitterWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxSplitterWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSplitterWindow).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getMinimumPaneSize/1,getSashGravity/1,
+ getSashPosition/1,getSplitMode/1,getWindow1/1,getWindow2/1,initialize/2,
+ isSplit/1,new/0,new/1,new/2,replaceWindow/3,setMinimumPaneSize/2,setSashGravity/2,
+ setSashPosition/2,setSashPosition/3,setSashSize/2,setSplitMode/2,
+ splitHorizontally/3,splitHorizontally/4,splitVertically/3,splitVertically/4,
+ unsplit/1,unsplit/2,updateSize/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxSplitterWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowwxsplitterwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxSplitterWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxSplitterWindow()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSplitterWindow()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowwxsplitterwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxSplitterWindow_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxSplitterWindow(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSplitterWindow_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetminimumpanesize">external documentation</a>.
+getMinimumPaneSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetMinimumPaneSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> float()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetsashgravity">external documentation</a>.
+getSashGravity(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetSashGravity,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetsashposition">external documentation</a>.
+getSashPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetSashPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> WxSplitMode
+%% WxSplitMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetsplitmode">external documentation</a>.
+%%<br /> WxSplitMode is one of ?wxSPLIT_HORIZONTAL | ?wxSPLIT_VERTICAL
+getSplitMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetSplitMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetwindow1">external documentation</a>.
+getWindow1(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetWindow1,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowgetwindow2">external documentation</a>.
+getWindow2(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_GetWindow2,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), Window::wxWindow:wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowinitialize">external documentation</a>.
+initialize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ ?CLASS(WindowT,wxWindow),
+ wxe_util:cast(?wxSplitterWindow_Initialize,
+ <<ThisRef:32/?UI,WindowRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowissplit">external documentation</a>.
+isSplit(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:call(?wxSplitterWindow_IsSplit,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), WinOld::wxWindow:wxWindow(), WinNew::wxWindow:wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowreplacewindow">external documentation</a>.
+replaceWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinOldT,ref=WinOldRef},#wx_ref{type=WinNewT,ref=WinNewRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ ?CLASS(WinOldT,wxWindow),
+ ?CLASS(WinNewT,wxWindow),
+ wxe_util:call(?wxSplitterWindow_ReplaceWindow,
+ <<ThisRef:32/?UI,WinOldRef:32/?UI,WinNewRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), Gravity::float()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsetsashgravity">external documentation</a>.
+setSashGravity(#wx_ref{type=ThisT,ref=ThisRef},Gravity)
+ when is_float(Gravity) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:cast(?wxSplitterWindow_SetSashGravity,
+ <<ThisRef:32/?UI,0:32,Gravity:64/?F>>).
+
+%% @spec (This::wxSplitterWindow(), Position::integer()) -> ok
+%% @equiv setSashPosition(This,Position, [])
+setSashPosition(This,Position)
+ when is_record(This, wx_ref),is_integer(Position) ->
+ setSashPosition(This,Position, []).
+
+%% @spec (This::wxSplitterWindow(), Position::integer(), [Option]) -> ok
+%% Option = {redraw, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsetsashposition">external documentation</a>.
+setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Position, Options)
+ when is_integer(Position),is_list(Options) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ MOpts = fun({redraw, Redraw}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Redraw)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxSplitterWindow_SetSashPosition,
+ <<ThisRef:32/?UI,Position:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsetsashsize">external documentation</a>.
+setSashSize(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:cast(?wxSplitterWindow_SetSashSize,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), Min::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsetminimumpanesize">external documentation</a>.
+setMinimumPaneSize(#wx_ref{type=ThisT,ref=ThisRef},Min)
+ when is_integer(Min) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:cast(?wxSplitterWindow_SetMinimumPaneSize,
+ <<ThisRef:32/?UI,Min:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsetsplitmode">external documentation</a>.
+setSplitMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:cast(?wxSplitterWindow_SetSplitMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow()) -> bool()
+%% @equiv splitHorizontally(This,Window1,Window2, [])
+splitHorizontally(This,Window1,Window2)
+ when is_record(This, wx_ref),is_record(Window1, wx_ref),is_record(Window2, wx_ref) ->
+ splitHorizontally(This,Window1,Window2, []).
+
+%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {sashPosition, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsplithorizontally">external documentation</a>.
+splitHorizontally(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Window1Ref},#wx_ref{type=Window2T,ref=Window2Ref}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ ?CLASS(Window1T,wxWindow),
+ ?CLASS(Window2T,wxWindow),
+ MOpts = fun({sashPosition, SashPosition}, Acc) -> [<<1:32/?UI,SashPosition:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSplitterWindow_SplitHorizontally,
+ <<ThisRef:32/?UI,Window1Ref:32/?UI,Window2Ref:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow()) -> bool()
+%% @equiv splitVertically(This,Window1,Window2, [])
+splitVertically(This,Window1,Window2)
+ when is_record(This, wx_ref),is_record(Window1, wx_ref),is_record(Window2, wx_ref) ->
+ splitVertically(This,Window1,Window2, []).
+
+%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {sashPosition, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowsplitvertically">external documentation</a>.
+splitVertically(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Window1Ref},#wx_ref{type=Window2T,ref=Window2Ref}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ ?CLASS(Window1T,wxWindow),
+ ?CLASS(Window2T,wxWindow),
+ MOpts = fun({sashPosition, SashPosition}, Acc) -> [<<1:32/?UI,SashPosition:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSplitterWindow_SplitVertically,
+ <<ThisRef:32/?UI,Window1Ref:32/?UI,Window2Ref:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow()) -> bool()
+%% @equiv unsplit(This, [])
+unsplit(This)
+ when is_record(This, wx_ref) ->
+ unsplit(This, []).
+
+%% @spec (This::wxSplitterWindow(), [Option]) -> bool()
+%% Option = {toRemove, wxWindow:wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowunsplit">external documentation</a>.
+unsplit(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ MOpts = fun({toRemove, #wx_ref{type=ToRemoveT,ref=ToRemoveRef}}, Acc) -> ?CLASS(ToRemoveT,wxWindow),[<<1:32/?UI,ToRemoveRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxSplitterWindow_Unsplit,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxSplitterWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsplitterwindow.html#wxsplitterwindowupdatesize">external documentation</a>.
+updateSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxSplitterWindow),
+ wxe_util:cast(?wxSplitterWindow_UpdateSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxSplitterWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxSplitterWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStaticBitmap.erl b/lib/wx/src/gen/wxStaticBitmap.erl
new file mode 100644
index 0000000000..5f22b5780e
--- /dev/null
+++ b/lib/wx/src/gen/wxStaticBitmap.erl
@@ -0,0 +1,510 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html">wxStaticBitmap</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStaticBitmap(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStaticBitmap).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getBitmap/1,new/0,new/3,new/4,setBitmap/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStaticBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html#wxstaticbitmapwxstaticbitmap">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStaticBitmap_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap()) -> wxStaticBitmap()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_record(Label, wx_ref) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), [Option]) -> wxStaticBitmap()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html#wxstaticbitmapwxstaticbitmap">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=LabelT,ref=LabelRef}, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(LabelT,wxBitmap),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStaticBitmap_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,LabelRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_record(Label, wx_ref) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html#wxstaticbitmapcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=LabelT,ref=LabelRef}, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxStaticBitmap),
+ ?CLASS(ParentT,wxWindow),
+ ?CLASS(LabelT,wxBitmap),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStaticBitmap_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,LabelRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStaticBitmap()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html#wxstaticbitmapgetbitmap">external documentation</a>.
+getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStaticBitmap),
+ wxe_util:call(?wxStaticBitmap_GetBitmap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStaticBitmap(), Bitmap::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbitmap.html#wxstaticbitmapsetbitmap">external documentation</a>.
+setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) ->
+ ?CLASS(ThisT,wxStaticBitmap),
+ ?CLASS(BitmapT,wxBitmap),
+ wxe_util:cast(?wxStaticBitmap_SetBitmap,
+ <<ThisRef:32/?UI,BitmapRef:32/?UI>>).
+
+%% @spec (This::wxStaticBitmap()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStaticBitmap),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStaticBox.erl b/lib/wx/src/gen/wxStaticBox.erl
new file mode 100644
index 0000000000..08e8fd8c0c
--- /dev/null
+++ b/lib/wx/src/gen/wxStaticBox.erl
@@ -0,0 +1,495 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbox.html">wxStaticBox</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStaticBox(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStaticBox).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,new/0,new/3,new/4]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStaticBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbox.html#wxstaticboxwxstaticbox">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStaticBox_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxStaticBox()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxStaticBox()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbox.html#wxstaticboxwxstaticbox">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStaticBox_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticbox.html#wxstaticboxcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxStaticBox),
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStaticBox_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStaticBox()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStaticBox),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl
new file mode 100644
index 0000000000..d097bc95e3
--- /dev/null
+++ b/lib/wx/src/gen/wxStaticBoxSizer.erl
@@ -0,0 +1,189 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticboxsizer.html">wxStaticBoxSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxBoxSizer}
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxStaticBoxSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStaticBoxSizer).
+-include("wxe.hrl").
+-export([destroy/1,getStaticBox/1,new/2,new/3]).
+
+%% inherited exports
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getItem/2,
+ getItem/3,getMinSize/1,getOrientation/1,getPosition/1,getSize/1,hide/2,
+ hide/3,insert/3,insert/4,insert/5,insertSpacer/3,insertStretchSpacer/2,
+ insertStretchSpacer/3,isShown/2,layout/1,parent_class/1,prepend/2,
+ prepend/3,prepend/4,prependSpacer/2,prependStretchSpacer/1,prependStretchSpacer/2,
+ recalcSizes/1,remove/2,replace/3,replace/4,setDimension/5,setItemMinSize/3,
+ setItemMinSize/4,setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,
+ show/2,show/3]).
+
+%% @hidden
+parent_class(wxBoxSizer) -> true;
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (X::integer()|term(),X::term()|integer()) -> wxStaticBoxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticboxsizer.html#wxstaticboxsizerwxstaticboxsizer">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% new(Orient::integer(), Win::wxWindow:wxWindow()) -> new(Orient,Win, []) </c></p>
+%% <p><c>
+%% new(Box::wxStaticBox:wxStaticBox(), Orient::integer()) -> wxStaticBoxSizer() </c>
+%% </p>
+
+new(Orient,Win)
+ when is_integer(Orient),is_record(Win, wx_ref) ->
+ new(Orient,Win, []);
+new(#wx_ref{type=BoxT,ref=BoxRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(BoxT,wxStaticBox),
+ wxe_util:construct(?wxStaticBoxSizer_new_2,
+ <<BoxRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (Orient::integer(), Win::wxWindow:wxWindow(), [Option]) -> wxStaticBoxSizer()
+%% Option = {label, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticboxsizer.html#wxstaticboxsizerwxstaticboxsizer">external documentation</a>.
+new(Orient,#wx_ref{type=WinT,ref=WinRef}, Options)
+ when is_integer(Orient),is_list(Options) ->
+ ?CLASS(WinT,wxWindow),
+ MOpts = fun({label, Label}, Acc) -> Label_UC = unicode:characters_to_binary([Label,0]),[<<1:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStaticBoxSizer_new_3,
+ <<Orient:32/?UI,WinRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStaticBoxSizer()) -> wxStaticBox:wxStaticBox()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticboxsizer.html#wxstaticboxsizergetstaticbox">external documentation</a>.
+getStaticBox(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStaticBoxSizer),
+ wxe_util:call(?wxStaticBoxSizer_GetStaticBox,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStaticBoxSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStaticBoxSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxBoxSizer
+%% @hidden
+getOrientation(This) -> wxBoxSizer:getOrientation(This).
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+calcMin(This) -> wxSizer:calcMin(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
+%% @hidden
+add(This,Width,Height, Options) -> wxSizer:add(This,Width,Height, Options).
+%% @hidden
+add(This,Width,Height) -> wxSizer:add(This,Width,Height).
+%% @hidden
+add(This,Window) -> wxSizer:add(This,Window).
diff --git a/lib/wx/src/gen/wxStaticLine.erl b/lib/wx/src/gen/wxStaticLine.erl
new file mode 100644
index 0000000000..c4b660b317
--- /dev/null
+++ b/lib/wx/src/gen/wxStaticLine.erl
@@ -0,0 +1,509 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html">wxStaticLine</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStaticLine(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStaticLine).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getDefaultSize/0,isVertical/1,new/0,new/1,
+ new/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStaticLine()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html#wxstaticlinewxstaticline">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStaticLine_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxStaticLine()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStaticLine()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html#wxstaticlinewxstaticline">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStaticLine_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStaticLine(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxStaticLine(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html#wxstaticlinecreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxStaticLine),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStaticLine_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStaticLine()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html#wxstaticlineisvertical">external documentation</a>.
+isVertical(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStaticLine),
+ wxe_util:call(?wxStaticLine_IsVertical,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstaticline.html#wxstaticlinegetdefaultsize">external documentation</a>.
+getDefaultSize() ->
+ wxe_util:call(?wxStaticLine_GetDefaultSize,
+ <<>>).
+
+%% @spec (This::wxStaticLine()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStaticLine),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStaticText.erl b/lib/wx/src/gen/wxStaticText.erl
new file mode 100644
index 0000000000..0e4aec3365
--- /dev/null
+++ b/lib/wx/src/gen/wxStaticText.erl
@@ -0,0 +1,515 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html">wxStaticText</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStaticText(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStaticText).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getLabel/1,new/0,new/3,new/4,setLabel/2,wrap/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,getPosition/1,
+ getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setMaxSize/2,setMinSize/2,
+ setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStaticText()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextwxstatictext">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStaticText_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxStaticText()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxStaticText()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextwxstatictext">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStaticText_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxStaticText),
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStaticText_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStaticText()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStaticText),
+ wxe_util:call(?wxStaticText_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStaticText(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label)
+ when is_list(Label) ->
+ ?CLASS(ThisT,wxStaticText),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxStaticText_SetLabel,
+ <<ThisRef:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStaticText(), Width::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatictext.html#wxstatictextwrap">external documentation</a>.
+wrap(#wx_ref{type=ThisT,ref=ThisRef},Width)
+ when is_integer(Width) ->
+ ?CLASS(ThisT,wxStaticText),
+ wxe_util:cast(?wxStaticText_Wrap,
+ <<ThisRef:32/?UI,Width:32/?UI>>).
+
+%% @spec (This::wxStaticText()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStaticText),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStatusBar.erl b/lib/wx/src/gen/wxStatusBar.erl
new file mode 100644
index 0000000000..c77c3c447d
--- /dev/null
+++ b/lib/wx/src/gen/wxStatusBar.erl
@@ -0,0 +1,625 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html">wxStatusBar</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStatusBar(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStatusBar).
+-include("wxe.hrl").
+-export([create/2,create/3,destroy/1,getFieldRect/3,getFieldsCount/1,getStatusText/1,
+ getStatusText/2,new/0,new/1,new/2,popStatusText/1,popStatusText/2,pushStatusText/2,
+ pushStatusText/3,setFieldsCount/2,setFieldsCount/3,setMinHeight/2,
+ setStatusStyles/2,setStatusText/2,setStatusText/3,setStatusWidths/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStatusBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarwxstatusbar">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStatusBar_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxStatusBar()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStatusBar()
+%% Option = {winid, integer()} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarwxstatusbar">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStatusBar_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxStatusBar(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {winid, integer()} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc];
+ ({style, Style}, Acc) -> [<<2:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStatusBar_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), I::integer(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbargetfieldrect">external documentation</a>.
+getFieldRect(#wx_ref{type=ThisT,ref=ThisRef},I,{RectX,RectY,RectW,RectH})
+ when is_integer(I),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxStatusBar),
+ wxe_util:call(?wxStatusBar_GetFieldRect,
+ <<ThisRef:32/?UI,I:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxStatusBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbargetfieldscount">external documentation</a>.
+getFieldsCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStatusBar),
+ wxe_util:call(?wxStatusBar_GetFieldsCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStatusBar()) -> string()
+%% @equiv getStatusText(This, [])
+getStatusText(This)
+ when is_record(This, wx_ref) ->
+ getStatusText(This, []).
+
+%% @spec (This::wxStatusBar(), [Option]) -> string()
+%% Option = {number, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbargetstatustext">external documentation</a>.
+getStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStatusBar_GetStatusText,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar()) -> ok
+%% @equiv popStatusText(This, [])
+popStatusText(This)
+ when is_record(This, wx_ref) ->
+ popStatusText(This, []).
+
+%% @spec (This::wxStatusBar(), [Option]) -> ok
+%% Option = {number, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarpopstatustext">external documentation</a>.
+popStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStatusBar_PopStatusText,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), Text::string()) -> ok
+%% @equiv pushStatusText(This,Text, [])
+pushStatusText(This,Text)
+ when is_record(This, wx_ref),is_list(Text) ->
+ pushStatusText(This,Text, []).
+
+%% @spec (This::wxStatusBar(), Text::string(), [Option]) -> ok
+%% Option = {number, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarpushstatustext">external documentation</a>.
+pushStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStatusBar_PushStatusText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), Number::integer()) -> ok
+%% @equiv setFieldsCount(This,Number, [])
+setFieldsCount(This,Number)
+ when is_record(This, wx_ref),is_integer(Number) ->
+ setFieldsCount(This,Number, []).
+
+%% @spec (This::wxStatusBar(), Number::integer(), [Option]) -> ok
+%% Option = {widths, [integer()]}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarsetfieldscount">external documentation</a>.
+setFieldsCount(#wx_ref{type=ThisT,ref=ThisRef},Number, Options)
+ when is_integer(Number),is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ MOpts = fun({widths, Widths}, Acc) -> [<<1:32/?UI,(length(Widths)):32/?UI,
+ (<< <<C:32/?I>> || C <- Widths>>)/binary, 0:(((0+length(Widths)) rem 2)*32)>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStatusBar_SetFieldsCount,
+ <<ThisRef:32/?UI,Number:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarsetminheight">external documentation</a>.
+setMinHeight(#wx_ref{type=ThisT,ref=ThisRef},Height)
+ when is_integer(Height) ->
+ ?CLASS(ThisT,wxStatusBar),
+ wxe_util:cast(?wxStatusBar_SetMinHeight,
+ <<ThisRef:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxStatusBar(), Text::string()) -> ok
+%% @equiv setStatusText(This,Text, [])
+setStatusText(This,Text)
+ when is_record(This, wx_ref),is_list(Text) ->
+ setStatusText(This,Text, []).
+
+%% @spec (This::wxStatusBar(), Text::string(), [Option]) -> ok
+%% Option = {number, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarsetstatustext">external documentation</a>.
+setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxStatusBar),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({number, Number}, Acc) -> [<<1:32/?UI,Number:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStatusBar_SetStatusText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStatusBar(), Widths_field::[integer()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarsetstatuswidths">external documentation</a>.
+setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field)
+ when is_list(Widths_field) ->
+ ?CLASS(ThisT,wxStatusBar),
+ wxe_util:cast(?wxStatusBar_SetStatusWidths,
+ <<ThisRef:32/?UI,(length(Widths_field)):32/?UI,
+ (<< <<C:32/?I>> || C <- Widths_field>>)/binary, 0:(((0+length(Widths_field)) rem 2)*32)>>).
+
+%% @spec (This::wxStatusBar(), Styles::[integer()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstatusbar.html#wxstatusbarsetstatusstyles">external documentation</a>.
+setStatusStyles(#wx_ref{type=ThisT,ref=ThisRef},Styles)
+ when is_list(Styles) ->
+ ?CLASS(ThisT,wxStatusBar),
+ wxe_util:cast(?wxStatusBar_SetStatusStyles,
+ <<ThisRef:32/?UI,(length(Styles)):32/?UI,
+ (<< <<C:32/?I>> || C <- Styles>>)/binary, 0:(((0+length(Styles)) rem 2)*32)>>).
+
+%% @spec (This::wxStatusBar()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStatusBar),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStdDialogButtonSizer.erl b/lib/wx/src/gen/wxStdDialogButtonSizer.erl
new file mode 100644
index 0000000000..3ee3ef4a36
--- /dev/null
+++ b/lib/wx/src/gen/wxStdDialogButtonSizer.erl
@@ -0,0 +1,198 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html">wxStdDialogButtonSizer</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxBoxSizer}
+%% <br />{@link wxSizer}
+%% </p>
+%% @type wxStdDialogButtonSizer(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStdDialogButtonSizer).
+-include("wxe.hrl").
+-export([addButton/2,destroy/1,new/0,realize/1,setAffirmativeButton/2,setCancelButton/2,
+ setNegativeButton/2]).
+
+%% inherited exports
+-export([add/2,add/3,add/4,addSpacer/2,addStretchSpacer/1,addStretchSpacer/2,
+ calcMin/1,clear/1,clear/2,detach/2,fit/2,fitInside/2,getChildren/1,getItem/2,
+ getItem/3,getMinSize/1,getOrientation/1,getPosition/1,getSize/1,hide/2,
+ hide/3,insert/3,insert/4,insert/5,insertSpacer/3,insertStretchSpacer/2,
+ insertStretchSpacer/3,isShown/2,layout/1,parent_class/1,prepend/2,
+ prepend/3,prepend/4,prependSpacer/2,prependStretchSpacer/1,prependStretchSpacer/2,
+ recalcSizes/1,remove/2,replace/3,replace/4,setDimension/5,setItemMinSize/3,
+ setItemMinSize/4,setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,
+ show/2,show/3]).
+
+%% @hidden
+parent_class(wxBoxSizer) -> true;
+parent_class(wxSizer) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStdDialogButtonSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizerwxstddialogbuttonsizer">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStdDialogButtonSizer_new,
+ <<>>).
+
+%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizeraddbutton">external documentation</a>.
+addButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) ->
+ ?CLASS(ThisT,wxStdDialogButtonSizer),
+ ?CLASS(ButtonT,wxButton),
+ wxe_util:cast(?wxStdDialogButtonSizer_AddButton,
+ <<ThisRef:32/?UI,ButtonRef:32/?UI>>).
+
+%% @spec (This::wxStdDialogButtonSizer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizerrealize">external documentation</a>.
+realize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStdDialogButtonSizer),
+ wxe_util:cast(?wxStdDialogButtonSizer_Realize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizersetaffirmativebutton">external documentation</a>.
+setAffirmativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) ->
+ ?CLASS(ThisT,wxStdDialogButtonSizer),
+ ?CLASS(ButtonT,wxButton),
+ wxe_util:cast(?wxStdDialogButtonSizer_SetAffirmativeButton,
+ <<ThisRef:32/?UI,ButtonRef:32/?UI>>).
+
+%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizersetcancelbutton">external documentation</a>.
+setCancelButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) ->
+ ?CLASS(ThisT,wxStdDialogButtonSizer),
+ ?CLASS(ButtonT,wxButton),
+ wxe_util:cast(?wxStdDialogButtonSizer_SetCancelButton,
+ <<ThisRef:32/?UI,ButtonRef:32/?UI>>).
+
+%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstddialogbuttonsizer.html#wxstddialogbuttonsizersetnegativebutton">external documentation</a>.
+setNegativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) ->
+ ?CLASS(ThisT,wxStdDialogButtonSizer),
+ ?CLASS(ButtonT,wxButton),
+ wxe_util:cast(?wxStdDialogButtonSizer_SetNegativeButton,
+ <<ThisRef:32/?UI,ButtonRef:32/?UI>>).
+
+%% @spec (This::wxStdDialogButtonSizer()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStdDialogButtonSizer),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxBoxSizer
+%% @hidden
+getOrientation(This) -> wxBoxSizer:getOrientation(This).
+ %% From wxSizer
+%% @hidden
+show(This,Index, Options) -> wxSizer:show(This,Index, Options).
+%% @hidden
+show(This,Index) -> wxSizer:show(This,Index).
+%% @hidden
+setVirtualSizeHints(This,Window) -> wxSizer:setVirtualSizeHints(This,Window).
+%% @hidden
+setSizeHints(This,Window) -> wxSizer:setSizeHints(This,Window).
+%% @hidden
+setItemMinSize(This,Index,Width,Height) -> wxSizer:setItemMinSize(This,Index,Width,Height).
+%% @hidden
+setItemMinSize(This,Index,Size) -> wxSizer:setItemMinSize(This,Index,Size).
+%% @hidden
+setMinSize(This,Width,Height) -> wxSizer:setMinSize(This,Width,Height).
+%% @hidden
+setMinSize(This,Size) -> wxSizer:setMinSize(This,Size).
+%% @hidden
+setDimension(This,X,Y,Width,Height) -> wxSizer:setDimension(This,X,Y,Width,Height).
+%% @hidden
+replace(This,Oldwin,Newwin, Options) -> wxSizer:replace(This,Oldwin,Newwin, Options).
+%% @hidden
+replace(This,Oldwin,Newwin) -> wxSizer:replace(This,Oldwin,Newwin).
+%% @hidden
+remove(This,Index) -> wxSizer:remove(This,Index).
+%% @hidden
+recalcSizes(This) -> wxSizer:recalcSizes(This).
+%% @hidden
+prependStretchSpacer(This, Options) -> wxSizer:prependStretchSpacer(This, Options).
+%% @hidden
+prependStretchSpacer(This) -> wxSizer:prependStretchSpacer(This).
+%% @hidden
+prependSpacer(This,Size) -> wxSizer:prependSpacer(This,Size).
+%% @hidden
+prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Options).
+%% @hidden
+prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height).
+%% @hidden
+prepend(This,Window) -> wxSizer:prepend(This,Window).
+%% @hidden
+layout(This) -> wxSizer:layout(This).
+%% @hidden
+isShown(This,Index) -> wxSizer:isShown(This,Index).
+%% @hidden
+insertStretchSpacer(This,Index, Options) -> wxSizer:insertStretchSpacer(This,Index, Options).
+%% @hidden
+insertStretchSpacer(This,Index) -> wxSizer:insertStretchSpacer(This,Index).
+%% @hidden
+insertSpacer(This,Index,Size) -> wxSizer:insertSpacer(This,Index,Size).
+%% @hidden
+insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Height, Options).
+%% @hidden
+insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height).
+%% @hidden
+insert(This,Index,Window) -> wxSizer:insert(This,Index,Window).
+%% @hidden
+hide(This,Window, Options) -> wxSizer:hide(This,Window, Options).
+%% @hidden
+hide(This,Window) -> wxSizer:hide(This,Window).
+%% @hidden
+getMinSize(This) -> wxSizer:getMinSize(This).
+%% @hidden
+getPosition(This) -> wxSizer:getPosition(This).
+%% @hidden
+getSize(This) -> wxSizer:getSize(This).
+%% @hidden
+getItem(This,Window, Options) -> wxSizer:getItem(This,Window, Options).
+%% @hidden
+getItem(This,Window) -> wxSizer:getItem(This,Window).
+%% @hidden
+getChildren(This) -> wxSizer:getChildren(This).
+%% @hidden
+fitInside(This,Window) -> wxSizer:fitInside(This,Window).
+%% @hidden
+fit(This,Window) -> wxSizer:fit(This,Window).
+%% @hidden
+detach(This,Index) -> wxSizer:detach(This,Index).
+%% @hidden
+clear(This, Options) -> wxSizer:clear(This, Options).
+%% @hidden
+clear(This) -> wxSizer:clear(This).
+%% @hidden
+calcMin(This) -> wxSizer:calcMin(This).
+%% @hidden
+addStretchSpacer(This, Options) -> wxSizer:addStretchSpacer(This, Options).
+%% @hidden
+addStretchSpacer(This) -> wxSizer:addStretchSpacer(This).
+%% @hidden
+addSpacer(This,Size) -> wxSizer:addSpacer(This,Size).
+%% @hidden
+add(This,Width,Height, Options) -> wxSizer:add(This,Width,Height, Options).
+%% @hidden
+add(This,Width,Height) -> wxSizer:add(This,Width,Height).
+%% @hidden
+add(This,Window) -> wxSizer:add(This,Window).
diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl
new file mode 100644
index 0000000000..21964403f9
--- /dev/null
+++ b/lib/wx/src/gen/wxStyledTextCtrl.erl
@@ -0,0 +1,3980 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html">wxStyledTextCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxStyledTextCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStyledTextCtrl).
+-include("wxe.hrl").
+-export([addStyledText/2,addText/2,addTextRaw/2,allocate/2,appendText/2,appendTextRaw/2,
+ autoCompActive/1,autoCompCancel/1,autoCompComplete/1,autoCompGetAutoHide/1,
+ autoCompGetCancelAtStart/1,autoCompGetChooseSingle/1,autoCompGetCurrent/1,
+ autoCompGetDropRestOfWord/1,autoCompGetIgnoreCase/1,autoCompGetMaxHeight/1,
+ autoCompGetMaxWidth/1,autoCompGetSeparator/1,autoCompGetTypeSeparator/1,
+ autoCompPosStart/1,autoCompSelect/2,autoCompSetAutoHide/2,autoCompSetCancelAtStart/2,
+ autoCompSetChooseSingle/2,autoCompSetDropRestOfWord/2,autoCompSetFillUps/2,
+ autoCompSetIgnoreCase/2,autoCompSetMaxHeight/2,autoCompSetMaxWidth/2,
+ autoCompSetSeparator/2,autoCompSetTypeSeparator/2,autoCompShow/3,
+ autoCompStops/2,backTab/1,beginUndoAction/1,braceBadLight/2,braceHighlight/3,
+ braceMatch/2,callTipActive/1,callTipCancel/1,callTipPosAtStart/1,
+ callTipSetBackground/2,callTipSetForeground/2,callTipSetForegroundHighlight/2,
+ callTipSetHighlight/3,callTipShow/3,callTipUseStyle/2,canPaste/1,
+ canRedo/1,canUndo/1,cancel/1,charLeft/1,charLeftExtend/1,charLeftRectExtend/1,
+ charRight/1,charRightExtend/1,charRightRectExtend/1,chooseCaretX/1,
+ clear/1,clearAll/1,clearDocumentStyle/1,clearRegisteredImages/1,cmdKeyAssign/4,
+ cmdKeyClear/3,cmdKeyClearAll/1,cmdKeyExecute/2,colourise/3,convertEOLs/2,
+ copy/1,copyRange/3,copyText/3,create/2,create/3,cut/1,delLineLeft/1,
+ delLineRight/1,delWordLeft/1,delWordRight/1,deleteBack/1,deleteBackNotLine/1,
+ destroy/1,doDragOver/4,doDropText/4,docLineFromVisible/2,documentEnd/1,
+ documentEndExtend/1,documentStart/1,documentStartExtend/1,editToggleOvertype/1,
+ emptyUndoBuffer/1,endUndoAction/1,ensureCaretVisible/1,ensureVisible/2,
+ ensureVisibleEnforcePolicy/2,findColumn/3,findText/4,findText/5,formFeed/1,
+ formatRange/8,getAnchor/1,getBackSpaceUnIndents/1,getBufferedDraw/1,
+ getCaretForeground/1,getCaretLineBackAlpha/1,getCaretLineBackground/1,
+ getCaretLineVisible/1,getCaretPeriod/1,getCaretSticky/1,getCaretWidth/1,
+ getCharAt/2,getCodePage/1,getColumn/2,getControlCharSymbol/1,getCurLine/1,
+ getCurLineRaw/1,getCurrentLine/1,getCurrentPos/1,getEOLMode/1,getEdgeColour/1,
+ getEdgeColumn/1,getEdgeMode/1,getEndAtLastLine/1,getEndStyled/1,getFirstVisibleLine/1,
+ getFoldExpanded/2,getFoldLevel/2,getFoldParent/2,getHighlightGuide/1,
+ getIndent/1,getIndentationGuides/1,getLastChild/3,getLastKeydownProcessed/1,
+ getLayoutCache/1,getLength/1,getLexer/1,getLine/2,getLineCount/1,getLineEndPosition/2,
+ getLineIndentPosition/2,getLineIndentation/2,getLineRaw/2,getLineState/2,
+ getLineVisible/2,getMarginLeft/1,getMarginMask/2,getMarginRight/1,
+ getMarginSensitive/2,getMarginType/2,getMarginWidth/2,getMaxLineState/1,
+ getModEventMask/1,getModify/1,getMouseDownCaptures/1,getMouseDwellTime/1,
+ getOvertype/1,getPasteConvertEndings/1,getPrintColourMode/1,getPrintMagnification/1,
+ getPrintWrapMode/1,getProperty/2,getReadOnly/1,getSTCCursor/1,getSTCFocus/1,
+ getScrollWidth/1,getSearchFlags/1,getSelAlpha/1,getSelectedText/1,
+ getSelectedTextRaw/1,getSelection/1,getSelectionEnd/1,getSelectionMode/1,
+ getSelectionStart/1,getStatus/1,getStyleAt/2,getStyleBits/1,getStyleBitsNeeded/1,
+ getStyledText/3,getTabIndents/1,getTabWidth/1,getTargetEnd/1,getTargetStart/1,
+ getText/1,getTextLength/1,getTextRange/3,getTextRangeRaw/3,getTextRaw/1,
+ getTwoPhaseDraw/1,getUndoCollection/1,getUseAntiAliasing/1,getUseHorizontalScrollBar/1,
+ getUseTabs/1,getUseVerticalScrollBar/1,getViewEOL/1,getViewWhiteSpace/1,
+ getWrapMode/1,getWrapStartIndent/1,getWrapVisualFlags/1,getWrapVisualFlagsLocation/1,
+ getXOffset/1,getZoom/1,gotoLine/2,gotoPos/2,hideLines/3,hideSelection/2,
+ home/1,homeDisplay/1,homeDisplayExtend/1,homeExtend/1,homeRectExtend/1,
+ homeWrapExtend/1,indicatorGetForeground/2,indicatorGetStyle/2,indicatorSetForeground/3,
+ indicatorSetStyle/3,insertText/3,insertTextRaw/3,lineCopy/1,lineCut/1,
+ lineDelete/1,lineDown/1,lineDownExtend/1,lineDownRectExtend/1,lineDuplicate/1,
+ lineEnd/1,lineEndDisplay/1,lineEndDisplayExtend/1,lineEndExtend/1,
+ lineEndRectExtend/1,lineEndWrap/1,lineEndWrapExtend/1,lineFromPosition/2,
+ lineLength/2,lineScroll/3,lineScrollDown/1,lineScrollUp/1,lineTranspose/1,
+ lineUp/1,lineUpExtend/1,lineUpRectExtend/1,linesJoin/1,linesOnScreen/1,
+ linesSplit/2,loadFile/2,lowerCase/1,markerAdd/3,markerAddSet/3,markerDefine/3,
+ markerDefine/4,markerDefineBitmap/3,markerDelete/3,markerDeleteAll/2,
+ markerDeleteHandle/2,markerGet/2,markerLineFromHandle/2,markerNext/3,
+ markerPrevious/3,markerSetAlpha/3,markerSetBackground/3,markerSetForeground/3,
+ moveCaretInsideView/1,new/0,new/1,new/2,newLine/1,pageDown/1,pageDownExtend/1,
+ pageDownRectExtend/1,pageUp/1,pageUpExtend/1,pageUpRectExtend/1,paraDownExtend/1,
+ paraUp/1,paraUpExtend/1,paste/1,pointFromPosition/2,positionAfter/2,
+ positionBefore/2,positionFromLine/2,positionFromPoint/2,positionFromPointClose/3,
+ redo/1,registerImage/3,replaceSelection/2,replaceTarget/2,saveFile/2,
+ scrollToColumn/2,scrollToLine/2,searchAnchor/1,searchInTarget/2,searchNext/3,
+ searchPrev/3,selectAll/1,selectionDuplicate/1,selectionIsRectangle/1,
+ sendMsg/2,sendMsg/3,setAnchor/2,setBackSpaceUnIndents/2,setBufferedDraw/2,
+ setCaretForeground/2,setCaretLineBackAlpha/2,setCaretLineBackground/2,
+ setCaretLineVisible/2,setCaretPeriod/2,setCaretSticky/2,setCaretWidth/2,
+ setCharsDefault/1,setCodePage/2,setControlCharSymbol/2,setCurrentPos/2,
+ setEOLMode/2,setEdgeColour/2,setEdgeColumn/2,setFoldExpanded/3,setFoldFlags/2,
+ setFoldLevel/3,setFoldMarginColour/3,setFoldMarginHiColour/3,setHScrollBar/2,
+ setHighlightGuide/2,setHotspotActiveBackground/3,setHotspotActiveForeground/3,
+ setHotspotActiveUnderline/2,setHotspotSingleLine/2,setIndent/2,setIndentationGuides/2,
+ setKeyWords/3,setLastKeydownProcessed/2,setLayoutCache/2,setLexer/2,
+ setLexerLanguage/2,setLineIndentation/3,setLineState/3,setMarginLeft/2,
+ setMarginMask/3,setMarginRight/2,setMarginSensitive/3,setMarginType/3,
+ setMarginWidth/3,setMargins/3,setModEventMask/2,setMouseDownCaptures/2,
+ setMouseDwellTime/2,setPasteConvertEndings/2,setPrintColourMode/2,
+ setPrintMagnification/2,setProperty/3,setReadOnly/2,setSTCCursor/2,
+ setSTCFocus/2,setSavePoint/1,setScrollWidth/2,setSearchFlags/2,setSelAlpha/2,
+ setSelBackground/3,setSelForeground/3,setSelection/3,setSelectionEnd/2,
+ setSelectionMode/2,setSelectionStart/2,setStatus/2,setStyleBytes/2,
+ setStyling/3,setTabIndents/2,setTabWidth/2,setTargetEnd/2,setTargetStart/2,
+ setText/2,setTextRaw/2,setTwoPhaseDraw/2,setUndoCollection/2,setUseHorizontalScrollBar/2,
+ setUseTabs/2,setUseVerticalScrollBar/2,setVScrollBar/2,setViewEOL/2,
+ setViewWhiteSpace/2,setVisiblePolicy/3,setWhitespaceBackground/3,
+ setWhitespaceChars/2,setWhitespaceForeground/3,setWordChars/2,setWrapMode/2,
+ setWrapStartIndent/2,setWrapVisualFlags/2,setWrapVisualFlagsLocation/2,
+ setXCaretPolicy/3,setYCaretPolicy/3,setZoom/2,showLines/3,startRecord/1,
+ startStyling/3,stopRecord/1,stutteredPageDown/1,stutteredPageDownExtend/1,
+ stutteredPageUp/1,stutteredPageUpExtend/1,styleClearAll/1,styleResetDefault/1,
+ styleSetBackground/3,styleSetBold/3,styleSetCase/3,styleSetCharacterSet/3,
+ styleSetEOLFilled/3,styleSetFaceName/3,styleSetFont/3,styleSetFontAttr/7,
+ styleSetFontAttr/8,styleSetFontEncoding/3,styleSetForeground/3,styleSetHotSpot/3,
+ styleSetItalic/3,styleSetSize/3,styleSetSpec/3,styleSetUnderline/3,
+ styleSetVisible/3,tab/1,targetFromSelection/1,textHeight/2,textWidth/3,
+ toggleCaretSticky/1,toggleFold/2,undo/1,upperCase/1,usePopUp/2,userListShow/3,
+ vCHome/1,vCHomeExtend/1,vCHomeRectExtend/1,vCHomeWrap/1,vCHomeWrapExtend/1,
+ visibleFromDocLine/2,wordEndPosition/3,wordLeft/1,wordLeftEnd/1,wordLeftEndExtend/1,
+ wordLeftExtend/1,wordPartLeft/1,wordPartLeftExtend/1,wordPartRight/1,
+ wordPartRightExtend/1,wordRight/1,wordRightEnd/1,wordRightEndExtend/1,
+ wordRightExtend/1,wordStartPosition/3,wrapCount/2,zoomIn/1,zoomOut/1]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,screenToClient/1,screenToClient/2,scrollLines/2,scrollPages/2,
+ scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,setAutoLayout/2,
+ setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,setClientSize/2,
+ setClientSize/3,setContainingSizer/2,setCursor/2,setDropTarget/2,
+ setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,setForegroundColour/2,
+ setHelpText/2,setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,
+ setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,setPalette/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setSize/2,
+ setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,setSizeHints/4,
+ setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,setThemeEnabled/2,
+ setToolTip/2,setVirtualSize/2,setVirtualSize/3,setVirtualSizeHints/2,
+ setVirtualSizeHints/3,setVirtualSizeHints/4,setWindowStyle/2,setWindowStyleFlag/2,
+ setWindowVariant/2,shouldInheritColours/1,show/1,show/2,thaw/1,transferDataFromWindow/1,
+ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2,
+ validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxStyledTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwxstyledtextctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxStyledTextCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxStyledTextCtrl()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStyledTextCtrl()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwxstyledtextctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxStyledTextCtrl_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStyledTextCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrladdtext">external documentation</a>.
+addText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AddText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Data::wxMemoryBuffer:wxMemoryBuffer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrladdstyledtext">external documentation</a>.
+addStyledText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(DataT,wxMemoryBuffer),
+ wxe_util:cast(?wxStyledTextCtrl_AddStyledText,
+ <<ThisRef:32/?UI,DataRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlinserttext">external documentation</a>.
+insertText(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text)
+ when is_integer(Pos),is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_InsertText,
+ <<ThisRef:32/?UI,Pos:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlclearall">external documentation</a>.
+clearAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ClearAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcleardocumentstyle">external documentation</a>.
+clearDocumentStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ClearDocumentStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlength">external documentation</a>.
+getLength(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLength,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcharat">external documentation</a>.
+getCharAt(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCharAt,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcurrentpos">external documentation</a>.
+getCurrentPos(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCurrentPos,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetanchor">external documentation</a>.
+getAnchor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetAnchor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstyleat">external documentation</a>.
+getStyleAt(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetStyleAt,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlredo">external documentation</a>.
+redo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Redo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CollectUndo::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetundocollection">external documentation</a>.
+setUndoCollection(#wx_ref{type=ThisT,ref=ThisRef},CollectUndo)
+ when is_boolean(CollectUndo) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetUndoCollection,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(CollectUndo)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlselectall">external documentation</a>.
+selectAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SelectAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetsavepoint">external documentation</a>.
+setSavePoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSavePoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> wxMemoryBuffer:wxMemoryBuffer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstyledtext">external documentation</a>.
+getStyledText(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos)
+ when is_integer(StartPos),is_integer(EndPos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetStyledText,
+ <<ThisRef:32/?UI,StartPos:32/?UI,EndPos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcanredo">external documentation</a>.
+canRedo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_CanRedo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Handle::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerlinefromhandle">external documentation</a>.
+markerLineFromHandle(#wx_ref{type=ThisT,ref=ThisRef},Handle)
+ when is_integer(Handle) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_MarkerLineFromHandle,
+ <<ThisRef:32/?UI,Handle:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Handle::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerdeletehandle">external documentation</a>.
+markerDeleteHandle(#wx_ref{type=ThisT,ref=ThisRef},Handle)
+ when is_integer(Handle) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerDeleteHandle,
+ <<ThisRef:32/?UI,Handle:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetundocollection">external documentation</a>.
+getUndoCollection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetUndoCollection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetviewwhitespace">external documentation</a>.
+getViewWhiteSpace(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetViewWhiteSpace,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), ViewWS::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetviewwhitespace">external documentation</a>.
+setViewWhiteSpace(#wx_ref{type=ThisT,ref=ThisRef},ViewWS)
+ when is_integer(ViewWS) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetViewWhiteSpace,
+ <<ThisRef:32/?UI,ViewWS:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pt::{X::integer(),Y::integer()}) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpositionfrompoint">external documentation</a>.
+positionFromPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PositionFromPoint,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpositionfrompointclose">external documentation</a>.
+positionFromPointClose(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PositionFromPointClose,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgotoline">external documentation</a>.
+gotoLine(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_GotoLine,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgotopos">external documentation</a>.
+gotoPos(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_GotoPos,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PosAnchor::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetanchor">external documentation</a>.
+setAnchor(#wx_ref{type=ThisT,ref=ThisRef},PosAnchor)
+ when is_integer(PosAnchor) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetAnchor,
+ <<ThisRef:32/?UI,PosAnchor:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> {string(),LinePos::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcurline">external documentation</a>.
+getCurLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCurLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetendstyled">external documentation</a>.
+getEndStyled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEndStyled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), EolMode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlconverteols">external documentation</a>.
+convertEOLs(#wx_ref{type=ThisT,ref=ThisRef},EolMode)
+ when is_integer(EolMode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ConvertEOLs,
+ <<ThisRef:32/?UI,EolMode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgeteolmode">external documentation</a>.
+getEOLMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEOLMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), EolMode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlseteolmode">external documentation</a>.
+setEOLMode(#wx_ref{type=ThisT,ref=ThisRef},EolMode)
+ when is_integer(EolMode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetEOLMode,
+ <<ThisRef:32/?UI,EolMode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Mask::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstartstyling">external documentation</a>.
+startStyling(#wx_ref{type=ThisT,ref=ThisRef},Pos,Mask)
+ when is_integer(Pos),is_integer(Mask) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StartStyling,
+ <<ThisRef:32/?UI,Pos:32/?UI,Mask:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Length::integer(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetstyling">external documentation</a>.
+setStyling(#wx_ref{type=ThisT,ref=ThisRef},Length,Style)
+ when is_integer(Length),is_integer(Style) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetStyling,
+ <<ThisRef:32/?UI,Length:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetbuffereddraw">external documentation</a>.
+getBufferedDraw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetBufferedDraw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Buffered::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetbuffereddraw">external documentation</a>.
+setBufferedDraw(#wx_ref{type=ThisT,ref=ThisRef},Buffered)
+ when is_boolean(Buffered) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetBufferedDraw,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Buffered)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), TabWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettabwidth">external documentation</a>.
+setTabWidth(#wx_ref{type=ThisT,ref=ThisRef},TabWidth)
+ when is_integer(TabWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetTabWidth,
+ <<ThisRef:32/?UI,TabWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettabwidth">external documentation</a>.
+getTabWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTabWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CodePage::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcodepage">external documentation</a>.
+setCodePage(#wx_ref{type=ThisT,ref=ThisRef},CodePage)
+ when is_integer(CodePage) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCodePage,
+ <<ThisRef:32/?UI,CodePage:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer()) -> ok
+%% @equiv markerDefine(This,MarkerNumber,MarkerSymbol, [])
+markerDefine(This,MarkerNumber,MarkerSymbol)
+ when is_record(This, wx_ref),is_integer(MarkerNumber),is_integer(MarkerSymbol) ->
+ markerDefine(This,MarkerNumber,MarkerSymbol, []).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer(), [Option]) -> ok
+%% Option = {foreground, wx:colour()} | {background, wx:colour()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerdefine">external documentation</a>.
+markerDefine(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,MarkerSymbol, Options)
+ when is_integer(MarkerNumber),is_integer(MarkerSymbol),is_list(Options) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ MOpts = fun({foreground, Foreground}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(Foreground)):16/binary,0:32>>|Acc];
+ ({background, Background}, Acc) -> [<<2:32/?UI,(wxe_util:colour_bin(Background)):16/binary,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerDefine,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI,MarkerSymbol:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkersetforeground">external documentation</a>.
+markerSetForeground(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Fore)
+ when is_integer(MarkerNumber),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerSetForeground,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkersetbackground">external documentation</a>.
+markerSetBackground(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Back)
+ when is_integer(MarkerNumber),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerSetBackground,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkeradd">external documentation</a>.
+markerAdd(#wx_ref{type=ThisT,ref=ThisRef},Line,MarkerNumber)
+ when is_integer(Line),is_integer(MarkerNumber) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_MarkerAdd,
+ <<ThisRef:32/?UI,Line:32/?UI,MarkerNumber:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerdelete">external documentation</a>.
+markerDelete(#wx_ref{type=ThisT,ref=ThisRef},Line,MarkerNumber)
+ when is_integer(Line),is_integer(MarkerNumber) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerDelete,
+ <<ThisRef:32/?UI,Line:32/?UI,MarkerNumber:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerdeleteall">external documentation</a>.
+markerDeleteAll(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber)
+ when is_integer(MarkerNumber) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerDeleteAll,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerget">external documentation</a>.
+markerGet(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_MarkerGet,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkernext">external documentation</a>.
+markerNext(#wx_ref{type=ThisT,ref=ThisRef},LineStart,MarkerMask)
+ when is_integer(LineStart),is_integer(MarkerMask) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_MarkerNext,
+ <<ThisRef:32/?UI,LineStart:32/?UI,MarkerMask:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerprevious">external documentation</a>.
+markerPrevious(#wx_ref{type=ThisT,ref=ThisRef},LineStart,MarkerMask)
+ when is_integer(LineStart),is_integer(MarkerMask) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_MarkerPrevious,
+ <<ThisRef:32/?UI,LineStart:32/?UI,MarkerMask:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Bmp::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkerdefinebitmap">external documentation</a>.
+markerDefineBitmap(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,#wx_ref{type=BmpT,ref=BmpRef})
+ when is_integer(MarkerNumber) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerDefineBitmap,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI,BmpRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), Set::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkeraddset">external documentation</a>.
+markerAddSet(#wx_ref{type=ThisT,ref=ThisRef},Line,Set)
+ when is_integer(Line),is_integer(Set) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerAddSet,
+ <<ThisRef:32/?UI,Line:32/?UI,Set:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Alpha::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmarkersetalpha">external documentation</a>.
+markerSetAlpha(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Alpha)
+ when is_integer(MarkerNumber),is_integer(Alpha) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MarkerSetAlpha,
+ <<ThisRef:32/?UI,MarkerNumber:32/?UI,Alpha:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer(), MarginType::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmargintype">external documentation</a>.
+setMarginType(#wx_ref{type=ThisT,ref=ThisRef},Margin,MarginType)
+ when is_integer(Margin),is_integer(MarginType) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginType,
+ <<ThisRef:32/?UI,Margin:32/?UI,MarginType:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmargintype">external documentation</a>.
+getMarginType(#wx_ref{type=ThisT,ref=ThisRef},Margin)
+ when is_integer(Margin) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginType,
+ <<ThisRef:32/?UI,Margin:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmarginwidth">external documentation</a>.
+setMarginWidth(#wx_ref{type=ThisT,ref=ThisRef},Margin,PixelWidth)
+ when is_integer(Margin),is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginWidth,
+ <<ThisRef:32/?UI,Margin:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmarginwidth">external documentation</a>.
+getMarginWidth(#wx_ref{type=ThisT,ref=ThisRef},Margin)
+ when is_integer(Margin) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginWidth,
+ <<ThisRef:32/?UI,Margin:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer(), Mask::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmarginmask">external documentation</a>.
+setMarginMask(#wx_ref{type=ThisT,ref=ThisRef},Margin,Mask)
+ when is_integer(Margin),is_integer(Mask) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginMask,
+ <<ThisRef:32/?UI,Margin:32/?UI,Mask:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmarginmask">external documentation</a>.
+getMarginMask(#wx_ref{type=ThisT,ref=ThisRef},Margin)
+ when is_integer(Margin) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginMask,
+ <<ThisRef:32/?UI,Margin:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer(), Sensitive::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmarginsensitive">external documentation</a>.
+setMarginSensitive(#wx_ref{type=ThisT,ref=ThisRef},Margin,Sensitive)
+ when is_integer(Margin),is_boolean(Sensitive) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginSensitive,
+ <<ThisRef:32/?UI,Margin:32/?UI,(wxe_util:from_bool(Sensitive)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmarginsensitive">external documentation</a>.
+getMarginSensitive(#wx_ref{type=ThisT,ref=ThisRef},Margin)
+ when is_integer(Margin) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginSensitive,
+ <<ThisRef:32/?UI,Margin:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstyleclearall">external documentation</a>.
+styleClearAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleClearAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetforeground">external documentation</a>.
+styleSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Style,Fore)
+ when is_integer(Style),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetForeground,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetbackground">external documentation</a>.
+styleSetBackground(#wx_ref{type=ThisT,ref=ThisRef},Style,Back)
+ when is_integer(Style),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetBackground,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Bold::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetbold">external documentation</a>.
+styleSetBold(#wx_ref{type=ThisT,ref=ThisRef},Style,Bold)
+ when is_integer(Style),is_boolean(Bold) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetBold,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Bold)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Italic::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetitalic">external documentation</a>.
+styleSetItalic(#wx_ref{type=ThisT,ref=ThisRef},Style,Italic)
+ when is_integer(Style),is_boolean(Italic) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetItalic,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Italic)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), SizePoints::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetsize">external documentation</a>.
+styleSetSize(#wx_ref{type=ThisT,ref=ThisRef},Style,SizePoints)
+ when is_integer(Style),is_integer(SizePoints) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetSize,
+ <<ThisRef:32/?UI,Style:32/?UI,SizePoints:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), FontName::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetfacename">external documentation</a>.
+styleSetFaceName(#wx_ref{type=ThisT,ref=ThisRef},Style,FontName)
+ when is_integer(Style),is_list(FontName) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ FontName_UC = unicode:characters_to_binary([FontName,0]),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetFaceName,
+ <<ThisRef:32/?UI,Style:32/?UI,(byte_size(FontName_UC)):32/?UI,(FontName_UC)/binary, 0:(((8- ((4+byte_size(FontName_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Filled::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstyleseteolfilled">external documentation</a>.
+styleSetEOLFilled(#wx_ref{type=ThisT,ref=ThisRef},Style,Filled)
+ when is_integer(Style),is_boolean(Filled) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetEOLFilled,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Filled)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstyleresetdefault">external documentation</a>.
+styleResetDefault(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleResetDefault,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Underline::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetunderline">external documentation</a>.
+styleSetUnderline(#wx_ref{type=ThisT,ref=ThisRef},Style,Underline)
+ when is_integer(Style),is_boolean(Underline) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetUnderline,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Underline)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), CaseForce::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetcase">external documentation</a>.
+styleSetCase(#wx_ref{type=ThisT,ref=ThisRef},Style,CaseForce)
+ when is_integer(Style),is_integer(CaseForce) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetCase,
+ <<ThisRef:32/?UI,Style:32/?UI,CaseForce:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Hotspot::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesethotspot">external documentation</a>.
+styleSetHotSpot(#wx_ref{type=ThisT,ref=ThisRef},Style,Hotspot)
+ when is_integer(Style),is_boolean(Hotspot) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetHotSpot,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Hotspot)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselforeground">external documentation</a>.
+setSelForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore)
+ when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelForeground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselbackground">external documentation</a>.
+setSelBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back)
+ when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelBackground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselalpha">external documentation</a>.
+getSelAlpha(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelAlpha,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Alpha::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselalpha">external documentation</a>.
+setSelAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha)
+ when is_integer(Alpha) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelAlpha,
+ <<ThisRef:32/?UI,Alpha:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretforeground">external documentation</a>.
+setCaretForeground(#wx_ref{type=ThisT,ref=ThisRef},Fore)
+ when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretForeground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer(), Cmd::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcmdkeyassign">external documentation</a>.
+cmdKeyAssign(#wx_ref{type=ThisT,ref=ThisRef},Key,Modifiers,Cmd)
+ when is_integer(Key),is_integer(Modifiers),is_integer(Cmd) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CmdKeyAssign,
+ <<ThisRef:32/?UI,Key:32/?UI,Modifiers:32/?UI,Cmd:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcmdkeyclear">external documentation</a>.
+cmdKeyClear(#wx_ref{type=ThisT,ref=ThisRef},Key,Modifiers)
+ when is_integer(Key),is_integer(Modifiers) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CmdKeyClear,
+ <<ThisRef:32/?UI,Key:32/?UI,Modifiers:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcmdkeyclearall">external documentation</a>.
+cmdKeyClearAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CmdKeyClearAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Length::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetstylebytes">external documentation</a>.
+setStyleBytes(#wx_ref{type=ThisT,ref=ThisRef},Length)
+ when is_integer(Length) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_SetStyleBytes,
+ <<ThisRef:32/?UI,Length:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Visible::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetvisible">external documentation</a>.
+styleSetVisible(#wx_ref{type=ThisT,ref=ThisRef},Style,Visible)
+ when is_integer(Style),is_boolean(Visible) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetVisible,
+ <<ThisRef:32/?UI,Style:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretperiod">external documentation</a>.
+getCaretPeriod(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretPeriod,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PeriodMilliseconds::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretperiod">external documentation</a>.
+setCaretPeriod(#wx_ref{type=ThisT,ref=ThisRef},PeriodMilliseconds)
+ when is_integer(PeriodMilliseconds) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretPeriod,
+ <<ThisRef:32/?UI,PeriodMilliseconds:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Characters::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwordchars">external documentation</a>.
+setWordChars(#wx_ref{type=ThisT,ref=ThisRef},Characters)
+ when is_list(Characters) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Characters_UC = unicode:characters_to_binary([Characters,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetWordChars,
+ <<ThisRef:32/?UI,(byte_size(Characters_UC)):32/?UI,(Characters_UC)/binary, 0:(((8- ((0+byte_size(Characters_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlbeginundoaction">external documentation</a>.
+beginUndoAction(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_BeginUndoAction,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlendundoaction">external documentation</a>.
+endUndoAction(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EndUndoAction,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Indic::integer(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlindicatorsetstyle">external documentation</a>.
+indicatorSetStyle(#wx_ref{type=ThisT,ref=ThisRef},Indic,Style)
+ when is_integer(Indic),is_integer(Style) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_IndicatorSetStyle,
+ <<ThisRef:32/?UI,Indic:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Indic::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlindicatorgetstyle">external documentation</a>.
+indicatorGetStyle(#wx_ref{type=ThisT,ref=ThisRef},Indic)
+ when is_integer(Indic) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_IndicatorGetStyle,
+ <<ThisRef:32/?UI,Indic:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Indic::integer(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlindicatorsetforeground">external documentation</a>.
+indicatorSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic,Fore)
+ when is_integer(Indic),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_IndicatorSetForeground,
+ <<ThisRef:32/?UI,Indic:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Indic::integer()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlindicatorgetforeground">external documentation</a>.
+indicatorGetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic)
+ when is_integer(Indic) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_IndicatorGetForeground,
+ <<ThisRef:32/?UI,Indic:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwhitespaceforeground">external documentation</a>.
+setWhitespaceForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore)
+ when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceForeground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwhitespacebackground">external documentation</a>.
+setWhitespaceBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back)
+ when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceBackground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstylebits">external documentation</a>.
+getStyleBits(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetStyleBits,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), State::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlinestate">external documentation</a>.
+setLineState(#wx_ref{type=ThisT,ref=ThisRef},Line,State)
+ when is_integer(Line),is_integer(State) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetLineState,
+ <<ThisRef:32/?UI,Line:32/?UI,State:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlinestate">external documentation</a>.
+getLineState(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineState,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmaxlinestate">external documentation</a>.
+getMaxLineState(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMaxLineState,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretlinevisible">external documentation</a>.
+getCaretLineVisible(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretLineVisible,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretlinevisible">external documentation</a>.
+setCaretLineVisible(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretLineVisible,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretlinebackground">external documentation</a>.
+getCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretLineBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretlinebackground">external documentation</a>.
+setCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef},Back)
+ when tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretLineBackground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), LenEntered::integer(), ItemList::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompshow">external documentation</a>.
+autoCompShow(#wx_ref{type=ThisT,ref=ThisRef},LenEntered,ItemList)
+ when is_integer(LenEntered),is_list(ItemList) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ItemList_UC = unicode:characters_to_binary([ItemList,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompShow,
+ <<ThisRef:32/?UI,LenEntered:32/?UI,(byte_size(ItemList_UC)):32/?UI,(ItemList_UC)/binary, 0:(((8- ((4+byte_size(ItemList_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompcancel">external documentation</a>.
+autoCompCancel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompCancel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompactive">external documentation</a>.
+autoCompActive(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompActive,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompposstart">external documentation</a>.
+autoCompPosStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompPosStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompcomplete">external documentation</a>.
+autoCompComplete(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompComplete,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CharacterSet::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompstops">external documentation</a>.
+autoCompStops(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet)
+ when is_list(CharacterSet) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ CharacterSet_UC = unicode:characters_to_binary([CharacterSet,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompStops,
+ <<ThisRef:32/?UI,(byte_size(CharacterSet_UC)):32/?UI,(CharacterSet_UC)/binary, 0:(((8- ((0+byte_size(CharacterSet_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), SeparatorCharacter::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetseparator">external documentation</a>.
+autoCompSetSeparator(#wx_ref{type=ThisT,ref=ThisRef},SeparatorCharacter)
+ when is_integer(SeparatorCharacter) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetSeparator,
+ <<ThisRef:32/?UI,SeparatorCharacter:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetseparator">external documentation</a>.
+autoCompGetSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompselect">external documentation</a>.
+autoCompSelect(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSelect,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Cancel::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetcancelatstart">external documentation</a>.
+autoCompSetCancelAtStart(#wx_ref{type=ThisT,ref=ThisRef},Cancel)
+ when is_boolean(Cancel) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetCancelAtStart,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Cancel)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetcancelatstart">external documentation</a>.
+autoCompGetCancelAtStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetCancelAtStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CharacterSet::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetfillups">external documentation</a>.
+autoCompSetFillUps(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet)
+ when is_list(CharacterSet) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ CharacterSet_UC = unicode:characters_to_binary([CharacterSet,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetFillUps,
+ <<ThisRef:32/?UI,(byte_size(CharacterSet_UC)):32/?UI,(CharacterSet_UC)/binary, 0:(((8- ((0+byte_size(CharacterSet_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), ChooseSingle::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetchoosesingle">external documentation</a>.
+autoCompSetChooseSingle(#wx_ref{type=ThisT,ref=ThisRef},ChooseSingle)
+ when is_boolean(ChooseSingle) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetChooseSingle,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ChooseSingle)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetchoosesingle">external documentation</a>.
+autoCompGetChooseSingle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetChooseSingle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), IgnoreCase::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetignorecase">external documentation</a>.
+autoCompSetIgnoreCase(#wx_ref{type=ThisT,ref=ThisRef},IgnoreCase)
+ when is_boolean(IgnoreCase) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetIgnoreCase,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(IgnoreCase)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetignorecase">external documentation</a>.
+autoCompGetIgnoreCase(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetIgnoreCase,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), ListType::integer(), ItemList::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrluserlistshow">external documentation</a>.
+userListShow(#wx_ref{type=ThisT,ref=ThisRef},ListType,ItemList)
+ when is_integer(ListType),is_list(ItemList) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ItemList_UC = unicode:characters_to_binary([ItemList,0]),
+ wxe_util:cast(?wxStyledTextCtrl_UserListShow,
+ <<ThisRef:32/?UI,ListType:32/?UI,(byte_size(ItemList_UC)):32/?UI,(ItemList_UC)/binary, 0:(((8- ((4+byte_size(ItemList_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), AutoHide::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetautohide">external documentation</a>.
+autoCompSetAutoHide(#wx_ref{type=ThisT,ref=ThisRef},AutoHide)
+ when is_boolean(AutoHide) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetAutoHide,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(AutoHide)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetautohide">external documentation</a>.
+autoCompGetAutoHide(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetAutoHide,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), DropRestOfWord::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetdroprestofword">external documentation</a>.
+autoCompSetDropRestOfWord(#wx_ref{type=ThisT,ref=ThisRef},DropRestOfWord)
+ when is_boolean(DropRestOfWord) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetDropRestOfWord,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(DropRestOfWord)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetdroprestofword">external documentation</a>.
+autoCompGetDropRestOfWord(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetDropRestOfWord,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Type::integer(), Bmp::wxBitmap:wxBitmap()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlregisterimage">external documentation</a>.
+registerImage(#wx_ref{type=ThisT,ref=ThisRef},Type,#wx_ref{type=BmpT,ref=BmpRef})
+ when is_integer(Type) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(BmpT,wxBitmap),
+ wxe_util:cast(?wxStyledTextCtrl_RegisterImage,
+ <<ThisRef:32/?UI,Type:32/?UI,BmpRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlclearregisteredimages">external documentation</a>.
+clearRegisteredImages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ClearRegisteredImages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgettypeseparator">external documentation</a>.
+autoCompGetTypeSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetTypeSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), SeparatorCharacter::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsettypeseparator">external documentation</a>.
+autoCompSetTypeSeparator(#wx_ref{type=ThisT,ref=ThisRef},SeparatorCharacter)
+ when is_integer(SeparatorCharacter) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetTypeSeparator,
+ <<ThisRef:32/?UI,SeparatorCharacter:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CharacterCount::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetmaxwidth">external documentation</a>.
+autoCompSetMaxWidth(#wx_ref{type=ThisT,ref=ThisRef},CharacterCount)
+ when is_integer(CharacterCount) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetMaxWidth,
+ <<ThisRef:32/?UI,CharacterCount:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetmaxwidth">external documentation</a>.
+autoCompGetMaxWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetMaxWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), RowCount::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompsetmaxheight">external documentation</a>.
+autoCompSetMaxHeight(#wx_ref{type=ThisT,ref=ThisRef},RowCount)
+ when is_integer(RowCount) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_AutoCompSetMaxHeight,
+ <<ThisRef:32/?UI,RowCount:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetmaxheight">external documentation</a>.
+autoCompGetMaxHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetMaxHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), IndentSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetindent">external documentation</a>.
+setIndent(#wx_ref{type=ThisT,ref=ThisRef},IndentSize)
+ when is_integer(IndentSize) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetIndent,
+ <<ThisRef:32/?UI,IndentSize:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetindent">external documentation</a>.
+getIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseTabs::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetusetabs">external documentation</a>.
+setUseTabs(#wx_ref{type=ThisT,ref=ThisRef},UseTabs)
+ when is_boolean(UseTabs) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetUseTabs,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseTabs)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetusetabs">external documentation</a>.
+getUseTabs(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetUseTabs,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), IndentSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlineindentation">external documentation</a>.
+setLineIndentation(#wx_ref{type=ThisT,ref=ThisRef},Line,IndentSize)
+ when is_integer(Line),is_integer(IndentSize) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetLineIndentation,
+ <<ThisRef:32/?UI,Line:32/?UI,IndentSize:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlineindentation">external documentation</a>.
+getLineIndentation(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineIndentation,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlineindentposition">external documentation</a>.
+getLineIndentPosition(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineIndentPosition,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcolumn">external documentation</a>.
+getColumn(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetColumn,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetusehorizontalscrollbar">external documentation</a>.
+setUseHorizontalScrollBar(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetUseHorizontalScrollBar,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetusehorizontalscrollbar">external documentation</a>.
+getUseHorizontalScrollBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetUseHorizontalScrollBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetindentationguides">external documentation</a>.
+setIndentationGuides(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetIndentationGuides,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetindentationguides">external documentation</a>.
+getIndentationGuides(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetIndentationGuides,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethighlightguide">external documentation</a>.
+setHighlightGuide(#wx_ref{type=ThisT,ref=ThisRef},Column)
+ when is_integer(Column) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetHighlightGuide,
+ <<ThisRef:32/?UI,Column:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgethighlightguide">external documentation</a>.
+getHighlightGuide(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetHighlightGuide,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlineendposition">external documentation</a>.
+getLineEndPosition(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineEndPosition,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcodepage">external documentation</a>.
+getCodePage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCodePage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretforeground">external documentation</a>.
+getCaretForeground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretForeground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetreadonly">external documentation</a>.
+getReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetReadOnly,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcurrentpos">external documentation</a>.
+setCurrentPos(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCurrentPos,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselectionstart">external documentation</a>.
+setSelectionStart(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelectionStart,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselectionstart">external documentation</a>.
+getSelectionStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelectionStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselectionend">external documentation</a>.
+setSelectionEnd(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelectionEnd,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselectionend">external documentation</a>.
+getSelectionEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelectionEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Magnification::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetprintmagnification">external documentation</a>.
+setPrintMagnification(#wx_ref{type=ThisT,ref=ThisRef},Magnification)
+ when is_integer(Magnification) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetPrintMagnification,
+ <<ThisRef:32/?UI,Magnification:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetprintmagnification">external documentation</a>.
+getPrintMagnification(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetPrintMagnification,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetprintcolourmode">external documentation</a>.
+setPrintColourMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetPrintColourMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetprintcolourmode">external documentation</a>.
+getPrintColourMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetPrintColourMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string()) -> integer()
+%% @equiv findText(This,MinPos,MaxPos,Text, [])
+findText(This,MinPos,MaxPos,Text)
+ when is_record(This, wx_ref),is_integer(MinPos),is_integer(MaxPos),is_list(Text) ->
+ findText(This,MinPos,MaxPos,Text, []).
+
+%% @spec (This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(), [Option]) -> integer()
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlfindtext">external documentation</a>.
+findText(#wx_ref{type=ThisT,ref=ThisRef},MinPos,MaxPos,Text, Options)
+ when is_integer(MinPos),is_integer(MaxPos),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStyledTextCtrl_FindText,
+ <<ThisRef:32/?UI,MinPos:32/?UI,MaxPos:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), DoDraw::bool(), StartPos::integer(), EndPos::integer(), Draw::wxDC:wxDC(), Target::wxDC:wxDC(), RenderRect::{X::integer(),Y::integer(),W::integer(),H::integer()}, PageRect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlformatrange">external documentation</a>.
+formatRange(#wx_ref{type=ThisT,ref=ThisRef},DoDraw,StartPos,EndPos,#wx_ref{type=DrawT,ref=DrawRef},#wx_ref{type=TargetT,ref=TargetRef},{RenderRectX,RenderRectY,RenderRectW,RenderRectH},{PageRectX,PageRectY,PageRectW,PageRectH})
+ when is_boolean(DoDraw),is_integer(StartPos),is_integer(EndPos),is_integer(RenderRectX),is_integer(RenderRectY),is_integer(RenderRectW),is_integer(RenderRectH),is_integer(PageRectX),is_integer(PageRectY),is_integer(PageRectW),is_integer(PageRectH) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(DrawT,wxDC),
+ ?CLASS(TargetT,wxDC),
+ wxe_util:call(?wxStyledTextCtrl_FormatRange,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(DoDraw)):32/?UI,StartPos:32/?UI,EndPos:32/?UI,DrawRef:32/?UI,TargetRef:32/?UI,RenderRectX:32/?UI,RenderRectY:32/?UI,RenderRectW:32/?UI,RenderRectH:32/?UI,PageRectX:32/?UI,PageRectY:32/?UI,PageRectW:32/?UI,PageRectH:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetfirstvisibleline">external documentation</a>.
+getFirstVisibleLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetFirstVisibleLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetline">external documentation</a>.
+getLine(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLine,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlinecount">external documentation</a>.
+getLineCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmarginleft">external documentation</a>.
+setMarginLeft(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth)
+ when is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginLeft,
+ <<ThisRef:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmarginleft">external documentation</a>.
+getMarginLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmarginright">external documentation</a>.
+setMarginRight(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth)
+ when is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMarginRight,
+ <<ThisRef:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmarginright">external documentation</a>.
+getMarginRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMarginRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmodify">external documentation</a>.
+getModify(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetModify,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},Start,End)
+ when is_integer(Start),is_integer(End) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelection,
+ <<ThisRef:32/?UI,Start:32/?UI,End:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselectedtext">external documentation</a>.
+getSelectedText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelectedText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettextrange">external documentation</a>.
+getTextRange(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos)
+ when is_integer(StartPos),is_integer(EndPos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTextRange,
+ <<ThisRef:32/?UI,StartPos:32/?UI,EndPos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Normal::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhideselection">external documentation</a>.
+hideSelection(#wx_ref{type=ThisT,ref=ThisRef},Normal)
+ when is_boolean(Normal) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HideSelection,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Normal)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinefromposition">external documentation</a>.
+lineFromPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_LineFromPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpositionfromline">external documentation</a>.
+positionFromLine(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PositionFromLine,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Columns::integer(), Lines::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinescroll">external documentation</a>.
+lineScroll(#wx_ref{type=ThisT,ref=ThisRef},Columns,Lines)
+ when is_integer(Columns),is_integer(Lines) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineScroll,
+ <<ThisRef:32/?UI,Columns:32/?UI,Lines:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlensurecaretvisible">external documentation</a>.
+ensureCaretVisible(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EnsureCaretVisible,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlreplaceselection">external documentation</a>.
+replaceSelection(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_ReplaceSelection,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), ReadOnly::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetreadonly">external documentation</a>.
+setReadOnly(#wx_ref{type=ThisT,ref=ThisRef},ReadOnly)
+ when is_boolean(ReadOnly) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetReadOnly,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(ReadOnly)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcanpaste">external documentation</a>.
+canPaste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_CanPaste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcanundo">external documentation</a>.
+canUndo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_CanUndo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlemptyundobuffer">external documentation</a>.
+emptyUndoBuffer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EmptyUndoBuffer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlundo">external documentation</a>.
+undo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Undo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcut">external documentation</a>.
+cut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Cut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcopy">external documentation</a>.
+copy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Copy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpaste">external documentation</a>.
+paste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Paste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettext">external documentation</a>.
+setText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettextlength">external documentation</a>.
+getTextLength(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTextLength,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetovertype">external documentation</a>.
+getOvertype(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetOvertype,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretwidth">external documentation</a>.
+setCaretWidth(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth)
+ when is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretWidth,
+ <<ThisRef:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretwidth">external documentation</a>.
+getCaretWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettargetstart">external documentation</a>.
+setTargetStart(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetTargetStart,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettargetstart">external documentation</a>.
+getTargetStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTargetStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettargetend">external documentation</a>.
+setTargetEnd(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetTargetEnd,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettargetend">external documentation</a>.
+getTargetEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTargetEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlreplacetarget">external documentation</a>.
+replaceTarget(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxStyledTextCtrl_ReplaceTarget,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsearchintarget">external documentation</a>.
+searchInTarget(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxStyledTextCtrl_SearchInTarget,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetsearchflags">external documentation</a>.
+setSearchFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSearchFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetsearchflags">external documentation</a>.
+getSearchFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSearchFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Definition::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipshow">external documentation</a>.
+callTipShow(#wx_ref{type=ThisT,ref=ThisRef},Pos,Definition)
+ when is_integer(Pos),is_list(Definition) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Definition_UC = unicode:characters_to_binary([Definition,0]),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipShow,
+ <<ThisRef:32/?UI,Pos:32/?UI,(byte_size(Definition_UC)):32/?UI,(Definition_UC)/binary, 0:(((8- ((4+byte_size(Definition_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipcancel">external documentation</a>.
+callTipCancel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipCancel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipactive">external documentation</a>.
+callTipActive(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_CallTipActive,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipposatstart">external documentation</a>.
+callTipPosAtStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_CallTipPosAtStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipsethighlight">external documentation</a>.
+callTipSetHighlight(#wx_ref{type=ThisT,ref=ThisRef},Start,End)
+ when is_integer(Start),is_integer(End) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipSetHighlight,
+ <<ThisRef:32/?UI,Start:32/?UI,End:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipsetbackground">external documentation</a>.
+callTipSetBackground(#wx_ref{type=ThisT,ref=ThisRef},Back)
+ when tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipSetBackground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipsetforeground">external documentation</a>.
+callTipSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Fore)
+ when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipSetForeground,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipsetforegroundhighlight">external documentation</a>.
+callTipSetForegroundHighlight(#wx_ref{type=ThisT,ref=ThisRef},Fore)
+ when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipSetForegroundHighlight,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), TabSize::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcalltipusestyle">external documentation</a>.
+callTipUseStyle(#wx_ref{type=ThisT,ref=ThisRef},TabSize)
+ when is_integer(TabSize) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CallTipUseStyle,
+ <<ThisRef:32/?UI,TabSize:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvisiblefromdocline">external documentation</a>.
+visibleFromDocLine(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_VisibleFromDocLine,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), LineDisplay::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldoclinefromvisible">external documentation</a>.
+docLineFromVisible(#wx_ref{type=ThisT,ref=ThisRef},LineDisplay)
+ when is_integer(LineDisplay) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_DocLineFromVisible,
+ <<ThisRef:32/?UI,LineDisplay:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwrapcount">external documentation</a>.
+wrapCount(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_WrapCount,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), Level::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetfoldlevel">external documentation</a>.
+setFoldLevel(#wx_ref{type=ThisT,ref=ThisRef},Line,Level)
+ when is_integer(Line),is_integer(Level) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetFoldLevel,
+ <<ThisRef:32/?UI,Line:32/?UI,Level:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetfoldlevel">external documentation</a>.
+getFoldLevel(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetFoldLevel,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), Level::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlastchild">external documentation</a>.
+getLastChild(#wx_ref{type=ThisT,ref=ThisRef},Line,Level)
+ when is_integer(Line),is_integer(Level) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLastChild,
+ <<ThisRef:32/?UI,Line:32/?UI,Level:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetfoldparent">external documentation</a>.
+getFoldParent(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetFoldParent,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlshowlines">external documentation</a>.
+showLines(#wx_ref{type=ThisT,ref=ThisRef},LineStart,LineEnd)
+ when is_integer(LineStart),is_integer(LineEnd) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ShowLines,
+ <<ThisRef:32/?UI,LineStart:32/?UI,LineEnd:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhidelines">external documentation</a>.
+hideLines(#wx_ref{type=ThisT,ref=ThisRef},LineStart,LineEnd)
+ when is_integer(LineStart),is_integer(LineEnd) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HideLines,
+ <<ThisRef:32/?UI,LineStart:32/?UI,LineEnd:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlinevisible">external documentation</a>.
+getLineVisible(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineVisible,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), Expanded::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetfoldexpanded">external documentation</a>.
+setFoldExpanded(#wx_ref{type=ThisT,ref=ThisRef},Line,Expanded)
+ when is_integer(Line),is_boolean(Expanded) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetFoldExpanded,
+ <<ThisRef:32/?UI,Line:32/?UI,(wxe_util:from_bool(Expanded)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetfoldexpanded">external documentation</a>.
+getFoldExpanded(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetFoldExpanded,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltogglefold">external documentation</a>.
+toggleFold(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ToggleFold,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlensurevisible">external documentation</a>.
+ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EnsureVisible,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetfoldflags">external documentation</a>.
+setFoldFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetFoldFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlensurevisibleenforcepolicy">external documentation</a>.
+ensureVisibleEnforcePolicy(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EnsureVisibleEnforcePolicy,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), TabIndents::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettabindents">external documentation</a>.
+setTabIndents(#wx_ref{type=ThisT,ref=ThisRef},TabIndents)
+ when is_boolean(TabIndents) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetTabIndents,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(TabIndents)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettabindents">external documentation</a>.
+getTabIndents(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTabIndents,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), BsUnIndents::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetbackspaceunindents">external documentation</a>.
+setBackSpaceUnIndents(#wx_ref{type=ThisT,ref=ThisRef},BsUnIndents)
+ when is_boolean(BsUnIndents) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetBackSpaceUnIndents,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(BsUnIndents)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetbackspaceunindents">external documentation</a>.
+getBackSpaceUnIndents(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetBackSpaceUnIndents,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PeriodMilliseconds::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmousedwelltime">external documentation</a>.
+setMouseDwellTime(#wx_ref{type=ThisT,ref=ThisRef},PeriodMilliseconds)
+ when is_integer(PeriodMilliseconds) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMouseDwellTime,
+ <<ThisRef:32/?UI,PeriodMilliseconds:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmousedwelltime">external documentation</a>.
+getMouseDwellTime(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMouseDwellTime,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::bool()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordstartposition">external documentation</a>.
+wordStartPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos,OnlyWordCharacters)
+ when is_integer(Pos),is_boolean(OnlyWordCharacters) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_WordStartPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI,(wxe_util:from_bool(OnlyWordCharacters)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::bool()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordendposition">external documentation</a>.
+wordEndPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos,OnlyWordCharacters)
+ when is_integer(Pos),is_boolean(OnlyWordCharacters) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_WordEndPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI,(wxe_util:from_bool(OnlyWordCharacters)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwrapmode">external documentation</a>.
+setWrapMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWrapMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetwrapmode">external documentation</a>.
+getWrapMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetWrapMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), WrapVisualFlags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwrapvisualflags">external documentation</a>.
+setWrapVisualFlags(#wx_ref{type=ThisT,ref=ThisRef},WrapVisualFlags)
+ when is_integer(WrapVisualFlags) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWrapVisualFlags,
+ <<ThisRef:32/?UI,WrapVisualFlags:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetwrapvisualflags">external documentation</a>.
+getWrapVisualFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetWrapVisualFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), WrapVisualFlagsLocation::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwrapvisualflagslocation">external documentation</a>.
+setWrapVisualFlagsLocation(#wx_ref{type=ThisT,ref=ThisRef},WrapVisualFlagsLocation)
+ when is_integer(WrapVisualFlagsLocation) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWrapVisualFlagsLocation,
+ <<ThisRef:32/?UI,WrapVisualFlagsLocation:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetwrapvisualflagslocation">external documentation</a>.
+getWrapVisualFlagsLocation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetWrapVisualFlagsLocation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Indent::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwrapstartindent">external documentation</a>.
+setWrapStartIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent)
+ when is_integer(Indent) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetWrapStartIndent,
+ <<ThisRef:32/?UI,Indent:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetwrapstartindent">external documentation</a>.
+getWrapStartIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetWrapStartIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlayoutcache">external documentation</a>.
+setLayoutCache(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetLayoutCache,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlayoutcache">external documentation</a>.
+getLayoutCache(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLayoutCache,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetscrollwidth">external documentation</a>.
+setScrollWidth(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth)
+ when is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetScrollWidth,
+ <<ThisRef:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetscrollwidth">external documentation</a>.
+getScrollWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetScrollWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Text::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltextwidth">external documentation</a>.
+textWidth(#wx_ref{type=ThisT,ref=ThisRef},Style,Text)
+ when is_integer(Style),is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxStyledTextCtrl_TextWidth,
+ <<ThisRef:32/?UI,Style:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetendatlastline">external documentation</a>.
+getEndAtLastLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEndAtLastLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltextheight">external documentation</a>.
+textHeight(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_TextHeight,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetuseverticalscrollbar">external documentation</a>.
+setUseVerticalScrollBar(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetUseVerticalScrollBar,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetuseverticalscrollbar">external documentation</a>.
+getUseVerticalScrollBar(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetUseVerticalScrollBar,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlappendtext">external documentation</a>.
+appendText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_AppendText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettwophasedraw">external documentation</a>.
+getTwoPhaseDraw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTwoPhaseDraw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), TwoPhase::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettwophasedraw">external documentation</a>.
+setTwoPhaseDraw(#wx_ref{type=ThisT,ref=ThisRef},TwoPhase)
+ when is_boolean(TwoPhase) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetTwoPhaseDraw,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(TwoPhase)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltargetfromselection">external documentation</a>.
+targetFromSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_TargetFromSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinesjoin">external documentation</a>.
+linesJoin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LinesJoin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinessplit">external documentation</a>.
+linesSplit(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth)
+ when is_integer(PixelWidth) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LinesSplit,
+ <<ThisRef:32/?UI,PixelWidth:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetfoldmargincolour">external documentation</a>.
+setFoldMarginColour(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back)
+ when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetFoldMarginColour,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetfoldmarginhicolour">external documentation</a>.
+setFoldMarginHiColour(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore)
+ when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetFoldMarginHiColour,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinedown">external documentation</a>.
+lineDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinedownextend">external documentation</a>.
+lineDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineDownExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineup">external documentation</a>.
+lineUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineupextend">external documentation</a>.
+lineUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineUpExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharleft">external documentation</a>.
+charLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharleftextend">external documentation</a>.
+charLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharLeftExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharright">external documentation</a>.
+charRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharrightextend">external documentation</a>.
+charRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharRightExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordleft">external documentation</a>.
+wordLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordleftextend">external documentation</a>.
+wordLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordLeftExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordright">external documentation</a>.
+wordRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordrightextend">external documentation</a>.
+wordRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordRightExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhome">external documentation</a>.
+home(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Home,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhomeextend">external documentation</a>.
+homeExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HomeExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineend">external documentation</a>.
+lineEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineendextend">external documentation</a>.
+lineEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldocumentstart">external documentation</a>.
+documentStart(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DocumentStart,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldocumentstartextend">external documentation</a>.
+documentStartExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DocumentStartExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldocumentend">external documentation</a>.
+documentEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DocumentEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldocumentendextend">external documentation</a>.
+documentEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DocumentEndExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpageup">external documentation</a>.
+pageUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpageupextend">external documentation</a>.
+pageUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageUpExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpagedown">external documentation</a>.
+pageDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpagedownextend">external documentation</a>.
+pageDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageDownExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrledittoggleovertype">external documentation</a>.
+editToggleOvertype(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_EditToggleOvertype,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcancel">external documentation</a>.
+cancel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Cancel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldeleteback">external documentation</a>.
+deleteBack(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DeleteBack,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltab">external documentation</a>.
+tab(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Tab,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlbacktab">external documentation</a>.
+backTab(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_BackTab,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlnewline">external documentation</a>.
+newLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_NewLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlformfeed">external documentation</a>.
+formFeed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_FormFeed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvchome">external documentation</a>.
+vCHome(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_VCHome,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvchomeextend">external documentation</a>.
+vCHomeExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_VCHomeExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlzoomin">external documentation</a>.
+zoomIn(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ZoomIn,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlzoomout">external documentation</a>.
+zoomOut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ZoomOut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldelwordleft">external documentation</a>.
+delWordLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DelWordLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldelwordright">external documentation</a>.
+delWordRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DelWordRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinecut">external documentation</a>.
+lineCut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineCut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinedelete">external documentation</a>.
+lineDelete(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineDelete,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinetranspose">external documentation</a>.
+lineTranspose(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineTranspose,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineduplicate">external documentation</a>.
+lineDuplicate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineDuplicate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllowercase">external documentation</a>.
+lowerCase(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LowerCase,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrluppercase">external documentation</a>.
+upperCase(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_UpperCase,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinescrolldown">external documentation</a>.
+lineScrollDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineScrollDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinescrollup">external documentation</a>.
+lineScrollUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineScrollUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldeletebacknotline">external documentation</a>.
+deleteBackNotLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DeleteBackNotLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhomedisplay">external documentation</a>.
+homeDisplay(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HomeDisplay,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhomedisplayextend">external documentation</a>.
+homeDisplayExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HomeDisplayExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineenddisplay">external documentation</a>.
+lineEndDisplay(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndDisplay,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineenddisplayextend">external documentation</a>.
+lineEndDisplayExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndDisplayExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhomewrapextend">external documentation</a>.
+homeWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HomeWrapExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineendwrap">external documentation</a>.
+lineEndWrap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndWrap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineendwrapextend">external documentation</a>.
+lineEndWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndWrapExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvchomewrap">external documentation</a>.
+vCHomeWrap(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_VCHomeWrap,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvchomewrapextend">external documentation</a>.
+vCHomeWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_VCHomeWrapExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinecopy">external documentation</a>.
+lineCopy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineCopy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlmovecaretinsideview">external documentation</a>.
+moveCaretInsideView(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_MoveCaretInsideView,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinelength">external documentation</a>.
+lineLength(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_LineLength,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos1::integer(), Pos2::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlbracehighlight">external documentation</a>.
+braceHighlight(#wx_ref{type=ThisT,ref=ThisRef},Pos1,Pos2)
+ when is_integer(Pos1),is_integer(Pos2) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_BraceHighlight,
+ <<ThisRef:32/?UI,Pos1:32/?UI,Pos2:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlbracebadlight">external documentation</a>.
+braceBadLight(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_BraceBadLight,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlbracematch">external documentation</a>.
+braceMatch(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_BraceMatch,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetvieweol">external documentation</a>.
+getViewEOL(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetViewEOL,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Visible::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetvieweol">external documentation</a>.
+setViewEOL(#wx_ref{type=ThisT,ref=ThisRef},Visible)
+ when is_boolean(Visible) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetViewEOL,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Visible)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Mask::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmodeventmask">external documentation</a>.
+setModEventMask(#wx_ref{type=ThisT,ref=ThisRef},Mask)
+ when is_integer(Mask) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetModEventMask,
+ <<ThisRef:32/?UI,Mask:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetedgecolumn">external documentation</a>.
+getEdgeColumn(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEdgeColumn,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetedgecolumn">external documentation</a>.
+setEdgeColumn(#wx_ref{type=ThisT,ref=ThisRef},Column)
+ when is_integer(Column) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetEdgeColumn,
+ <<ThisRef:32/?UI,Column:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetedgemode">external documentation</a>.
+getEdgeMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEdgeMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetedgecolour">external documentation</a>.
+getEdgeColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetEdgeColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), EdgeColour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetedgecolour">external documentation</a>.
+setEdgeColour(#wx_ref{type=ThisT,ref=ThisRef},EdgeColour)
+ when tuple_size(EdgeColour) =:= 3; tuple_size(EdgeColour) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetEdgeColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(EdgeColour)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsearchanchor">external documentation</a>.
+searchAnchor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SearchAnchor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Flags::integer(), Text::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsearchnext">external documentation</a>.
+searchNext(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text)
+ when is_integer(Flags),is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxStyledTextCtrl_SearchNext,
+ <<ThisRef:32/?UI,Flags:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Flags::integer(), Text::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsearchprev">external documentation</a>.
+searchPrev(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text)
+ when is_integer(Flags),is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:call(?wxStyledTextCtrl_SearchPrev,
+ <<ThisRef:32/?UI,Flags:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinesonscreen">external documentation</a>.
+linesOnScreen(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_LinesOnScreen,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), AllowPopUp::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlusepopup">external documentation</a>.
+usePopUp(#wx_ref{type=ThisT,ref=ThisRef},AllowPopUp)
+ when is_boolean(AllowPopUp) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_UsePopUp,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(AllowPopUp)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlselectionisrectangle">external documentation</a>.
+selectionIsRectangle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_SelectionIsRectangle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Zoom::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetzoom">external documentation</a>.
+setZoom(#wx_ref{type=ThisT,ref=ThisRef},Zoom)
+ when is_integer(Zoom) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetZoom,
+ <<ThisRef:32/?UI,Zoom:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetzoom">external documentation</a>.
+getZoom(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetZoom,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmodeventmask">external documentation</a>.
+getModEventMask(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetModEventMask,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Focus::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetstcfocus">external documentation</a>.
+setSTCFocus(#wx_ref{type=ThisT,ref=ThisRef},Focus)
+ when is_boolean(Focus) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSTCFocus,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Focus)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstcfocus">external documentation</a>.
+getSTCFocus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSTCFocus,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StatusCode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetstatus">external documentation</a>.
+setStatus(#wx_ref{type=ThisT,ref=ThisRef},StatusCode)
+ when is_integer(StatusCode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetStatus,
+ <<ThisRef:32/?UI,StatusCode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstatus">external documentation</a>.
+getStatus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetStatus,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Captures::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmousedowncaptures">external documentation</a>.
+setMouseDownCaptures(#wx_ref{type=ThisT,ref=ThisRef},Captures)
+ when is_boolean(Captures) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMouseDownCaptures,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Captures)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetmousedowncaptures">external documentation</a>.
+getMouseDownCaptures(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetMouseDownCaptures,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CursorType::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetstccursor">external documentation</a>.
+setSTCCursor(#wx_ref{type=ThisT,ref=ThisRef},CursorType)
+ when is_integer(CursorType) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSTCCursor,
+ <<ThisRef:32/?UI,CursorType:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstccursor">external documentation</a>.
+getSTCCursor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSTCCursor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Symbol::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcontrolcharsymbol">external documentation</a>.
+setControlCharSymbol(#wx_ref{type=ThisT,ref=ThisRef},Symbol)
+ when is_integer(Symbol) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetControlCharSymbol,
+ <<ThisRef:32/?UI,Symbol:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcontrolcharsymbol">external documentation</a>.
+getControlCharSymbol(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetControlCharSymbol,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordpartleft">external documentation</a>.
+wordPartLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordPartLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordpartleftextend">external documentation</a>.
+wordPartLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordPartLeftExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordpartright">external documentation</a>.
+wordPartRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordPartRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordpartrightextend">external documentation</a>.
+wordPartRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordPartRightExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), VisiblePolicy::integer(), VisibleSlop::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetvisiblepolicy">external documentation</a>.
+setVisiblePolicy(#wx_ref{type=ThisT,ref=ThisRef},VisiblePolicy,VisibleSlop)
+ when is_integer(VisiblePolicy),is_integer(VisibleSlop) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetVisiblePolicy,
+ <<ThisRef:32/?UI,VisiblePolicy:32/?UI,VisibleSlop:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldellineleft">external documentation</a>.
+delLineLeft(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DelLineLeft,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldellineright">external documentation</a>.
+delLineRight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_DelLineRight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetxoffset">external documentation</a>.
+getXOffset(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetXOffset,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlchoosecaretx">external documentation</a>.
+chooseCaretX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ChooseCaretX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetxcaretpolicy">external documentation</a>.
+setXCaretPolicy(#wx_ref{type=ThisT,ref=ThisRef},CaretPolicy,CaretSlop)
+ when is_integer(CaretPolicy),is_integer(CaretSlop) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetXCaretPolicy,
+ <<ThisRef:32/?UI,CaretPolicy:32/?UI,CaretSlop:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetycaretpolicy">external documentation</a>.
+setYCaretPolicy(#wx_ref{type=ThisT,ref=ThisRef},CaretPolicy,CaretSlop)
+ when is_integer(CaretPolicy),is_integer(CaretSlop) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetYCaretPolicy,
+ <<ThisRef:32/?UI,CaretPolicy:32/?UI,CaretSlop:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetprintwrapmode">external documentation</a>.
+getPrintWrapMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetPrintWrapMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethotspotactiveforeground">external documentation</a>.
+setHotspotActiveForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore)
+ when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveForeground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Fore)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethotspotactivebackground">external documentation</a>.
+setHotspotActiveBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back)
+ when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveBackground,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseSetting)):32/?UI,(wxe_util:colour_bin(Back)):16/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Underline::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethotspotactiveunderline">external documentation</a>.
+setHotspotActiveUnderline(#wx_ref{type=ThisT,ref=ThisRef},Underline)
+ when is_boolean(Underline) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveUnderline,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Underline)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), SingleLine::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethotspotsingleline">external documentation</a>.
+setHotspotSingleLine(#wx_ref{type=ThisT,ref=ThisRef},SingleLine)
+ when is_boolean(SingleLine) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetHotspotSingleLine,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(SingleLine)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlparadownextend">external documentation</a>.
+paraDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ParaDownExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlparaup">external documentation</a>.
+paraUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ParaUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlparaupextend">external documentation</a>.
+paraUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ParaUpExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpositionbefore">external documentation</a>.
+positionBefore(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PositionBefore,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpositionafter">external documentation</a>.
+positionAfter(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PositionAfter,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcopyrange">external documentation</a>.
+copyRange(#wx_ref{type=ThisT,ref=ThisRef},Start,End)
+ when is_integer(Start),is_integer(End) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CopyRange,
+ <<ThisRef:32/?UI,Start:32/?UI,End:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Length::integer(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcopytext">external documentation</a>.
+copyText(#wx_ref{type=ThisT,ref=ThisRef},Length,Text)
+ when is_integer(Length),is_list(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxStyledTextCtrl_CopyText,
+ <<ThisRef:32/?UI,Length:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetselectionmode">external documentation</a>.
+setSelectionMode(#wx_ref{type=ThisT,ref=ThisRef},Mode)
+ when is_integer(Mode) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetSelectionMode,
+ <<ThisRef:32/?UI,Mode:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselectionmode">external documentation</a>.
+getSelectionMode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelectionMode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllinedownrectextend">external documentation</a>.
+lineDownRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineDownRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineuprectextend">external documentation</a>.
+lineUpRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineUpRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharleftrectextend">external documentation</a>.
+charLeftRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharLeftRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcharrightrectextend">external documentation</a>.
+charRightRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CharRightRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlhomerectextend">external documentation</a>.
+homeRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_HomeRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlvchomerectextend">external documentation</a>.
+vCHomeRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_VCHomeRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrllineendrectextend">external documentation</a>.
+lineEndRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_LineEndRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpageuprectextend">external documentation</a>.
+pageUpRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageUpRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpagedownrectextend">external documentation</a>.
+pageDownRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_PageDownRectExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstutteredpageup">external documentation</a>.
+stutteredPageUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StutteredPageUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstutteredpageupextend">external documentation</a>.
+stutteredPageUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StutteredPageUpExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstutteredpagedown">external documentation</a>.
+stutteredPageDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StutteredPageDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstutteredpagedownextend">external documentation</a>.
+stutteredPageDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StutteredPageDownExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordleftend">external documentation</a>.
+wordLeftEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordLeftEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordleftendextend">external documentation</a>.
+wordLeftEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordLeftEndExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordrightend">external documentation</a>.
+wordRightEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordRightEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlwordrightendextend">external documentation</a>.
+wordRightEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_WordRightEndExtend,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Characters::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetwhitespacechars">external documentation</a>.
+setWhitespaceChars(#wx_ref{type=ThisT,ref=ThisRef},Characters)
+ when is_list(Characters) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Characters_UC = unicode:characters_to_binary([Characters,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceChars,
+ <<ThisRef:32/?UI,(byte_size(Characters_UC)):32/?UI,(Characters_UC)/binary, 0:(((8- ((0+byte_size(Characters_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcharsdefault">external documentation</a>.
+setCharsDefault(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCharsDefault,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlautocompgetcurrent">external documentation</a>.
+autoCompGetCurrent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_AutoCompGetCurrent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Bytes::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlallocate">external documentation</a>.
+allocate(#wx_ref{type=ThisT,ref=ThisRef},Bytes)
+ when is_integer(Bytes) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Allocate,
+ <<ThisRef:32/?UI,Bytes:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer(), Column::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlfindcolumn">external documentation</a>.
+findColumn(#wx_ref{type=ThisT,ref=ThisRef},Line,Column)
+ when is_integer(Line),is_integer(Column) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_FindColumn,
+ <<ThisRef:32/?UI,Line:32/?UI,Column:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretsticky">external documentation</a>.
+getCaretSticky(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretSticky,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), UseCaretStickyBehaviour::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretsticky">external documentation</a>.
+setCaretSticky(#wx_ref{type=ThisT,ref=ThisRef},UseCaretStickyBehaviour)
+ when is_boolean(UseCaretStickyBehaviour) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretSticky,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(UseCaretStickyBehaviour)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrltogglecaretsticky">external documentation</a>.
+toggleCaretSticky(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ToggleCaretSticky,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Convert::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetpasteconvertendings">external documentation</a>.
+setPasteConvertEndings(#wx_ref{type=ThisT,ref=ThisRef},Convert)
+ when is_boolean(Convert) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetPasteConvertEndings,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Convert)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetpasteconvertendings">external documentation</a>.
+getPasteConvertEndings(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetPasteConvertEndings,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlselectionduplicate">external documentation</a>.
+selectionDuplicate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SelectionDuplicate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Alpha::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetcaretlinebackalpha">external documentation</a>.
+setCaretLineBackAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha)
+ when is_integer(Alpha) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetCaretLineBackAlpha,
+ <<ThisRef:32/?UI,Alpha:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcaretlinebackalpha">external documentation</a>.
+getCaretLineBackAlpha(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCaretLineBackAlpha,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstartrecord">external documentation</a>.
+startRecord(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StartRecord,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstoprecord">external documentation</a>.
+stopRecord(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StopRecord,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Lexer::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlexer">external documentation</a>.
+setLexer(#wx_ref{type=ThisT,ref=ThisRef},Lexer)
+ when is_integer(Lexer) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetLexer,
+ <<ThisRef:32/?UI,Lexer:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlexer">external documentation</a>.
+getLexer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLexer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcolourise">external documentation</a>.
+colourise(#wx_ref{type=ThisT,ref=ThisRef},Start,End)
+ when is_integer(Start),is_integer(End) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_Colourise,
+ <<ThisRef:32/?UI,Start:32/?UI,End:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Key::string(), Value::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetproperty">external documentation</a>.
+setProperty(#wx_ref{type=ThisT,ref=ThisRef},Key,Value)
+ when is_list(Key),is_list(Value) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Key_UC = unicode:characters_to_binary([Key,0]),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetProperty,
+ <<ThisRef:32/?UI,(byte_size(Key_UC)):32/?UI,(Key_UC)/binary, 0:(((8- ((0+byte_size(Key_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((4+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), KeywordSet::integer(), KeyWords::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetkeywords">external documentation</a>.
+setKeyWords(#wx_ref{type=ThisT,ref=ThisRef},KeywordSet,KeyWords)
+ when is_integer(KeywordSet),is_list(KeyWords) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ KeyWords_UC = unicode:characters_to_binary([KeyWords,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetKeyWords,
+ <<ThisRef:32/?UI,KeywordSet:32/?UI,(byte_size(KeyWords_UC)):32/?UI,(KeyWords_UC)/binary, 0:(((8- ((4+byte_size(KeyWords_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Language::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlexerlanguage">external documentation</a>.
+setLexerLanguage(#wx_ref{type=ThisT,ref=ThisRef},Language)
+ when is_list(Language) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Language_UC = unicode:characters_to_binary([Language,0]),
+ wxe_util:cast(?wxStyledTextCtrl_SetLexerLanguage,
+ <<ThisRef:32/?UI,(byte_size(Language_UC)):32/?UI,(Language_UC)/binary, 0:(((8- ((0+byte_size(Language_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Key::string()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetproperty">external documentation</a>.
+getProperty(#wx_ref{type=ThisT,ref=ThisRef},Key)
+ when is_list(Key) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Key_UC = unicode:characters_to_binary([Key,0]),
+ wxe_util:call(?wxStyledTextCtrl_GetProperty,
+ <<ThisRef:32/?UI,(byte_size(Key_UC)):32/?UI,(Key_UC)/binary, 0:(((8- ((0+byte_size(Key_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstylebitsneeded">external documentation</a>.
+getStyleBitsNeeded(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetStyleBitsNeeded,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcurrentline">external documentation</a>.
+getCurrentLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCurrentLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Spec::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetspec">external documentation</a>.
+styleSetSpec(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Spec)
+ when is_integer(StyleNum),is_list(Spec) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Spec_UC = unicode:characters_to_binary([Spec,0]),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetSpec,
+ <<ThisRef:32/?UI,StyleNum:32/?UI,(byte_size(Spec_UC)):32/?UI,(Spec_UC)/binary, 0:(((8- ((4+byte_size(Spec_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetfont">external documentation</a>.
+styleSetFont(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,#wx_ref{type=FontT,ref=FontRef})
+ when is_integer(StyleNum) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetFont,
+ <<ThisRef:32/?UI,StyleNum:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::bool(), Italic::bool(), Underline::bool()) -> ok
+%% @equiv styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline, [])
+styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline)
+ when is_record(This, wx_ref),is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline) ->
+ styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline, []).
+
+%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::bool(), Italic::bool(), Underline::bool(), [Option]) -> ok
+%% Option = {encoding, WxFontEncoding}
+%% WxFontEncoding = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetfontattr">external documentation</a>.
+%%<br /> WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
+styleSetFontAttr(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Size,FaceName,Bold,Italic,Underline, Options)
+ when is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline),is_list(Options) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ FaceName_UC = unicode:characters_to_binary([FaceName,0]),
+ MOpts = fun({encoding, Encoding}, Acc) -> [<<1:32/?UI,Encoding:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetFontAttr,
+ <<ThisRef:32/?UI,StyleNum:32/?UI,Size:32/?UI,(byte_size(FaceName_UC)):32/?UI,(FaceName_UC)/binary, 0:(((8- ((0+byte_size(FaceName_UC)) band 16#7)) band 16#7))/unit:8,(wxe_util:from_bool(Bold)):32/?UI,(wxe_util:from_bool(Italic)):32/?UI,(wxe_util:from_bool(Underline)):32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), CharacterSet::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetcharacterset">external documentation</a>.
+styleSetCharacterSet(#wx_ref{type=ThisT,ref=ThisRef},Style,CharacterSet)
+ when is_integer(Style),is_integer(CharacterSet) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetCharacterSet,
+ <<ThisRef:32/?UI,Style:32/?UI,CharacterSet:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Style::integer(), Encoding::WxFontEncoding) -> ok
+%% WxFontEncoding = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlstylesetfontencoding">external documentation</a>.
+%%<br /> WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
+styleSetFontEncoding(#wx_ref{type=ThisT,ref=ThisRef},Style,Encoding)
+ when is_integer(Style),is_integer(Encoding) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_StyleSetFontEncoding,
+ <<ThisRef:32/?UI,Style:32/?UI,Encoding:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Cmd::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlcmdkeyexecute">external documentation</a>.
+cmdKeyExecute(#wx_ref{type=ThisT,ref=ThisRef},Cmd)
+ when is_integer(Cmd) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_CmdKeyExecute,
+ <<ThisRef:32/?UI,Cmd:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Left::integer(), Right::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetmargins">external documentation</a>.
+setMargins(#wx_ref{type=ThisT,ref=ThisRef},Left,Right)
+ when is_integer(Left),is_integer(Right) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetMargins,
+ <<ThisRef:32/?UI,Left:32/?UI,Right:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> {StartPos::integer(),EndPos::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlpointfromposition">external documentation</a>.
+pointFromPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_PointFromPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlscrolltoline">external documentation</a>.
+scrollToLine(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ScrollToLine,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlscrolltocolumn">external documentation</a>.
+scrollToColumn(#wx_ref{type=ThisT,ref=ThisRef},Column)
+ when is_integer(Column) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_ScrollToColumn,
+ <<ThisRef:32/?UI,Column:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Msg::integer()) -> integer()
+%% @equiv sendMsg(This,Msg, [])
+sendMsg(This,Msg)
+ when is_record(This, wx_ref),is_integer(Msg) ->
+ sendMsg(This,Msg, []).
+
+%% @spec (This::wxStyledTextCtrl(), Msg::integer(), [Option]) -> integer()
+%% Option = {wp, integer()} | {lp, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsendmsg">external documentation</a>.
+sendMsg(#wx_ref{type=ThisT,ref=ThisRef},Msg, Options)
+ when is_integer(Msg),is_list(Options) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ MOpts = fun({wp, Wp}, Acc) -> [<<1:32/?UI,Wp:32/?UI>>|Acc];
+ ({lp, Lp}, Acc) -> [<<2:32/?UI,Lp:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxStyledTextCtrl_SendMsg,
+ <<ThisRef:32/?UI,Msg:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetvscrollbar">external documentation</a>.
+setVScrollBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BarT,ref=BarRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(BarT,wxScrollBar),
+ wxe_util:cast(?wxStyledTextCtrl_SetVScrollBar,
+ <<ThisRef:32/?UI,BarRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsethscrollbar">external documentation</a>.
+setHScrollBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BarT,ref=BarRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ ?CLASS(BarT,wxScrollBar),
+ wxe_util:cast(?wxStyledTextCtrl_SetHScrollBar,
+ <<ThisRef:32/?UI,BarRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlastkeydownprocessed">external documentation</a>.
+getLastKeydownProcessed(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLastKeydownProcessed,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Val::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsetlastkeydownprocessed">external documentation</a>.
+setLastKeydownProcessed(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when is_boolean(Val) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:cast(?wxStyledTextCtrl_SetLastKeydownProcessed,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Val)):32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Filename::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsavefile">external documentation</a>.
+saveFile(#wx_ref{type=ThisT,ref=ThisRef},Filename)
+ when is_list(Filename) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ wxe_util:call(?wxStyledTextCtrl_SaveFile,
+ <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), Filename::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlloadfile">external documentation</a>.
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename)
+ when is_list(Filename) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ wxe_util:call(?wxStyledTextCtrl_LoadFile,
+ <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer(), Def::WxDragResult) -> WxDragResult
+%% WxDragResult = integer()
+%% WxDragResult = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldodragover">external documentation</a>.
+%%<br /> WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel
+%%<br /> WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel
+doDragOver(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Def)
+ when is_integer(X),is_integer(Y),is_integer(Def) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_DoDragOver,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,Def:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer(), Data::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrldodroptext">external documentation</a>.
+doDropText(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Data)
+ when is_integer(X),is_integer(Y),is_list(Data) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ Data_UC = unicode:characters_to_binary([Data,0]),
+ wxe_util:call(?wxStyledTextCtrl_DoDropText,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,(byte_size(Data_UC)):32/?UI,(Data_UC)/binary, 0:(((8- ((0+byte_size(Data_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetuseantialiasing">external documentation</a>.
+getUseAntiAliasing(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetUseAntiAliasing,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrladdtextraw">external documentation</a>.
+addTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_binary(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:send_bin(Text),
+ wxe_util:cast(?wxStyledTextCtrl_AddTextRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Text::binary()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlinserttextraw">external documentation</a>.
+insertTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text)
+ when is_integer(Pos),is_binary(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:send_bin(Text),
+ wxe_util:cast(?wxStyledTextCtrl_InsertTextRaw,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> {binary(),LinePos::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetcurlineraw">external documentation</a>.
+getCurLineRaw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetCurLineRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetlineraw">external documentation</a>.
+getLineRaw(#wx_ref{type=ThisT,ref=ThisRef},Line)
+ when is_integer(Line) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetLineRaw,
+ <<ThisRef:32/?UI,Line:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetselectedtextraw">external documentation</a>.
+getSelectedTextRaw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetSelectedTextRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettextrangeraw">external documentation</a>.
+getTextRangeRaw(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos)
+ when is_integer(StartPos),is_integer(EndPos) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTextRangeRaw,
+ <<ThisRef:32/?UI,StartPos:32/?UI,EndPos:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlsettextraw">external documentation</a>.
+setTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_binary(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:send_bin(Text),
+ wxe_util:cast(?wxStyledTextCtrl_SetTextRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> binary()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgettextraw">external documentation</a>.
+getTextRaw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:call(?wxStyledTextCtrl_GetTextRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlappendtextraw">external documentation</a>.
+appendTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_binary(Text) ->
+ ?CLASS(ThisT,wxStyledTextCtrl),
+ wxe_util:send_bin(Text),
+ wxe_util:cast(?wxStyledTextCtrl_AppendTextRaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxStyledTextCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxStyledTextEvent.erl b/lib/wx/src/gen/wxStyledTextEvent.erl
new file mode 100644
index 0000000000..ed5788b6fd
--- /dev/null
+++ b/lib/wx/src/gen/wxStyledTextEvent.erl
@@ -0,0 +1,252 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html">wxStyledTextEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>stc_change</em>, <em>stc_styleneeded</em>, <em>stc_charadded</em>, <em>stc_savepointreached</em>, <em>stc_savepointleft</em>, <em>stc_romodifyattempt</em>, <em>stc_key</em>, <em>stc_doubleclick</em>, <em>stc_updateui</em>, <em>stc_modified</em>, <em>stc_macrorecord</em>, <em>stc_marginclick</em>, <em>stc_needshown</em>, <em>stc_painted</em>, <em>stc_userlistselection</em>, <em>stc_uridropped</em>, <em>stc_dwellstart</em>, <em>stc_dwellend</em>, <em>stc_start_drag</em>, <em>stc_drag_over</em>, <em>stc_do_drop</em>, <em>stc_zoom</em>, <em>stc_hotspot_click</em>, <em>stc_hotspot_dclick</em>, <em>stc_calltip_click</em>, <em>stc_autocomp_selection</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxStyledText(). #wxStyledText{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxStyledTextEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxStyledTextEvent).
+-include("wxe.hrl").
+-export([getAlt/1,getControl/1,getDragAllowMove/1,getDragResult/1,getDragText/1,
+ getFoldLevelNow/1,getFoldLevelPrev/1,getKey/1,getLParam/1,getLength/1,
+ getLine/1,getLinesAdded/1,getListType/1,getMargin/1,getMessage/1,getModificationType/1,
+ getModifiers/1,getPosition/1,getShift/1,getText/1,getWParam/1,getX/1,
+ getY/1]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetkey">external documentation</a>.
+getKey(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetKey,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetmodifiers">external documentation</a>.
+getModifiers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetModifiers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetmodificationtype">external documentation</a>.
+getModificationType(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetModificationType,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetlength">external documentation</a>.
+getLength(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetLength,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetlinesadded">external documentation</a>.
+getLinesAdded(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetLinesAdded,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetline">external documentation</a>.
+getLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetfoldlevelnow">external documentation</a>.
+getFoldLevelNow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetFoldLevelNow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetfoldlevelprev">external documentation</a>.
+getFoldLevelPrev(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetFoldLevelPrev,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetmargin">external documentation</a>.
+getMargin(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetMargin,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetmessage">external documentation</a>.
+getMessage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetMessage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetwparam">external documentation</a>.
+getWParam(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetWParam,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetlparam">external documentation</a>.
+getLParam(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetLParam,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetlisttype">external documentation</a>.
+getListType(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetListType,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetx">external documentation</a>.
+getX(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetX,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgety">external documentation</a>.
+getY(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetY,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetdragtext">external documentation</a>.
+getDragText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetDragText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetdragallowmove">external documentation</a>.
+getDragAllowMove(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetDragAllowMove,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> WxDragResult
+%% WxDragResult = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetdragresult">external documentation</a>.
+%%<br /> WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel
+getDragResult(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetDragResult,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetshift">external documentation</a>.
+getShift(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetShift,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetcontrol">external documentation</a>.
+getControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxStyledTextEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextevent.html#wxstyledtexteventgetalt">external documentation</a>.
+getAlt(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxStyledTextEvent),
+ wxe_util:call(?wxStyledTextEvent_GetAlt,
+ <<ThisRef:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxSysColourChangedEvent.erl b/lib/wx/src/gen/wxSysColourChangedEvent.erl
new file mode 100644
index 0000000000..a90c7320d9
--- /dev/null
+++ b/lib/wx/src/gen/wxSysColourChangedEvent.erl
@@ -0,0 +1,62 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsyscolourchangedevent.html">wxSysColourChangedEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>sys_colour_changed</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxSysColourChanged(). #wxSysColourChanged{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxSysColourChangedEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxSysColourChangedEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1,
+ resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxTextAttr.erl b/lib/wx/src/gen/wxTextAttr.erl
new file mode 100644
index 0000000000..dea39c19d0
--- /dev/null
+++ b/lib/wx/src/gen/wxTextAttr.erl
@@ -0,0 +1,253 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html">wxTextAttr</a>.
+%% @type wxTextAttr(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTextAttr).
+-include("wxe.hrl").
+-export([destroy/1,getAlignment/1,getBackgroundColour/1,getFlags/1,getFont/1,
+ getLeftIndent/1,getLeftSubIndent/1,getRightIndent/1,getTabs/1,getTextColour/1,
+ hasBackgroundColour/1,hasFont/1,hasTextColour/1,isDefault/1,new/0,
+ new/1,new/2,setAlignment/2,setBackgroundColour/2,setFlags/2,setFont/2,
+ setFont/3,setLeftIndent/2,setLeftIndent/3,setRightIndent/2,setTabs/2,
+ setTextColour/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxTextAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrwxtextattr">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxTextAttr_new_0,
+ <<>>).
+
+%% @spec (ColText::wx:colour()) -> wxTextAttr()
+%% @equiv new(ColText, [])
+new(ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ new(ColText, []).
+
+%% @spec (ColText::wx:colour(), [Option]) -> wxTextAttr()
+%% Option = {colBack, wx:colour()} | {font, wxFont:wxFont()} | {alignment, WxTextAttrAlignment}
+%% WxTextAttrAlignment = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrwxtextattr">external documentation</a>.
+%%<br /> WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
+new(ColText, Options)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4,is_list(Options) ->
+ MOpts = fun({colBack, ColBack}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary,0:32>>|Acc];
+ ({font, #wx_ref{type=FontT,ref=FontRef}}, Acc) -> ?CLASS(FontT,wxFont),[<<2:32/?UI,FontRef:32/?UI>>|Acc];
+ ({alignment, Alignment}, Acc) -> [<<3:32/?UI,Alignment:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTextAttr_new_2,
+ <<(wxe_util:colour_bin(ColText)):16/binary, BinOpt/binary>>).
+
+%% @spec (This::wxTextAttr()) -> WxTextAttrAlignment
+%% WxTextAttrAlignment = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetalignment">external documentation</a>.
+%%<br /> WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
+getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetAlignment,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetbackgroundcolour">external documentation</a>.
+getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetleftindent">external documentation</a>.
+getLeftIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetLeftIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetleftsubindent">external documentation</a>.
+getLeftSubIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetLeftSubIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetrightindent">external documentation</a>.
+getRightIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetRightIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> [integer()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgettabs">external documentation</a>.
+getTabs(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetTabs,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgettextcolour">external documentation</a>.
+getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhasbackgroundcolour">external documentation</a>.
+hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_HasBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhasfont">external documentation</a>.
+hasFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_HasFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhastextcolour">external documentation</a>.
+hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_HasTextColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetflags">external documentation</a>.
+getFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_GetFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrisdefault">external documentation</a>.
+isDefault(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:call(?wxTextAttr_IsDefault,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextAttr(), Alignment::WxTextAttrAlignment) -> ok
+%% WxTextAttrAlignment = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetalignment">external documentation</a>.
+%%<br /> WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
+setAlignment(#wx_ref{type=ThisT,ref=ThisRef},Alignment)
+ when is_integer(Alignment) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetAlignment,
+ <<ThisRef:32/?UI,Alignment:32/?UI>>).
+
+%% @spec (This::wxTextAttr(), ColBack::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack)
+ when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary>>).
+
+%% @spec (This::wxTextAttr(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetflags">external documentation</a>.
+setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxTextAttr(), Font::wxFont:wxFont()) -> ok
+%% @equiv setFont(This,Font, [])
+setFont(This,Font)
+ when is_record(This, wx_ref),is_record(Font, wx_ref) ->
+ setFont(This,Font, []).
+
+%% @spec (This::wxTextAttr(), Font::wxFont:wxFont(), [Option]) -> ok
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTextAttr),
+ ?CLASS(FontT,wxFont),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTextAttr_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTextAttr(), Indent::integer()) -> ok
+%% @equiv setLeftIndent(This,Indent, [])
+setLeftIndent(This,Indent)
+ when is_record(This, wx_ref),is_integer(Indent) ->
+ setLeftIndent(This,Indent, []).
+
+%% @spec (This::wxTextAttr(), Indent::integer(), [Option]) -> ok
+%% Option = {subIndent, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetleftindent">external documentation</a>.
+setLeftIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent, Options)
+ when is_integer(Indent),is_list(Options) ->
+ ?CLASS(ThisT,wxTextAttr),
+ MOpts = fun({subIndent, SubIndent}, Acc) -> [<<1:32/?UI,SubIndent:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTextAttr_SetLeftIndent,
+ <<ThisRef:32/?UI,Indent:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTextAttr(), Indent::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetrightindent">external documentation</a>.
+setRightIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent)
+ when is_integer(Indent) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetRightIndent,
+ <<ThisRef:32/?UI,Indent:32/?UI>>).
+
+%% @spec (This::wxTextAttr(), Tabs::[integer()]) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsettabs">external documentation</a>.
+setTabs(#wx_ref{type=ThisT,ref=ThisRef},Tabs)
+ when is_list(Tabs) ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetTabs,
+ <<ThisRef:32/?UI,(length(Tabs)):32/?UI,
+ (<< <<C:32/?I>> || C <- Tabs>>)/binary, 0:(((0+length(Tabs)) rem 2)*32)>>).
+
+%% @spec (This::wxTextAttr(), ColText::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsettextcolour">external documentation</a>.
+setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText)
+ when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 ->
+ ?CLASS(ThisT,wxTextAttr),
+ wxe_util:cast(?wxTextAttr_SetTextColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(ColText)):16/binary>>).
+
+%% @spec (This::wxTextAttr()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTextAttr),
+ wxe_util:destroy(?wxTextAttr_destroy,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxTextCtrl.erl b/lib/wx/src/gen/wxTextCtrl.erl
new file mode 100644
index 0000000000..1df8accdaa
--- /dev/null
+++ b/lib/wx/src/gen/wxTextCtrl.erl
@@ -0,0 +1,876 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html">wxTextCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxTextCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTextCtrl).
+-include("wxe.hrl").
+-export([appendText/2,canCopy/1,canCut/1,canPaste/1,canRedo/1,canUndo/1,clear/1,
+ copy/1,create/3,create/4,cut/1,destroy/1,discardEdits/1,emulateKeyPress/2,
+ getDefaultStyle/1,getInsertionPoint/1,getLastPosition/1,getLineLength/2,
+ getLineText/2,getNumberOfLines/1,getRange/3,getSelection/1,getStringSelection/1,
+ getStyle/3,getValue/1,isEditable/1,isModified/1,isMultiLine/1,isSingleLine/1,
+ loadFile/2,loadFile/3,markDirty/1,new/0,new/2,new/3,paste/1,positionToXY/2,
+ redo/1,remove/3,replace/4,saveFile/1,saveFile/2,setDefaultStyle/2,setEditable/2,
+ setInsertionPoint/2,setInsertionPointEnd/1,setMaxLength/2,setSelection/3,
+ setStyle/4,setValue/2,showPosition/2,undo/1,writeText/2,xYToPosition/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwxtextctrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxTextCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTextCtrl()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxTextCtrl()
+%% Option = {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwxtextctrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<1:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTextCtrl_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlappendtext">external documentation</a>.
+appendText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxTextCtrl_AppendText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcancopy">external documentation</a>.
+canCopy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_CanCopy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcancut">external documentation</a>.
+canCut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_CanCut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanpaste">external documentation</a>.
+canPaste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_CanPaste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanredo">external documentation</a>.
+canRedo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_CanRedo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcanundo">external documentation</a>.
+canUndo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_CanUndo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlclear">external documentation</a>.
+clear(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Clear,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcopy">external documentation</a>.
+copy(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Copy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {value, string()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<1:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTextCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlcut">external documentation</a>.
+cut(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Cut,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrldiscardedits">external documentation</a>.
+discardEdits(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_DiscardEdits,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Event::wxKeyEvent:wxKeyEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlemulatekeypress">external documentation</a>.
+emulateKeyPress(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ ?CLASS(EventT,wxKeyEvent),
+ wxe_util:call(?wxTextCtrl_EmulateKeyPress,
+ <<ThisRef:32/?UI,EventRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> wxTextAttr:wxTextAttr()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetdefaultstyle">external documentation</a>.
+getDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetDefaultStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetinsertionpoint">external documentation</a>.
+getInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetInsertionPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlastposition">external documentation</a>.
+getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetLastPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), LineNo::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlinelength">external documentation</a>.
+getLineLength(#wx_ref{type=ThisT,ref=ThisRef},LineNo)
+ when is_integer(LineNo) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetLineLength,
+ <<ThisRef:32/?UI,LineNo:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), LineNo::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetlinetext">external documentation</a>.
+getLineText(#wx_ref{type=ThisT,ref=ThisRef},LineNo)
+ when is_integer(LineNo) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetLineText,
+ <<ThisRef:32/?UI,LineNo:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetnumberoflines">external documentation</a>.
+getNumberOfLines(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetNumberOfLines,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetrange">external documentation</a>.
+getRange(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetRange,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> {From::integer(),To::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetstringselection">external documentation</a>.
+getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetStringSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Position::integer(), Style::wxTextAttr:wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetstyle">external documentation</a>.
+getStyle(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=StyleT,ref=StyleRef})
+ when is_integer(Position) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ ?CLASS(StyleT,wxTextAttr),
+ wxe_util:call(?wxTextCtrl_GetStyle,
+ <<ThisRef:32/?UI,Position:32/?UI,StyleRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlgetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrliseditable">external documentation</a>.
+isEditable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_IsEditable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlismodified">external documentation</a>.
+isModified(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_IsModified,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlismultiline">external documentation</a>.
+isMultiLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_IsMultiLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlissingleline">external documentation</a>.
+isSingleLine(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_IsSingleLine,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), File::string()) -> bool()
+%% @equiv loadFile(This,File, [])
+loadFile(This,File)
+ when is_record(This, wx_ref),is_list(File) ->
+ loadFile(This,File, []).
+
+%% @spec (This::wxTextCtrl(), File::string(), [Option]) -> bool()
+%% Option = {fileType, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlloadfile">external documentation</a>.
+loadFile(#wx_ref{type=ThisT,ref=ThisRef},File, Options)
+ when is_list(File),is_list(Options) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ File_UC = unicode:characters_to_binary([File,0]),
+ MOpts = fun({fileType, FileType}, Acc) -> [<<1:32/?UI,FileType:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTextCtrl_LoadFile,
+ <<ThisRef:32/?UI,(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((0+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlmarkdirty">external documentation</a>.
+markDirty(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_MarkDirty,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlpaste">external documentation</a>.
+paste(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Paste,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Pos::integer()) -> {bool(),X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlpositiontoxy">external documentation</a>.
+positionToXY(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_PositionToXY,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlredo">external documentation</a>.
+redo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Redo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlremove">external documentation</a>.
+remove(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Remove,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), From::integer(), To::integer(), Value::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlreplace">external documentation</a>.
+replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value)
+ when is_integer(From),is_integer(To),is_list(Value) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxTextCtrl_Replace,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextCtrl()) -> bool()
+%% @equiv saveFile(This, [])
+saveFile(This)
+ when is_record(This, wx_ref) ->
+ saveFile(This, []).
+
+%% @spec (This::wxTextCtrl(), [Option]) -> bool()
+%% Option = {file, string()} | {fileType, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsavefile">external documentation</a>.
+saveFile(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ MOpts = fun({file, File}, Acc) -> File_UC = unicode:characters_to_binary([File,0]),[<<1:32/?UI,(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((0+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({fileType, FileType}, Acc) -> [<<2:32/?UI,FileType:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTextCtrl_SaveFile,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTextCtrl(), Style::wxTextAttr:wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetdefaultstyle">external documentation</a>.
+setDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StyleT,ref=StyleRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ ?CLASS(StyleT,wxTextAttr),
+ wxe_util:call(?wxTextCtrl_SetDefaultStyle,
+ <<ThisRef:32/?UI,StyleRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Editable::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlseteditable">external documentation</a>.
+setEditable(#wx_ref{type=ThisT,ref=ThisRef},Editable)
+ when is_boolean(Editable) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_SetEditable,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Editable)):32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetinsertionpoint">external documentation</a>.
+setInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_SetInsertionPoint,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetinsertionpointend">external documentation</a>.
+setInsertionPointEnd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_SetInsertionPointEnd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Len::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetmaxlength">external documentation</a>.
+setMaxLength(#wx_ref{type=ThisT,ref=ThisRef},Len)
+ when is_integer(Len) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_SetMaxLength,
+ <<ThisRef:32/?UI,Len:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To)
+ when is_integer(From),is_integer(To) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_SetSelection,
+ <<ThisRef:32/?UI,From:32/?UI,To:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Start::integer(), End::integer(), Style::wxTextAttr:wxTextAttr()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetstyle">external documentation</a>.
+setStyle(#wx_ref{type=ThisT,ref=ThisRef},Start,End,#wx_ref{type=StyleT,ref=StyleRef})
+ when is_integer(Start),is_integer(End) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ ?CLASS(StyleT,wxTextAttr),
+ wxe_util:call(?wxTextCtrl_SetStyle,
+ <<ThisRef:32/?UI,Start:32/?UI,End:32/?UI,StyleRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Value::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Value)
+ when is_list(Value) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ Value_UC = unicode:characters_to_binary([Value,0]),
+ wxe_util:cast(?wxTextCtrl_SetValue,
+ <<ThisRef:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlshowposition">external documentation</a>.
+showPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_ShowPosition,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlundo">external documentation</a>.
+undo(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:cast(?wxTextCtrl_Undo,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextCtrl(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlwritetext">external documentation</a>.
+writeText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxTextCtrl_WriteText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextCtrl(), X::integer(), Y::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextctrl.html#wxtextctrlxytoposition">external documentation</a>.
+xYToPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxTextCtrl),
+ wxe_util:call(?wxTextCtrl_XYToPosition,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxTextCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTextCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxTextDataObject.erl b/lib/wx/src/gen/wxTextDataObject.erl
new file mode 100644
index 0000000000..1e4cee70aa
--- /dev/null
+++ b/lib/wx/src/gen/wxTextDataObject.erl
@@ -0,0 +1,84 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextdataobject.html">wxTextDataObject</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDataObject}
+%% </p>
+%% @type wxTextDataObject(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTextDataObject).
+-include("wxe.hrl").
+-export([destroy/1,getText/1,getTextLength/1,new/0,new/1,setText/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(wxDataObject) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxTextDataObject()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxTextDataObject()
+%% Option = {text, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextdataobject.html#wxtextdataobjectwxtextdataobject">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<1:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTextDataObject_new,
+ <<BinOpt/binary>>).
+
+%% @spec (This::wxTextDataObject()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextdataobject.html#wxtextdataobjectgettextlength">external documentation</a>.
+getTextLength(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextDataObject),
+ wxe_util:call(?wxTextDataObject_GetTextLength,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextDataObject()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextdataobject.html#wxtextdataobjectgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextDataObject),
+ wxe_util:call(?wxTextDataObject_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextDataObject(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextdataobject.html#wxtextdataobjectsettext">external documentation</a>.
+setText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxTextDataObject),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxTextDataObject_SetText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextDataObject()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTextDataObject),
+ wxe_util:destroy(?wxTextDataObject_destroy,Obj),
+ ok.
+ %% From wxDataObject
diff --git a/lib/wx/src/gen/wxTextEntryDialog.erl b/lib/wx/src/gen/wxTextEntryDialog.erl
new file mode 100644
index 0000000000..42e7f41513
--- /dev/null
+++ b/lib/wx/src/gen/wxTextEntryDialog.erl
@@ -0,0 +1,558 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextentrydialog.html">wxTextEntryDialog</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDialog}
+%% <br />{@link wxTopLevelWindow}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxTextEntryDialog(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTextEntryDialog).
+-include("wxe.hrl").
+-export([destroy/1,getValue/1,new/2,new/3,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centerOnScreen/1,centerOnScreen/2,centre/1,centre/2,
+ centreOnParent/1,centreOnParent/2,centreOnScreen/1,centreOnScreen/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ createButtonSizer/2,createStdDialogButtonSizer/2,destroyChildren/1,
+ disable/1,disconnect/1,disconnect/2,disconnect/3,enable/1,enable/2,
+ endModal/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getAffirmativeId/1,getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getIcon/1,getIcons/1,getId/1,getLabel/1,getMaxSize/1,
+ getMinSize/1,getName/1,getParent/1,getPosition/1,getRect/1,getReturnCode/1,
+ getScreenPosition/1,getScreenRect/1,getScrollPos/2,getScrollRange/2,
+ getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,
+ getTitle/1,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,iconize/1,iconize/2,inheritAttributes/1,initDialog/1,invalidateBestSize/1,
+ isActive/1,isEnabled/1,isExposed/2,isExposed/3,isExposed/5,isFullScreen/1,
+ isIconized/1,isMaximized/1,isModal/1,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,maximize/1,
+ maximize/2,move/2,move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,
+ navigate/1,navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,
+ popEventHandler/2,popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,
+ refresh/2,refreshRect/2,refreshRect/3,releaseMouse/1,removeChild/2,
+ reparent/2,requestUserAttention/1,requestUserAttention/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAffirmativeId/2,setAutoLayout/2,setBackgroundColour/2,
+ setBackgroundStyle/2,setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,
+ setCursor/2,setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,
+ setFont/2,setForegroundColour/2,setHelpText/2,setIcon/2,setIcons/2,
+ setId/2,setLabel/2,setMaxSize/2,setMinSize/2,setName/2,setOwnBackgroundColour/2,
+ setOwnFont/2,setOwnForegroundColour/2,setPalette/2,setReturnCode/2,
+ setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,setShape/2,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setTitle/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,showFullScreen/2,showFullScreen/3,showModal/1,thaw/1,
+ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1,
+ updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxDialog) -> true;
+parent_class(wxTopLevelWindow) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxTextEntryDialog()
+%% @equiv new(Parent,Message, [])
+new(Parent,Message)
+ when is_record(Parent, wx_ref),is_list(Message) ->
+ new(Parent,Message, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxTextEntryDialog()
+%% Option = {caption, string()} | {value, string()} | {style, integer()} | {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextentrydialog.html#wxtextentrydialogwxtextentrydialog">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options)
+ when is_list(Message),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Message_UC = unicode:characters_to_binary([Message,0]),
+ MOpts = fun({caption, Caption}, Acc) -> Caption_UC = unicode:characters_to_binary([Caption,0]),[<<1:32/?UI,(byte_size(Caption_UC)):32/?UI,(Caption_UC)/binary, 0:(((8- ((0+byte_size(Caption_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({value, Value}, Acc) -> Value_UC = unicode:characters_to_binary([Value,0]),[<<2:32/?UI,(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((0+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<4:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTextEntryDialog_new,
+ <<ParentRef:32/?UI,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((0+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTextEntryDialog()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextentrydialog.html#wxtextentrydialoggetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTextEntryDialog),
+ wxe_util:call(?wxTextEntryDialog_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTextEntryDialog(), Val::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtextentrydialog.html#wxtextentrydialogsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},Val)
+ when is_list(Val) ->
+ ?CLASS(ThisT,wxTextEntryDialog),
+ Val_UC = unicode:characters_to_binary([Val,0]),
+ wxe_util:cast(?wxTextEntryDialog_SetValue,
+ <<ThisRef:32/?UI,(byte_size(Val_UC)):32/?UI,(Val_UC)/binary, 0:(((8- ((0+byte_size(Val_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTextEntryDialog()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTextEntryDialog),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDialog
+%% @hidden
+showModal(This) -> wxDialog:showModal(This).
+%% @hidden
+show(This, Options) -> wxDialog:show(This, Options).
+%% @hidden
+show(This) -> wxDialog:show(This).
+%% @hidden
+setReturnCode(This,ReturnCode) -> wxDialog:setReturnCode(This,ReturnCode).
+%% @hidden
+setAffirmativeId(This,AffirmativeId) -> wxDialog:setAffirmativeId(This,AffirmativeId).
+%% @hidden
+isModal(This) -> wxDialog:isModal(This).
+%% @hidden
+getReturnCode(This) -> wxDialog:getReturnCode(This).
+%% @hidden
+getAffirmativeId(This) -> wxDialog:getAffirmativeId(This).
+%% @hidden
+endModal(This,RetCode) -> wxDialog:endModal(This,RetCode).
+%% @hidden
+createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
+%% @hidden
+createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
+ %% From wxTopLevelWindow
+%% @hidden
+showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
+%% @hidden
+showFullScreen(This,Show) -> wxTopLevelWindow:showFullScreen(This,Show).
+%% @hidden
+setTitle(This,Title) -> wxTopLevelWindow:setTitle(This,Title).
+%% @hidden
+setShape(This,Region) -> wxTopLevelWindow:setShape(This,Region).
+%% @hidden
+centreOnScreen(This, Options) -> wxTopLevelWindow:centreOnScreen(This, Options).
+%% @hidden
+centreOnScreen(This) -> wxTopLevelWindow:centreOnScreen(This).
+%% @hidden
+centerOnScreen(This, Options) -> wxTopLevelWindow:centerOnScreen(This, Options).
+%% @hidden
+centerOnScreen(This) -> wxTopLevelWindow:centerOnScreen(This).
+%% @hidden
+setIcons(This,Icons) -> wxTopLevelWindow:setIcons(This,Icons).
+%% @hidden
+setIcon(This,Icon) -> wxTopLevelWindow:setIcon(This,Icon).
+%% @hidden
+requestUserAttention(This, Options) -> wxTopLevelWindow:requestUserAttention(This, Options).
+%% @hidden
+requestUserAttention(This) -> wxTopLevelWindow:requestUserAttention(This).
+%% @hidden
+maximize(This, Options) -> wxTopLevelWindow:maximize(This, Options).
+%% @hidden
+maximize(This) -> wxTopLevelWindow:maximize(This).
+%% @hidden
+isMaximized(This) -> wxTopLevelWindow:isMaximized(This).
+%% @hidden
+isIconized(This) -> wxTopLevelWindow:isIconized(This).
+%% @hidden
+isFullScreen(This) -> wxTopLevelWindow:isFullScreen(This).
+%% @hidden
+iconize(This, Options) -> wxTopLevelWindow:iconize(This, Options).
+%% @hidden
+iconize(This) -> wxTopLevelWindow:iconize(This).
+%% @hidden
+isActive(This) -> wxTopLevelWindow:isActive(This).
+%% @hidden
+getTitle(This) -> wxTopLevelWindow:getTitle(This).
+%% @hidden
+getIcons(This) -> wxTopLevelWindow:getIcons(This).
+%% @hidden
+getIcon(This) -> wxTopLevelWindow:getIcon(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxToggleButton.erl b/lib/wx/src/gen/wxToggleButton.erl
new file mode 100644
index 0000000000..0a8f4f1127
--- /dev/null
+++ b/lib/wx/src/gen/wxToggleButton.erl
@@ -0,0 +1,512 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html">wxToggleButton</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxToggleButton(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxToggleButton).
+-include("wxe.hrl").
+-export([create/4,create/5,destroy/1,getValue/1,new/0,new/3,new/4,setValue/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxToggleButton()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonwxtogglebutton">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxToggleButton_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxToggleButton()
+%% @equiv new(Parent,Id,Label, [])
+new(Parent,Id,Label)
+ when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ new(Parent,Id,Label, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxToggleButton()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonwxtogglebutton">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxToggleButton_new_4,
+ <<ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool()
+%% @equiv create(This,Parent,Id,Label, [])
+create(This,Parent,Id,Label)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) ->
+ create(This,Parent,Id,Label, []).
+
+%% @spec (This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttoncreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
+ when is_integer(Id),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToggleButton),
+ ?CLASS(ParentT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<4:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToggleButton_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxToggleButton()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttongetvalue">external documentation</a>.
+getValue(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToggleButton),
+ wxe_util:call(?wxToggleButton_GetValue,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToggleButton(), State::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtogglebutton.html#wxtogglebuttonsetvalue">external documentation</a>.
+setValue(#wx_ref{type=ThisT,ref=ThisRef},State)
+ when is_boolean(State) ->
+ ?CLASS(ThisT,wxToggleButton),
+ wxe_util:cast(?wxToggleButton_SetValue,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(State)):32/?UI>>).
+
+%% @spec (This::wxToggleButton()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxToggleButton),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxToolBar.erl b/lib/wx/src/gen/wxToolBar.erl
new file mode 100644
index 0000000000..c8392a10ca
--- /dev/null
+++ b/lib/wx/src/gen/wxToolBar.erl
@@ -0,0 +1,919 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html">wxToolBar</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxToolBar(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxToolBar).
+-include("wxe.hrl").
+-export([addCheckTool/4,addCheckTool/5,addControl/2,addRadioTool/4,addRadioTool/5,
+ addSeparator/1,addTool/2,addTool/3,addTool/4,addTool/5,addTool/6,addTool/7,
+ deleteTool/2,deleteToolByPos/2,enableTool/3,findById/2,findControl/2,
+ findToolForPosition/3,getMargins/1,getToolBitmapSize/1,getToolEnabled/2,
+ getToolLongHelp/2,getToolPacking/1,getToolPos/2,getToolSeparation/1,
+ getToolShortHelp/2,getToolSize/1,getToolState/2,insertControl/3,insertSeparator/2,
+ insertTool/3,insertTool/4,insertTool/5,insertTool/6,realize/1,removeTool/2,
+ setMargins/3,setToolBitmapSize/2,setToolLongHelp/3,setToolPacking/2,
+ setToolSeparation/2,setToolShortHelp/3,toggleTool/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxToolBar(), Control::wxControl:wxControl()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddcontrol">external documentation</a>.
+addControl(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ControlT,ref=ControlRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(ControlT,wxControl),
+ wxe_util:call(?wxToolBar_AddControl,
+ <<ThisRef:32/?UI,ControlRef:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddseparator">external documentation</a>.
+addSeparator(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_AddSeparator,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Tool::wx:wx()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
+addTool(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolT,ref=ToolRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(ToolT,wx),
+ wxe_util:call(?wxToolBar_AddTool_1,
+ <<ThisRef:32/?UI,ToolRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
+%% @equiv addTool(This,Toolid,Bitmap, [])
+addTool(This,Toolid,Bitmap)
+ when is_record(This, wx_ref),is_integer(Toolid),is_record(Bitmap, wx_ref) ->
+ addTool(This,Toolid,Bitmap, []).
+
+%% @spec (This::wxToolBar(),Toolid::integer(),X::string()|term(),X::term()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Label,Bitmap, []) </c></p>
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Bitmap,BmpDisabled, []) </c></p>
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
+%%<br /> Option = {shortHelpString, string()} | {longHelpString, string()}
+%% </p>
+
+addTool(This,Toolid,Label,Bitmap)
+ when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
+ addTool(This,Toolid,Label,Bitmap, []);
+
+addTool(This,Toolid,Bitmap,BmpDisabled)
+ when is_record(This, wx_ref),is_integer(Toolid),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref) ->
+ addTool(This,Toolid,Bitmap,BmpDisabled, []);
+addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Toolid),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({shortHelpString, ShortHelpString}, Acc) -> ShortHelpString_UC = unicode:characters_to_binary([ShortHelpString,0]),[<<1:32/?UI,(byte_size(ShortHelpString_UC)):32/?UI,(ShortHelpString_UC)/binary, 0:(((8- ((0+byte_size(ShortHelpString_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelpString, LongHelpString}, Acc) -> LongHelpString_UC = unicode:characters_to_binary([LongHelpString,0]),[<<2:32/?UI,(byte_size(LongHelpString_UC)):32/?UI,(LongHelpString_UC)/binary, 0:(((8- ((0+byte_size(LongHelpString_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddTool_3,
+ <<ThisRef:32/?UI,Toolid:32/?UI,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(),Toolid::integer(),X::string()|term(),X::term(),X::term()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Label,Bitmap,BmpDisabled, []) </c></p>
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
+%%<br /> Option = {shortHelp, string()} | {kind, WxItemKind}
+%%<br /> WxItemKind = integer()
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+%% </p>
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
+%%<br /> Option = {toggle, bool()} | {clientData, wx:wx()} | {shortHelpString, string()} | {longHelpString, string()}
+%% </p>
+
+addTool(This,Toolid,Label,Bitmap,BmpDisabled)
+ when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref) ->
+ addTool(This,Toolid,Label,Bitmap,BmpDisabled, []);
+addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Toolid),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<1:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({kind, Kind}, Acc) -> [<<2:32/?UI,Kind:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddTool_4_0,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>);
+addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}, Options)
+ when is_integer(Toolid),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(BmpDisabledT,wxBitmap),
+ MOpts = fun({toggle, Toggle}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>|Acc];
+ ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) -> ?CLASS(ClientDataT,wx),[<<2:32/?UI,ClientDataRef:32/?UI>>|Acc];
+ ({shortHelpString, ShortHelpString}, Acc) -> ShortHelpString_UC = unicode:characters_to_binary([ShortHelpString,0]),[<<3:32/?UI,(byte_size(ShortHelpString_UC)):32/?UI,(ShortHelpString_UC)/binary, 0:(((8- ((0+byte_size(ShortHelpString_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelpString, LongHelpString}, Acc) -> LongHelpString_UC = unicode:characters_to_binary([LongHelpString,0]),[<<4:32/?UI,(byte_size(LongHelpString_UC)):32/?UI,(LongHelpString_UC)/binary, 0:(((8- ((0+byte_size(LongHelpString_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddTool_4_1,
+ <<ThisRef:32/?UI,Toolid:32/?UI,BitmapRef:32/?UI,BmpDisabledRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(),Toolid::integer(),X::term()|string(),X::term(),X::bool()|term(),X::integer()|term()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::bool(), XPos::integer()) -> addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos, []) </c></p>
+%% <p><c>
+%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
+%%<br /> Option = {kind, WxItemKind} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()}
+%%<br /> WxItemKind = integer()
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+%% </p>
+
+addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos)
+ when is_record(This, wx_ref),is_integer(Toolid),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref),is_boolean(Toggle),is_integer(XPos) ->
+ addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos, []);
+addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}, Options)
+ when is_integer(Toolid),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(BmpDisabledT,wxBitmap),
+ MOpts = fun({kind, Kind}, Acc) -> [<<1:32/?UI,Kind:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<2:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<3:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wx),[<<4:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddTool_5,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI,BmpDisabledRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::bool(), XPos::integer(), [Option]) -> wx:wx()
+%% Option = {yPos, integer()} | {clientData, wx:wx()} | {shortHelp, string()} | {longHelp, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddtool">external documentation</a>.
+addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=BmpDisabledT,ref=BmpDisabledRef},Toggle,XPos, Options)
+ when is_integer(Toolid),is_boolean(Toggle),is_integer(XPos),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(BitmapT,wxBitmap),
+ ?CLASS(BmpDisabledT,wxBitmap),
+ MOpts = fun({yPos, YPos}, Acc) -> [<<1:32/?UI,YPos:32/?UI>>|Acc];
+ ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) -> ?CLASS(ClientDataT,wx),[<<2:32/?UI,ClientDataRef:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<3:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<4:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddTool_6,
+ <<ThisRef:32/?UI,Toolid:32/?UI,BitmapRef:32/?UI,BmpDisabledRef:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI,XPos:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
+%% @equiv addCheckTool(This,Toolid,Label,Bitmap, [])
+addCheckTool(This,Toolid,Label,Bitmap)
+ when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
+ addCheckTool(This,Toolid,Label,Bitmap, []).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
+%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddchecktool">external documentation</a>.
+addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Toolid),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) -> ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<2:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<3:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wx),[<<4:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddCheckTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
+%% @equiv addRadioTool(This,Toolid,Label,Bitmap, [])
+addRadioTool(This,Toolid,Label,Bitmap)
+ when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
+ addRadioTool(This,Toolid,Label,Bitmap, []).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
+%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbaraddradiotool">external documentation</a>.
+addRadioTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Toolid),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) -> ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<2:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<3:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wx),[<<4:32/?UI,DataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_AddRadioTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbardeletetool">external documentation</a>.
+deleteTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_DeleteTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Pos::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbardeletetoolbypos">external documentation</a>.
+deleteToolByPos(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_DeleteToolByPos,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Enable::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarenabletool">external documentation</a>.
+enableTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Enable)
+ when is_integer(Toolid),is_boolean(Enable) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_EnableTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindbyid">external documentation</a>.
+findById(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_FindById,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> wxControl:wxControl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindcontrol">external documentation</a>.
+findControl(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_FindControl,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarfindtoolforposition">external documentation</a>.
+findToolForPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_FindToolForPosition,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolsize">external documentation</a>.
+getToolSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolbitmapsize">external documentation</a>.
+getToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolBitmapSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargetmargins">external documentation</a>.
+getMargins(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetMargins,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolenabled">external documentation</a>.
+getToolEnabled(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolEnabled,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoollonghelp">external documentation</a>.
+getToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolLongHelp,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolpacking">external documentation</a>.
+getToolPacking(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolPacking,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Id::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolpos">external documentation</a>.
+getToolPos(#wx_ref{type=ThisT,ref=ThisRef},Id)
+ when is_integer(Id) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolPos,
+ <<ThisRef:32/?UI,Id:32/?UI>>).
+
+%% @spec (This::wxToolBar()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolseparation">external documentation</a>.
+getToolSeparation(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolSeparation,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolshorthelp">external documentation</a>.
+getToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolShortHelp,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbargettoolstate">external documentation</a>.
+getToolState(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_GetToolState,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Pos::integer(), Control::wxControl:wxControl()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinsertcontrol">external documentation</a>.
+insertControl(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ControlT,ref=ControlRef})
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(ControlT,wxControl),
+ wxe_util:call(?wxToolBar_InsertControl,
+ <<ThisRef:32/?UI,Pos:32/?UI,ControlRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Pos::integer()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinsertseparator">external documentation</a>.
+insertSeparator(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_InsertSeparator,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Pos::integer(), Tool::wx:wx()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
+insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ToolT,ref=ToolRef})
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(ToolT,wx),
+ wxe_util:call(?wxToolBar_InsertTool_2,
+ <<ThisRef:32/?UI,Pos:32/?UI,ToolRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx()
+%% @equiv insertTool(This,Pos,Toolid,Bitmap, [])
+insertTool(This,Pos,Toolid,Bitmap)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_record(Bitmap, wx_ref) ->
+ insertTool(This,Pos,Toolid,Bitmap, []).
+
+%% @spec (This::wxToolBar(),Pos::integer(),Toolid::integer(),X::string()|term(),X::term()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> insertTool(This,Pos,Toolid,Label,Bitmap, []) </c></p>
+%% <p><c>
+%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() </c>
+%%<br /> Option = {bmpDisabled, wxBitmap:wxBitmap()} | {toggle, bool()} | {clientData, wx:wx()} | {shortHelp, string()} | {longHelp, string()}
+%% </p>
+
+insertTool(This,Pos,Toolid,Label,Bitmap)
+ when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) ->
+ insertTool(This,Pos,Toolid,Label,Bitmap, []);
+insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Pos),is_integer(Toolid),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) -> ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
+ ({toggle, Toggle}, Acc) -> [<<2:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>|Acc];
+ ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) -> ?CLASS(ClientDataT,wx),[<<3:32/?UI,ClientDataRef:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<4:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<5:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_InsertTool_4,
+ <<ThisRef:32/?UI,Pos:32/?UI,Toolid:32/?UI,BitmapRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx()
+%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {kind, WxItemKind} | {shortHelp, string()} | {longHelp, string()} | {clientData, wx:wx()}
+%% WxItemKind = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarinserttool">external documentation</a>.
+%%<br /> WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
+insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options)
+ when is_integer(Pos),is_integer(Toolid),is_list(Label),is_list(Options) ->
+ ?CLASS(ThisT,wxToolBar),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ ?CLASS(BitmapT,wxBitmap),
+ MOpts = fun({bmpDisabled, #wx_ref{type=BmpDisabledT,ref=BmpDisabledRef}}, Acc) -> ?CLASS(BmpDisabledT,wxBitmap),[<<1:32/?UI,BmpDisabledRef:32/?UI>>|Acc];
+ ({kind, Kind}, Acc) -> [<<2:32/?UI,Kind:32/?UI>>|Acc];
+ ({shortHelp, ShortHelp}, Acc) -> ShortHelp_UC = unicode:characters_to_binary([ShortHelp,0]),[<<3:32/?UI,(byte_size(ShortHelp_UC)):32/?UI,(ShortHelp_UC)/binary, 0:(((8- ((0+byte_size(ShortHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({longHelp, LongHelp}, Acc) -> LongHelp_UC = unicode:characters_to_binary([LongHelp,0]),[<<4:32/?UI,(byte_size(LongHelp_UC)):32/?UI,(LongHelp_UC)/binary, 0:(((8- ((0+byte_size(LongHelp_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ ({clientData, #wx_ref{type=ClientDataT,ref=ClientDataRef}}, Acc) -> ?CLASS(ClientDataT,wx),[<<5:32/?UI,ClientDataRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolBar_InsertTool_5,
+ <<ThisRef:32/?UI,Pos:32/?UI,Toolid:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8,BitmapRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolBar()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarrealize">external documentation</a>.
+realize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_Realize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarremovetool">external documentation</a>.
+removeTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid)
+ when is_integer(Toolid) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:call(?wxToolBar_RemoveTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI>>).
+
+%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsetmargins">external documentation</a>.
+setMargins(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_SetMargins,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolbitmapsize">external documentation</a>.
+setToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_SetToolBitmapSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), HelpString::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoollonghelp">external documentation</a>.
+setToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid,HelpString)
+ when is_integer(Toolid),is_list(HelpString) ->
+ ?CLASS(ThisT,wxToolBar),
+ HelpString_UC = unicode:characters_to_binary([HelpString,0]),
+ wxe_util:cast(?wxToolBar_SetToolLongHelp,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxToolBar(), Packing::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolpacking">external documentation</a>.
+setToolPacking(#wx_ref{type=ThisT,ref=ThisRef},Packing)
+ when is_integer(Packing) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_SetToolPacking,
+ <<ThisRef:32/?UI,Packing:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Id::integer(), HelpString::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolshorthelp">external documentation</a>.
+setToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Id,HelpString)
+ when is_integer(Id),is_list(HelpString) ->
+ ?CLASS(ThisT,wxToolBar),
+ HelpString_UC = unicode:characters_to_binary([HelpString,0]),
+ wxe_util:cast(?wxToolBar_SetToolShortHelp,
+ <<ThisRef:32/?UI,Id:32/?UI,(byte_size(HelpString_UC)):32/?UI,(HelpString_UC)/binary, 0:(((8- ((4+byte_size(HelpString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxToolBar(), Separation::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbarsettoolseparation">external documentation</a>.
+setToolSeparation(#wx_ref{type=ThisT,ref=ThisRef},Separation)
+ when is_integer(Separation) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_SetToolSeparation,
+ <<ThisRef:32/?UI,Separation:32/?UI>>).
+
+%% @spec (This::wxToolBar(), Toolid::integer(), Toggle::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbar.html#wxtoolbartoggletool">external documentation</a>.
+toggleTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Toggle)
+ when is_integer(Toolid),is_boolean(Toggle) ->
+ ?CLASS(ThisT,wxToolBar),
+ wxe_util:cast(?wxToolBar_ToggleTool,
+ <<ThisRef:32/?UI,Toolid:32/?UI,(wxe_util:from_bool(Toggle)):32/?UI>>).
+
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxToolTip.erl b/lib/wx/src/gen/wxToolTip.erl
new file mode 100644
index 0000000000..3a57ece765
--- /dev/null
+++ b/lib/wx/src/gen/wxToolTip.erl
@@ -0,0 +1,85 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html">wxToolTip</a>.
+%% @type wxToolTip(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxToolTip).
+-include("wxe.hrl").
+-export([destroy/1,enable/1,getTip/1,getWindow/1,new/1,setDelay/1,setTip/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Flag::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipenable">external documentation</a>.
+enable(Flag)
+ when is_boolean(Flag) ->
+ wxe_util:cast(?wxToolTip_Enable,
+ <<(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec (Msecs::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipsetdelay">external documentation</a>.
+setDelay(Msecs)
+ when is_integer(Msecs) ->
+ wxe_util:cast(?wxToolTip_SetDelay,
+ <<Msecs:32/?UI>>).
+
+%% @spec (Tip::string()) -> wxToolTip()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipwxtooltip">external documentation</a>.
+new(Tip)
+ when is_list(Tip) ->
+ Tip_UC = unicode:characters_to_binary([Tip,0]),
+ wxe_util:construct(?wxToolTip_new,
+ <<(byte_size(Tip_UC)):32/?UI,(Tip_UC)/binary, 0:(((8- ((4+byte_size(Tip_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxToolTip(), Tip::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipsettip">external documentation</a>.
+setTip(#wx_ref{type=ThisT,ref=ThisRef},Tip)
+ when is_list(Tip) ->
+ ?CLASS(ThisT,wxToolTip),
+ Tip_UC = unicode:characters_to_binary([Tip,0]),
+ wxe_util:cast(?wxToolTip_SetTip,
+ <<ThisRef:32/?UI,(byte_size(Tip_UC)):32/?UI,(Tip_UC)/binary, 0:(((8- ((0+byte_size(Tip_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxToolTip()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipgettip">external documentation</a>.
+getTip(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolTip),
+ wxe_util:call(?wxToolTip_GetTip,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolTip()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtooltip.html#wxtooltipgetwindow">external documentation</a>.
+getWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolTip),
+ wxe_util:call(?wxToolTip_GetWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolTip()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxToolTip),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wxToolbook.erl b/lib/wx/src/gen/wxToolbook.erl
new file mode 100644
index 0000000000..44d3ea945d
--- /dev/null
+++ b/lib/wx/src/gen/wxToolbook.erl
@@ -0,0 +1,698 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html">wxToolbook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxToolbook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxToolbook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,advanceSelection/1,advanceSelection/2,assignImageList/2,
+ changeSelection/2,create/3,create/4,deleteAllPages/1,deletePage/2,
+ destroy/1,getCurrentPage/1,getImageList/1,getPage/2,getPageCount/1,
+ getPageImage/2,getPageText/2,getSelection/1,hitTest/2,insertPage/4,
+ insertPage/5,new/0,new/2,new/3,removePage/2,setImageList/2,setPageImage/3,
+ setPageSize/2,setPageText/3,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxToolbook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookwxtoolbook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxToolbook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxToolbook()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxToolbook()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookwxtoolbook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxToolbook_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv addPage(This,Page,Text, [])
+addPage(This,Page,Text)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
+ addPage(This,Page,Text, []).
+
+%% @spec (This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxToolbook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolbook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxToolbook()) -> ok
+%% @equiv advanceSelection(This, [])
+advanceSelection(This)
+ when is_record(This, wx_ref) ->
+ advanceSelection(This, []).
+
+%% @spec (This::wxToolbook(), [Option]) -> ok
+%% Option = {forward, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookadvanceselection">external documentation</a>.
+advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxToolbook),
+ MOpts = fun({forward, Forward}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Forward)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxToolbook_AdvanceSelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolbook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxToolbook_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxToolbook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolbook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxToolbook()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookdeleteallpages">external documentation</a>.
+deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_DeleteAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_DeletePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_RemovePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolbook()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetPage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetpageimage">external documentation</a>.
+getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetPageText,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), Pt::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_HitTest,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv insertPage(This,N,Page,Text, [])
+insertPage(This,N,Page,Text)
+ when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) ->
+ insertPage(This,N,Page,Text, []).
+
+%% @spec (This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_integer(N),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxToolbook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxToolbook_InsertPage,
+ <<ThisRef:32/?UI,N:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxToolbook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbooksetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxToolbook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxToolbook_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxToolbook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbooksetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:cast(?wxToolbook_SetPageSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer(), ImageId::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbooksetpageimage">external documentation</a>.
+setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId)
+ when is_integer(N),is_integer(ImageId) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_SetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI,ImageId:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer(), StrText::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText)
+ when is_integer(N),is_list(StrText) ->
+ ?CLASS(ThisT,wxToolbook),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ wxe_util:call(?wxToolbook_SetPageText,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((4+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoolbook.html#wxtoolbookchangeselection">external documentation</a>.
+changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxToolbook),
+ wxe_util:call(?wxToolbook_ChangeSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxToolbook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxToolbook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxTopLevelWindow.erl b/lib/wx/src/gen/wxTopLevelWindow.erl
new file mode 100644
index 0000000000..3bb63886d9
--- /dev/null
+++ b/lib/wx/src/gen/wxTopLevelWindow.erl
@@ -0,0 +1,631 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html">wxTopLevelWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxTopLevelWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTopLevelWindow).
+-include("wxe.hrl").
+-export([centerOnScreen/1,centerOnScreen/2,centreOnScreen/1,centreOnScreen/2,
+ getIcon/1,getIcons/1,getTitle/1,iconize/1,iconize/2,isActive/1,isFullScreen/1,
+ isIconized/1,isMaximized/1,maximize/1,maximize/2,requestUserAttention/1,
+ requestUserAttention/2,setIcon/2,setIcons/2,setShape/2,setTitle/2,
+ showFullScreen/2,showFullScreen/3]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxTopLevelWindow()) -> wxIcon:wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowgeticon">external documentation</a>.
+getIcon(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_GetIcon,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> wxIconBundle:wxIconBundle()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowgeticons">external documentation</a>.
+getIcons(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_GetIcons,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowgettitle">external documentation</a>.
+getTitle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_GetTitle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowisactive">external documentation</a>.
+isActive(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_IsActive,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> ok
+%% @equiv iconize(This, [])
+iconize(This)
+ when is_record(This, wx_ref) ->
+ iconize(This, []).
+
+%% @spec (This::wxTopLevelWindow(), [Option]) -> ok
+%% Option = {iconize, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowiconize">external documentation</a>.
+iconize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({iconize, Iconize}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Iconize)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTopLevelWindow_Iconize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTopLevelWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowisfullscreen">external documentation</a>.
+isFullScreen(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_IsFullScreen,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowisiconized">external documentation</a>.
+isIconized(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_IsIconized,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowismaximized">external documentation</a>.
+isMaximized(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ wxe_util:call(?wxTopLevelWindow_IsMaximized,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> ok
+%% @equiv maximize(This, [])
+maximize(This)
+ when is_record(This, wx_ref) ->
+ maximize(This, []).
+
+%% @spec (This::wxTopLevelWindow(), [Option]) -> ok
+%% Option = {maximize, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowmaximize">external documentation</a>.
+maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({maximize, Maximize}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Maximize)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTopLevelWindow_Maximize,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTopLevelWindow()) -> ok
+%% @equiv requestUserAttention(This, [])
+requestUserAttention(This)
+ when is_record(This, wx_ref) ->
+ requestUserAttention(This, []).
+
+%% @spec (This::wxTopLevelWindow(), [Option]) -> ok
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowrequestuserattention">external documentation</a>.
+requestUserAttention(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTopLevelWindow_RequestUserAttention,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTopLevelWindow(), Icon::wxIcon:wxIcon()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowseticon">external documentation</a>.
+setIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ ?CLASS(IconT,wxIcon),
+ wxe_util:cast(?wxTopLevelWindow_SetIcon,
+ <<ThisRef:32/?UI,IconRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow(), Icons::wxIconBundle:wxIconBundle()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowseticons">external documentation</a>.
+setIcons(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconsT,ref=IconsRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ ?CLASS(IconsT,wxIconBundle),
+ wxe_util:cast(?wxTopLevelWindow_SetIcons,
+ <<ThisRef:32/?UI,IconsRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow()) -> ok
+%% @equiv centerOnScreen(This, [])
+centerOnScreen(This)
+ when is_record(This, wx_ref) ->
+ centerOnScreen(This, []).
+
+%% @spec (This::wxTopLevelWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowcenteronscreen">external documentation</a>.
+centerOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTopLevelWindow_CenterOnScreen,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTopLevelWindow()) -> ok
+%% @equiv centreOnScreen(This, [])
+centreOnScreen(This)
+ when is_record(This, wx_ref) ->
+ centreOnScreen(This, []).
+
+%% @spec (This::wxTopLevelWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowcentreonscreen">external documentation</a>.
+centreOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTopLevelWindow_CentreOnScreen,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTopLevelWindow(), Region::wxRegion:wxRegion()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowsetshape">external documentation</a>.
+setShape(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ ?CLASS(RegionT,wxRegion),
+ wxe_util:call(?wxTopLevelWindow_SetShape,
+ <<ThisRef:32/?UI,RegionRef:32/?UI>>).
+
+%% @spec (This::wxTopLevelWindow(), Title::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowsettitle">external documentation</a>.
+setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title)
+ when is_list(Title) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ Title_UC = unicode:characters_to_binary([Title,0]),
+ wxe_util:cast(?wxTopLevelWindow_SetTitle,
+ <<ThisRef:32/?UI,(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((0+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTopLevelWindow(), Show::bool()) -> bool()
+%% @equiv showFullScreen(This,Show, [])
+showFullScreen(This,Show)
+ when is_record(This, wx_ref),is_boolean(Show) ->
+ showFullScreen(This,Show, []).
+
+%% @spec (This::wxTopLevelWindow(), Show::bool(), [Option]) -> bool()
+%% Option = {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtoplevelwindow.html#wxtoplevelwindowshowfullscreen">external documentation</a>.
+showFullScreen(#wx_ref{type=ThisT,ref=ThisRef},Show, Options)
+ when is_boolean(Show),is_list(Options) ->
+ ?CLASS(ThisT,wxTopLevelWindow),
+ MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTopLevelWindow_ShowFullScreen,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI, BinOpt/binary>>).
+
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setLabel(This,Label) -> wxWindow:setLabel(This,Label).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getLabel(This) -> wxWindow:getLabel(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl
new file mode 100644
index 0000000000..cc08c14754
--- /dev/null
+++ b/lib/wx/src/gen/wxTreeCtrl.erl
@@ -0,0 +1,1146 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html">wxTreeCtrl</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxTreeCtrl(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTreeCtrl).
+-include("wxe.hrl").
+-export([addRoot/2,addRoot/3,appendItem/3,appendItem/4,assignImageList/2,assignStateImageList/2,
+ collapse/2,collapseAndReset/2,create/2,create/3,delete/2,deleteAllItems/1,
+ deleteChildren/2,destroy/1,ensureVisible/2,expand/2,getBoundingRect/3,
+ getBoundingRect/4,getChildrenCount/2,getChildrenCount/3,getCount/1,
+ getEditControl/1,getFirstVisibleItem/1,getImageList/1,getIndent/1,
+ getItemBackgroundColour/2,getItemData/2,getItemFont/2,getItemImage/2,
+ getItemImage/3,getItemParent/2,getItemText/2,getItemTextColour/2,
+ getLastChild/2,getNextSibling/2,getNextVisible/2,getPrevSibling/2,
+ getPrevVisible/2,getRootItem/1,getSelection/1,getSelections/1,getStateImageList/1,
+ hitTest/2,insertItem/4,insertItem/5,isBold/2,isExpanded/2,isSelected/2,
+ isVisible/2,itemHasChildren/2,new/0,new/1,new/2,prependItem/3,prependItem/4,
+ scrollTo/2,selectItem/2,selectItem/3,setImageList/2,setIndent/2,setItemBackgroundColour/3,
+ setItemBold/2,setItemBold/3,setItemData/3,setItemDropHighlight/2,
+ setItemDropHighlight/3,setItemFont/3,setItemHasChildren/2,setItemHasChildren/3,
+ setItemImage/3,setItemImage/4,setItemText/3,setItemTextColour/3,setStateImageList/2,
+ setWindowStyle/2,sortChildren/2,toggle/2,toggleItemSelection/2,unselect/1,
+ unselectAll/1,unselectItem/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,show/1,
+ show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,
+ updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxTreeCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlwxtreectrl">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxTreeCtrl_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow()) -> wxTreeCtrl()
+%% @equiv new(Parent, [])
+new(Parent)
+ when is_record(Parent, wx_ref) ->
+ new(Parent, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxTreeCtrl()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlwxtreectrl">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTreeCtrl_new_2,
+ <<ParentRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Text::string()) -> wxTreeItemId()
+%% @equiv addRoot(This,Text, [])
+addRoot(This,Text)
+ when is_record(This, wx_ref),is_list(Text) ->
+ addRoot(This,Text, []).
+
+%% @spec (This::wxTreeCtrl(), Text::string(), [Option]) -> wxTreeItemId()
+%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrladdroot">external documentation</a>.
+addRoot(#wx_ref{type=ThisT,ref=ThisRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({image, Image}, Acc) -> [<<1:32/?UI,Image:32/?UI>>|Acc];
+ ({selectedImage, SelectedImage}, Acc) -> [<<2:32/?UI,SelectedImage:32/?UI>>|Acc];
+ ({data, Data}, Acc) -> wxe_util:send_bin(term_to_binary(Data)),[<<3:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_AddRoot,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxTreeItemId(), Text::string()) -> wxTreeItemId()
+%% @equiv appendItem(This,Parent,Text, [])
+appendItem(This,Parent,Text)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_list(Text) ->
+ appendItem(This,Parent,Text, []).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxTreeItemId(), Text::string(), [Option]) -> wxTreeItemId()
+%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlappenditem">external documentation</a>.
+appendItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ParentRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({image, Image}, Acc) -> [<<1:32/?UI,Image:32/?UI>>|Acc];
+ ({selectedImage, SelectedImage}, Acc) -> [<<2:32/?UI,SelectedImage:32/?UI>>|Acc];
+ ({data, Data}, Acc) -> wxe_util:send_bin(term_to_binary(Data)),[<<3:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_AppendItem,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreeCtrl_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlassignstateimagelist">external documentation</a>.
+assignStateImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreeCtrl_AssignStateImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlcollapse">external documentation</a>.
+collapse(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_Collapse,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlcollapseandreset">external documentation</a>.
+collapseAndReset(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_CollapseAndReset,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxWindow:wxWindow()) -> bool()
+%% @equiv create(This,Parent, [])
+create(This,Parent)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref) ->
+ create(This,Parent, []).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({id, Id}, Acc) -> [<<1:32/?UI,Id:32/?UI>>|Acc];
+ ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc];
+ ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrldelete">external documentation</a>.
+delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_Delete,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrldeleteallitems">external documentation</a>.
+deleteAllItems(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_DeleteAllItems,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrldeletechildren">external documentation</a>.
+deleteChildren(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_DeleteChildren,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlensurevisible">external documentation</a>.
+ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_EnsureVisible,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlexpand">external documentation</a>.
+expand(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_Expand,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool()
+%% @equiv getBoundingRect(This,Item,Rect, [])
+getBoundingRect(This,Item,Rect={RectX,RectY,RectW,RectH})
+ when is_record(This, wx_ref),is_record(Item, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ getBoundingRect(This,Item,Rect, []).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, [Option]) -> bool()
+%% Option = {textOnly, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetboundingrect">external documentation</a>.
+getBoundingRect(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},{RectX,RectY,RectW,RectH}, Options)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({textOnly, TextOnly}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(TextOnly)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_GetBoundingRect,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> integer()
+%% @equiv getChildrenCount(This,Item, [])
+getChildrenCount(This,Item)
+ when is_record(This, wx_ref),is_record(Item, wx_ref) ->
+ getChildrenCount(This,Item, []).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> integer()
+%% Option = {recursively, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetchildrencount">external documentation</a>.
+getChildrenCount(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({recursively, Recursively}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Recursively)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_GetChildrenCount,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetcount">external documentation</a>.
+getCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxTextCtrl:wxTextCtrl()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgeteditcontrol">external documentation</a>.
+getEditControl(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetEditControl,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetfirstvisibleitem">external documentation</a>.
+getFirstVisibleItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetFirstVisibleItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetindent">external documentation</a>.
+getIndent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetIndent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitembackgroundcolour">external documentation</a>.
+getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemBackgroundColour,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> term()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemdata">external documentation</a>.
+getItemData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemData,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemfont">external documentation</a>.
+getItemFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemFont,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemimage">external documentation</a>.
+getItemImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemImage_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> integer()
+%% Option = {which, WxTreeItemIcon}
+%% WxTreeItemIcon = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemimage">external documentation</a>.
+%%<br /> WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
+getItemImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({which, Which}, Acc) -> [<<1:32/?UI,Which:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_GetItemImage_2,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemtext">external documentation</a>.
+getItemText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemText,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemtextcolour">external documentation</a>.
+getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemTextColour,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetlastchild">external documentation</a>.
+getLastChild(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetLastChild,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetnextsibling">external documentation</a>.
+getNextSibling(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetNextSibling,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetnextvisible">external documentation</a>.
+getNextVisible(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetNextVisible,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetitemparent">external documentation</a>.
+getItemParent(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetItemParent,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetprevsibling">external documentation</a>.
+getPrevSibling(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetPrevSibling,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetprevvisible">external documentation</a>.
+getPrevVisible(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetPrevVisible,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetrootitem">external documentation</a>.
+getRootItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetRootItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> {integer(),Val::[wxTreeItemId()]}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetselections">external documentation</a>.
+getSelections(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetSelections,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlgetstateimagelist">external documentation</a>.
+getStateImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_GetStateImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Point::{X::integer(),Y::integer()}) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY})
+ when is_integer(PointX),is_integer(PointY) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_HitTest,
+ <<ThisRef:32/?UI,PointX:32/?UI,PointY:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(),Parent::wxTreeItemId(),X::integer()|wxTreeItemId(),Text::string()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlinsertitem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insertItem(This::wxTreeCtrl(), Parent::wxTreeItemId(), Pos::integer(), Text::string()) -> insertItem(This,Parent,Pos,Text, []) </c></p>
+%% <p><c>
+%% insertItem(This::wxTreeCtrl(), Parent::wxTreeItemId(), IdPrevious::wxTreeItemId(), Text::string()) -> insertItem(This,Parent,IdPrevious,Text, []) </c></p>
+
+insertItem(This,Parent,Pos,Text)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Pos),is_list(Text) ->
+ insertItem(This,Parent,Pos,Text, []);
+
+insertItem(This,Parent,IdPrevious,Text)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(IdPrevious, wx_ref),is_list(Text) ->
+ insertItem(This,Parent,IdPrevious,Text, []).
+
+%% @spec (This::wxTreeCtrl(),Parent::wxTreeItemId(),X::integer()|wxTreeItemId(),Text::string(),[Option]) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlinsertitem">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% insertItem(This::wxTreeCtrl(), Parent::wxTreeItemId(), Pos::integer(), Text::string(), [Option]) -> wxTreeItemId() </c>
+%%<br /> Option = {image, integer()} | {selImage, integer()} | {data, term()}
+%% </p>
+%% <p><c>
+%% insertItem(This::wxTreeCtrl(), Parent::wxTreeItemId(), IdPrevious::wxTreeItemId(), Text::string(), [Option]) -> wxTreeItemId() </c>
+%%<br /> Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
+%% </p>
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ParentRef},Pos,Text, Options)
+ when is_integer(Pos),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({image, Image}, Acc) -> [<<1:32/?UI,Image:32/?UI>>|Acc];
+ ({selImage, SelImage}, Acc) -> [<<2:32/?UI,SelImage:32/?UI>>|Acc];
+ ({data, Data}, Acc) -> wxe_util:send_bin(term_to_binary(Data)),[<<3:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_InsertItem_4_0,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Pos:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>);
+insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ParentRef},#wx_ref{type=wxTreeItemId,ref=IdPreviousRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({image, Image}, Acc) -> [<<1:32/?UI,Image:32/?UI>>|Acc];
+ ({selectedImage, SelectedImage}, Acc) -> [<<2:32/?UI,SelectedImage:32/?UI>>|Acc];
+ ({data, Data}, Acc) -> wxe_util:send_bin(term_to_binary(Data)),[<<3:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_InsertItem_4_1,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,IdPreviousRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlisbold">external documentation</a>.
+isBold(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_IsBold,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlisexpanded">external documentation</a>.
+isExpanded(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_IsExpanded,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlisselected">external documentation</a>.
+isSelected(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_IsSelected,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlisvisible">external documentation</a>.
+isVisible(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_IsVisible,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlitemhaschildren">external documentation</a>.
+itemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:call(?wxTreeCtrl_ItemHasChildren,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxTreeItemId(), Text::string()) -> wxTreeItemId()
+%% @equiv prependItem(This,Parent,Text, [])
+prependItem(This,Parent,Text)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_list(Text) ->
+ prependItem(This,Parent,Text, []).
+
+%% @spec (This::wxTreeCtrl(), Parent::wxTreeItemId(), Text::string(), [Option]) -> wxTreeItemId()
+%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlprependitem">external documentation</a>.
+prependItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ParentRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({image, Image}, Acc) -> [<<1:32/?UI,Image:32/?UI>>|Acc];
+ ({selectedImage, SelectedImage}, Acc) -> [<<2:32/?UI,SelectedImage:32/?UI>>|Acc];
+ ({data, Data}, Acc) -> wxe_util:send_bin(term_to_binary(Data)),[<<3:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreeCtrl_PrependItem,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlscrollto">external documentation</a>.
+scrollTo(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_ScrollTo,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlselectitem">external documentation</a>.
+selectItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SelectItem_1,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> ok
+%% Option = {select, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlselectitem">external documentation</a>.
+selectItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({select, Select}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Select)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreeCtrl_SelectItem_2,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Indent::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetindent">external documentation</a>.
+setIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent)
+ when is_integer(Indent) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SetIndent,
+ <<ThisRef:32/?UI,Indent:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreeCtrl_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitembackgroundcolour">external documentation</a>.
+setItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SetItemBackgroundColour,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @equiv setItemBold(This,Item, [])
+setItemBold(This,Item)
+ when is_record(This, wx_ref),is_record(Item, wx_ref) ->
+ setItemBold(This,Item, []).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> ok
+%% Option = {bold, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitembold">external documentation</a>.
+setItemBold(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({bold, Bold}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Bold)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreeCtrl_SetItemBold,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Data::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemdata">external documentation</a>.
+setItemData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Data) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:send_bin(term_to_binary(Data)),
+ wxe_util:cast(?wxTreeCtrl_SetItemData,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @equiv setItemDropHighlight(This,Item, [])
+setItemDropHighlight(This,Item)
+ when is_record(This, wx_ref),is_record(Item, wx_ref) ->
+ setItemDropHighlight(This,Item, []).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> ok
+%% Option = {highlight, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemdrophighlight">external documentation</a>.
+setItemDropHighlight(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({highlight, Highlight}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Highlight)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreeCtrl_SetItemDropHighlight,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemfont">external documentation</a>.
+setItemFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxTreeCtrl_SetItemFont,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @equiv setItemHasChildren(This,Item, [])
+setItemHasChildren(This,Item)
+ when is_record(This, wx_ref),is_record(Item, wx_ref) ->
+ setItemHasChildren(This,Item, []).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), [Option]) -> ok
+%% Option = {has, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemhaschildren">external documentation</a>.
+setItemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({has, Has}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Has)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreeCtrl_SetItemHasChildren,
+ <<ThisRef:32/?UI,ItemRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Image::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemimage">external documentation</a>.
+setItemImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Image)
+ when is_integer(Image) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SetItemImage_2,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,Image:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Image::integer(), [Option]) -> ok
+%% Option = {which, WxTreeItemIcon}
+%% WxTreeItemIcon = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemimage">external documentation</a>.
+%%<br /> WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max
+setItemImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Image, Options)
+ when is_integer(Image),is_list(Options) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ MOpts = fun({which, Which}, Acc) -> [<<1:32/?UI,Which:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreeCtrl_SetItemImage_3,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,Image:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemtext">external documentation</a>.
+setItemText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxTreeCtrl_SetItemText,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId(), Col::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetitemtextcolour">external documentation</a>.
+setItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef},Col)
+ when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SetItemTextColour,
+ <<ThisRef:32/?UI,ItemRef:32/?UI,(wxe_util:colour_bin(Col)):16/binary>>).
+
+%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetstateimagelist">external documentation</a>.
+setStateImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreeCtrl_SetStateImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Styles::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsetwindowstyle">external documentation</a>.
+setWindowStyle(#wx_ref{type=ThisT,ref=ThisRef},Styles)
+ when is_integer(Styles) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SetWindowStyle,
+ <<ThisRef:32/?UI,Styles:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlsortchildren">external documentation</a>.
+sortChildren(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_SortChildren,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrltoggle">external documentation</a>.
+toggle(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_Toggle,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrltoggleitemselection">external documentation</a>.
+toggleItemSelection(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_ToggleItemSelection,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlunselect">external documentation</a>.
+unselect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_Unselect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlunselectall">external documentation</a>.
+unselectAll(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_UnselectAll,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl(), Item::wxTreeItemId()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlunselectitem">external documentation</a>.
+unselectItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=wxTreeItemId,ref=ItemRef}) ->
+ ?CLASS(ThisT,wxTreeCtrl),
+ wxe_util:cast(?wxTreeCtrl_UnselectItem,
+ <<ThisRef:32/?UI,ItemRef:32/?UI>>).
+
+%% @spec (This::wxTreeCtrl()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTreeCtrl),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxTreeEvent.erl b/lib/wx/src/gen/wxTreeEvent.erl
new file mode 100644
index 0000000000..3f20e79b22
--- /dev/null
+++ b/lib/wx/src/gen/wxTreeEvent.erl
@@ -0,0 +1,153 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html">wxTreeEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>command_tree_begin_drag</em>, <em>command_tree_begin_rdrag</em>, <em>command_tree_begin_label_edit</em>, <em>command_tree_end_label_edit</em>, <em>command_tree_delete_item</em>, <em>command_tree_get_info</em>, <em>command_tree_set_info</em>, <em>command_tree_item_expanded</em>, <em>command_tree_item_expanding</em>, <em>command_tree_item_collapsed</em>, <em>command_tree_item_collapsing</em>, <em>command_tree_sel_changed</em>, <em>command_tree_sel_changing</em>, <em>command_tree_key_down</em>, <em>command_tree_item_activated</em>, <em>command_tree_item_right_click</em>, <em>command_tree_item_middle_click</em>, <em>command_tree_end_drag</em>, <em>command_tree_state_image_click</em>, <em>command_tree_item_gettooltip</em>, <em>command_tree_item_menu</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxTree(). #wxTree{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxNotifyEvent}
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxTreeEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTreeEvent).
+-include("wxe.hrl").
+-export([getItem/1,getKeyCode/1,getKeyEvent/1,getLabel/1,getOldItem/1,getPoint/1,
+ isEditCancelled/1,setToolTip/2]).
+
+%% inherited exports
+-export([allow/1,getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,
+ getSkipped/1,getString/1,getTimestamp/1,isAllowed/1,isChecked/1,isCommandEvent/1,
+ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2,
+ shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]).
+
+%% @hidden
+parent_class(wxNotifyEvent) -> true;
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (This::wxTreeEvent()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetkeycode">external documentation</a>.
+getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetKeyCode,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetitem">external documentation</a>.
+getItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> wxKeyEvent:wxKeyEvent()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetkeyevent">external documentation</a>.
+getKeyEvent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetKeyEvent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> wxTreeItemId()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetolditem">external documentation</a>.
+getOldItem(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetOldItem,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventgetpoint">external documentation</a>.
+getPoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_GetPoint,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventiseditcancelled">external documentation</a>.
+isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ wxe_util:call(?wxTreeEvent_IsEditCancelled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreeEvent(), ToolTip::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreeevent.html#wxtreeeventsettooltip">external documentation</a>.
+setToolTip(#wx_ref{type=ThisT,ref=ThisRef},ToolTip)
+ when is_list(ToolTip) ->
+ ?CLASS(ThisT,wxTreeEvent),
+ ToolTip_UC = unicode:characters_to_binary([ToolTip,0]),
+ wxe_util:cast(?wxTreeEvent_SetToolTip,
+ <<ThisRef:32/?UI,(byte_size(ToolTip_UC)):32/?UI,(ToolTip_UC)/binary, 0:(((8- ((0+byte_size(ToolTip_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+ %% From wxNotifyEvent
+%% @hidden
+veto(This) -> wxNotifyEvent:veto(This).
+%% @hidden
+isAllowed(This) -> wxNotifyEvent:isAllowed(This).
+%% @hidden
+allow(This) -> wxNotifyEvent:allow(This).
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxTreebook.erl b/lib/wx/src/gen/wxTreebook.erl
new file mode 100644
index 0000000000..34b16a1cc6
--- /dev/null
+++ b/lib/wx/src/gen/wxTreebook.erl
@@ -0,0 +1,746 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html">wxTreebook</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxControl}
+%% <br />{@link wxWindow}
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxTreebook(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxTreebook).
+-include("wxe.hrl").
+-export([addPage/3,addPage/4,advanceSelection/1,advanceSelection/2,assignImageList/2,
+ changeSelection/2,create/3,create/4,deleteAllPages/1,deletePage/2,
+ destroy/1,expandNode/2,expandNode/3,getCurrentPage/1,getImageList/1,
+ getPage/2,getPageCount/1,getPageImage/2,getPageText/2,getSelection/1,
+ hitTest/2,insertPage/4,insertPage/5,insertSubPage/4,insertSubPage/5,
+ isNodeExpanded/2,new/0,new/2,new/3,removePage/2,setImageList/2,setPageImage/3,
+ setPageSize/2,setPageText/3,setSelection/2]).
+
+%% inherited exports
+-export([cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ connect/2,connect/3,convertDialogToPixels/2,convertPixelsToDialog/2,
+ destroyChildren/1,disable/1,disconnect/1,disconnect/2,disconnect/3,
+ enable/1,enable/2,findWindow/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCaret/1,
+ getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,getContainingSizer/1,
+ getCursor/1,getDropTarget/1,getEventHandler/1,getExtraStyle/1,getFont/1,
+ getForegroundColour/1,getGrandParent/1,getHandle/1,getHelpText/1,
+ getId/1,getLabel/1,getMaxSize/1,getMinSize/1,getName/1,getParent/1,
+ getPosition/1,getRect/1,getScreenPosition/1,getScreenRect/1,getScrollPos/2,
+ getScrollRange/2,getScrollThumb/2,getSize/1,getSizer/1,getTextExtent/2,
+ getTextExtent/3,getToolTip/1,getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,
+ getWindowVariant/1,hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,
+ hide/1,inheritAttributes/1,initDialog/1,invalidateBestSize/1,isEnabled/1,
+ isExposed/2,isExposed/3,isExposed/5,isRetained/1,isShown/1,isTopLevel/1,
+ layout/1,lineDown/1,lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,
+ move/3,move/4,moveAfterInTabOrder/2,moveBeforeInTabOrder/2,navigate/1,
+ navigate/2,pageDown/1,pageUp/1,parent_class/1,popEventHandler/1,popEventHandler/2,
+ popupMenu/2,popupMenu/3,popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,
+ refreshRect/3,releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,
+ screenToClient/2,scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,
+ setAcceleratorTable/2,setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,
+ setCaret/2,setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% @hidden
+parent_class(wxControl) -> true;
+parent_class(wxWindow) -> true;
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxTreebook()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookwxtreebook">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxTreebook_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTreebook()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxTreebook()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookwxtreebook">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxTreebook_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv addPage(This,Page,Text, [])
+addPage(This,Page,Text)
+ when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
+ addPage(This,Page,Text, []).
+
+%% @spec (This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookaddpage">external documentation</a>.
+addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreebook_AddPage,
+ <<ThisRef:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreebook()) -> ok
+%% @equiv advanceSelection(This, [])
+advanceSelection(This)
+ when is_record(This, wx_ref) ->
+ advanceSelection(This, []).
+
+%% @spec (This::wxTreebook(), [Option]) -> ok
+%% Option = {forward, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookadvanceselection">external documentation</a>.
+advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ MOpts = fun({forward, Forward}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Forward)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxTreebook_AdvanceSelection,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTreebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookassignimagelist">external documentation</a>.
+assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreebook_AssignImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool()
+%% @equiv create(This,Parent,Id, [])
+create(This,Parent,Id)
+ when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) ->
+ create(This,Parent,Id, []).
+
+%% @spec (This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookcreate">external documentation</a>.
+create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreebook_Create,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,Id:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxTreebook()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookdeleteallpages">external documentation</a>.
+deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_DeleteAllPages,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Pos::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookdeletepage">external documentation</a>.
+deletePage(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_DeletePage,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookremovepage">external documentation</a>.
+removePage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_RemovePage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetcurrentpage">external documentation</a>.
+getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetCurrentPage,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreebook()) -> wxImageList:wxImageList()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetimagelist">external documentation</a>.
+getImageList(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetImageList,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetpage">external documentation</a>.
+getPage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetPage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetpagecount">external documentation</a>.
+getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetPageCount,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetpageimage">external documentation</a>.
+getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetpagetext">external documentation</a>.
+getPageText(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetPageText,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookgetselection">external documentation</a>.
+getSelection(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_GetSelection,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Pos::integer()) -> bool()
+%% @equiv expandNode(This,Pos, [])
+expandNode(This,Pos)
+ when is_record(This, wx_ref),is_integer(Pos) ->
+ expandNode(This,Pos, []).
+
+%% @spec (This::wxTreebook(), Pos::integer(), [Option]) -> bool()
+%% Option = {expand, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookexpandnode">external documentation</a>.
+expandNode(#wx_ref{type=ThisT,ref=ThisRef},Pos, Options)
+ when is_integer(Pos),is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ MOpts = fun({expand, Expand}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Expand)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreebook_ExpandNode,
+ <<ThisRef:32/?UI,Pos:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxTreebook(), Pos::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookisnodeexpanded">external documentation</a>.
+isNodeExpanded(#wx_ref{type=ThisT,ref=ThisRef},Pos)
+ when is_integer(Pos) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_IsNodeExpanded,
+ <<ThisRef:32/?UI,Pos:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Pt::{X::integer(),Y::integer()}) -> {integer(),Flags::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookhittest">external documentation</a>.
+hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_HitTest,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv insertPage(This,Pos,Page,Text, [])
+insertPage(This,Pos,Page,Text)
+ when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) ->
+ insertPage(This,Pos,Page,Text, []).
+
+%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookinsertpage">external documentation</a>.
+insertPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_integer(Pos),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreebook_InsertPage,
+ <<ThisRef:32/?UI,Pos:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool()
+%% @equiv insertSubPage(This,Pos,Page,Text, [])
+insertSubPage(This,Pos,Page,Text)
+ when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) ->
+ insertSubPage(This,Pos,Page,Text, []).
+
+%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool()
+%% Option = {bSelect, bool()} | {imageId, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookinsertsubpage">external documentation</a>.
+insertSubPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options)
+ when is_integer(Pos),is_list(Text),is_list(Options) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(PageT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ MOpts = fun({bSelect, BSelect}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(BSelect)):32/?UI>>|Acc];
+ ({imageId, ImageId}, Acc) -> [<<2:32/?UI,ImageId:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxTreebook_InsertSubPage,
+ <<ThisRef:32/?UI,Pos:32/?UI,PageRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxTreebook(), ImageList::wxImageList:wxImageList()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebooksetimagelist">external documentation</a>.
+setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) ->
+ ?CLASS(ThisT,wxTreebook),
+ ?CLASS(ImageListT,wxImageList),
+ wxe_util:cast(?wxTreebook_SetImageList,
+ <<ThisRef:32/?UI,ImageListRef:32/?UI>>).
+
+%% @spec (This::wxTreebook(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebooksetpagesize">external documentation</a>.
+setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:cast(?wxTreebook_SetPageSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer(), ImageId::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebooksetpageimage">external documentation</a>.
+setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId)
+ when is_integer(N),is_integer(ImageId) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_SetPageImage,
+ <<ThisRef:32/?UI,N:32/?UI,ImageId:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer(), StrText::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebooksetpagetext">external documentation</a>.
+setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText)
+ when is_integer(N),is_list(StrText) ->
+ ?CLASS(ThisT,wxTreebook),
+ StrText_UC = unicode:characters_to_binary([StrText,0]),
+ wxe_util:call(?wxTreebook_SetPageText,
+ <<ThisRef:32/?UI,N:32/?UI,(byte_size(StrText_UC)):32/?UI,(StrText_UC)/binary, 0:(((8- ((4+byte_size(StrText_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebooksetselection">external documentation</a>.
+setSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_SetSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook(), N::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreebook.html#wxtreebookchangeselection">external documentation</a>.
+changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
+ when is_integer(N) ->
+ ?CLASS(ThisT,wxTreebook),
+ wxe_util:call(?wxTreebook_ChangeSelection,
+ <<ThisRef:32/?UI,N:32/?UI>>).
+
+%% @spec (This::wxTreebook()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxTreebook),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxControl
+%% @hidden
+setLabel(This,Label) -> wxControl:setLabel(This,Label).
+%% @hidden
+getLabel(This) -> wxControl:getLabel(This).
+ %% From wxWindow
+%% @hidden
+warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
+%% @hidden
+validate(This) -> wxWindow:validate(This).
+%% @hidden
+updateWindowUI(This, Options) -> wxWindow:updateWindowUI(This, Options).
+%% @hidden
+updateWindowUI(This) -> wxWindow:updateWindowUI(This).
+%% @hidden
+update(This) -> wxWindow:update(This).
+%% @hidden
+transferDataToWindow(This) -> wxWindow:transferDataToWindow(This).
+%% @hidden
+transferDataFromWindow(This) -> wxWindow:transferDataFromWindow(This).
+%% @hidden
+thaw(This) -> wxWindow:thaw(This).
+%% @hidden
+show(This, Options) -> wxWindow:show(This, Options).
+%% @hidden
+show(This) -> wxWindow:show(This).
+%% @hidden
+shouldInheritColours(This) -> wxWindow:shouldInheritColours(This).
+%% @hidden
+setWindowVariant(This,Variant) -> wxWindow:setWindowVariant(This,Variant).
+%% @hidden
+setWindowStyleFlag(This,Style) -> wxWindow:setWindowStyleFlag(This,Style).
+%% @hidden
+setWindowStyle(This,Style) -> wxWindow:setWindowStyle(This,Style).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH, Options) -> wxWindow:setVirtualSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setVirtualSizeHints(This,MinW,MinH) -> wxWindow:setVirtualSizeHints(This,MinW,MinH).
+%% @hidden
+setVirtualSizeHints(This,MinSize) -> wxWindow:setVirtualSizeHints(This,MinSize).
+%% @hidden
+setVirtualSize(This,X,Y) -> wxWindow:setVirtualSize(This,X,Y).
+%% @hidden
+setVirtualSize(This,Size) -> wxWindow:setVirtualSize(This,Size).
+%% @hidden
+setToolTip(This,Tip) -> wxWindow:setToolTip(This,Tip).
+%% @hidden
+setThemeEnabled(This,EnableTheme) -> wxWindow:setThemeEnabled(This,EnableTheme).
+%% @hidden
+setSizerAndFit(This,Sizer, Options) -> wxWindow:setSizerAndFit(This,Sizer, Options).
+%% @hidden
+setSizerAndFit(This,Sizer) -> wxWindow:setSizerAndFit(This,Sizer).
+%% @hidden
+setSizer(This,Sizer, Options) -> wxWindow:setSizer(This,Sizer, Options).
+%% @hidden
+setSizer(This,Sizer) -> wxWindow:setSizer(This,Sizer).
+%% @hidden
+setSizeHints(This,MinW,MinH, Options) -> wxWindow:setSizeHints(This,MinW,MinH, Options).
+%% @hidden
+setSizeHints(This,MinW,MinH) -> wxWindow:setSizeHints(This,MinW,MinH).
+%% @hidden
+setSizeHints(This,MinSize) -> wxWindow:setSizeHints(This,MinSize).
+%% @hidden
+setSize(This,X,Y,Width,Height, Options) -> wxWindow:setSize(This,X,Y,Width,Height, Options).
+%% @hidden
+setSize(This,X,Y,Width,Height) -> wxWindow:setSize(This,X,Y,Width,Height).
+%% @hidden
+setSize(This,Width,Height) -> wxWindow:setSize(This,Width,Height).
+%% @hidden
+setSize(This,Rect) -> wxWindow:setSize(This,Rect).
+%% @hidden
+setScrollPos(This,Orient,Pos, Options) -> wxWindow:setScrollPos(This,Orient,Pos, Options).
+%% @hidden
+setScrollPos(This,Orient,Pos) -> wxWindow:setScrollPos(This,Orient,Pos).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range, Options).
+%% @hidden
+setScrollbar(This,Orient,Pos,ThumbVisible,Range) -> wxWindow:setScrollbar(This,Orient,Pos,ThumbVisible,Range).
+%% @hidden
+setPalette(This,Pal) -> wxWindow:setPalette(This,Pal).
+%% @hidden
+setName(This,Name) -> wxWindow:setName(This,Name).
+%% @hidden
+setId(This,Winid) -> wxWindow:setId(This,Winid).
+%% @hidden
+setHelpText(This,Text) -> wxWindow:setHelpText(This,Text).
+%% @hidden
+setForegroundColour(This,Colour) -> wxWindow:setForegroundColour(This,Colour).
+%% @hidden
+setFont(This,Font) -> wxWindow:setFont(This,Font).
+%% @hidden
+setFocusFromKbd(This) -> wxWindow:setFocusFromKbd(This).
+%% @hidden
+setFocus(This) -> wxWindow:setFocus(This).
+%% @hidden
+setExtraStyle(This,ExStyle) -> wxWindow:setExtraStyle(This,ExStyle).
+%% @hidden
+setDropTarget(This,DropTarget) -> wxWindow:setDropTarget(This,DropTarget).
+%% @hidden
+setOwnForegroundColour(This,Colour) -> wxWindow:setOwnForegroundColour(This,Colour).
+%% @hidden
+setOwnFont(This,Font) -> wxWindow:setOwnFont(This,Font).
+%% @hidden
+setOwnBackgroundColour(This,Colour) -> wxWindow:setOwnBackgroundColour(This,Colour).
+%% @hidden
+setMinSize(This,MinSize) -> wxWindow:setMinSize(This,MinSize).
+%% @hidden
+setMaxSize(This,MaxSize) -> wxWindow:setMaxSize(This,MaxSize).
+%% @hidden
+setCursor(This,Cursor) -> wxWindow:setCursor(This,Cursor).
+%% @hidden
+setContainingSizer(This,Sizer) -> wxWindow:setContainingSizer(This,Sizer).
+%% @hidden
+setClientSize(This,Width,Height) -> wxWindow:setClientSize(This,Width,Height).
+%% @hidden
+setClientSize(This,Size) -> wxWindow:setClientSize(This,Size).
+%% @hidden
+setCaret(This,Caret) -> wxWindow:setCaret(This,Caret).
+%% @hidden
+setBackgroundStyle(This,Style) -> wxWindow:setBackgroundStyle(This,Style).
+%% @hidden
+setBackgroundColour(This,Colour) -> wxWindow:setBackgroundColour(This,Colour).
+%% @hidden
+setAutoLayout(This,AutoLayout) -> wxWindow:setAutoLayout(This,AutoLayout).
+%% @hidden
+setAcceleratorTable(This,Accel) -> wxWindow:setAcceleratorTable(This,Accel).
+%% @hidden
+scrollWindow(This,Dx,Dy, Options) -> wxWindow:scrollWindow(This,Dx,Dy, Options).
+%% @hidden
+scrollWindow(This,Dx,Dy) -> wxWindow:scrollWindow(This,Dx,Dy).
+%% @hidden
+scrollPages(This,Pages) -> wxWindow:scrollPages(This,Pages).
+%% @hidden
+scrollLines(This,Lines) -> wxWindow:scrollLines(This,Lines).
+%% @hidden
+screenToClient(This,Pt) -> wxWindow:screenToClient(This,Pt).
+%% @hidden
+screenToClient(This) -> wxWindow:screenToClient(This).
+%% @hidden
+reparent(This,NewParent) -> wxWindow:reparent(This,NewParent).
+%% @hidden
+removeChild(This,Child) -> wxWindow:removeChild(This,Child).
+%% @hidden
+releaseMouse(This) -> wxWindow:releaseMouse(This).
+%% @hidden
+refreshRect(This,Rect, Options) -> wxWindow:refreshRect(This,Rect, Options).
+%% @hidden
+refreshRect(This,Rect) -> wxWindow:refreshRect(This,Rect).
+%% @hidden
+refresh(This, Options) -> wxWindow:refresh(This, Options).
+%% @hidden
+refresh(This) -> wxWindow:refresh(This).
+%% @hidden
+raise(This) -> wxWindow:raise(This).
+%% @hidden
+popupMenu(This,Menu,X,Y) -> wxWindow:popupMenu(This,Menu,X,Y).
+%% @hidden
+popupMenu(This,Menu, Options) -> wxWindow:popupMenu(This,Menu, Options).
+%% @hidden
+popupMenu(This,Menu) -> wxWindow:popupMenu(This,Menu).
+%% @hidden
+popEventHandler(This, Options) -> wxWindow:popEventHandler(This, Options).
+%% @hidden
+popEventHandler(This) -> wxWindow:popEventHandler(This).
+%% @hidden
+pageUp(This) -> wxWindow:pageUp(This).
+%% @hidden
+pageDown(This) -> wxWindow:pageDown(This).
+%% @hidden
+navigate(This, Options) -> wxWindow:navigate(This, Options).
+%% @hidden
+navigate(This) -> wxWindow:navigate(This).
+%% @hidden
+moveBeforeInTabOrder(This,Win) -> wxWindow:moveBeforeInTabOrder(This,Win).
+%% @hidden
+moveAfterInTabOrder(This,Win) -> wxWindow:moveAfterInTabOrder(This,Win).
+%% @hidden
+move(This,X,Y, Options) -> wxWindow:move(This,X,Y, Options).
+%% @hidden
+move(This,X,Y) -> wxWindow:move(This,X,Y).
+%% @hidden
+move(This,Pt) -> wxWindow:move(This,Pt).
+%% @hidden
+makeModal(This, Options) -> wxWindow:makeModal(This, Options).
+%% @hidden
+makeModal(This) -> wxWindow:makeModal(This).
+%% @hidden
+lower(This) -> wxWindow:lower(This).
+%% @hidden
+lineUp(This) -> wxWindow:lineUp(This).
+%% @hidden
+lineDown(This) -> wxWindow:lineDown(This).
+%% @hidden
+layout(This) -> wxWindow:layout(This).
+%% @hidden
+isTopLevel(This) -> wxWindow:isTopLevel(This).
+%% @hidden
+isShown(This) -> wxWindow:isShown(This).
+%% @hidden
+isRetained(This) -> wxWindow:isRetained(This).
+%% @hidden
+isExposed(This,X,Y,W,H) -> wxWindow:isExposed(This,X,Y,W,H).
+%% @hidden
+isExposed(This,X,Y) -> wxWindow:isExposed(This,X,Y).
+%% @hidden
+isExposed(This,Pt) -> wxWindow:isExposed(This,Pt).
+%% @hidden
+isEnabled(This) -> wxWindow:isEnabled(This).
+%% @hidden
+invalidateBestSize(This) -> wxWindow:invalidateBestSize(This).
+%% @hidden
+initDialog(This) -> wxWindow:initDialog(This).
+%% @hidden
+inheritAttributes(This) -> wxWindow:inheritAttributes(This).
+%% @hidden
+hide(This) -> wxWindow:hide(This).
+%% @hidden
+hasTransparentBackground(This) -> wxWindow:hasTransparentBackground(This).
+%% @hidden
+hasScrollbar(This,Orient) -> wxWindow:hasScrollbar(This,Orient).
+%% @hidden
+hasCapture(This) -> wxWindow:hasCapture(This).
+%% @hidden
+getWindowVariant(This) -> wxWindow:getWindowVariant(This).
+%% @hidden
+getWindowStyleFlag(This) -> wxWindow:getWindowStyleFlag(This).
+%% @hidden
+getVirtualSize(This) -> wxWindow:getVirtualSize(This).
+%% @hidden
+getUpdateRegion(This) -> wxWindow:getUpdateRegion(This).
+%% @hidden
+getToolTip(This) -> wxWindow:getToolTip(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxWindow:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxWindow:getTextExtent(This,String).
+%% @hidden
+getSizer(This) -> wxWindow:getSizer(This).
+%% @hidden
+getSize(This) -> wxWindow:getSize(This).
+%% @hidden
+getScrollThumb(This,Orient) -> wxWindow:getScrollThumb(This,Orient).
+%% @hidden
+getScrollRange(This,Orient) -> wxWindow:getScrollRange(This,Orient).
+%% @hidden
+getScrollPos(This,Orient) -> wxWindow:getScrollPos(This,Orient).
+%% @hidden
+getScreenRect(This) -> wxWindow:getScreenRect(This).
+%% @hidden
+getScreenPosition(This) -> wxWindow:getScreenPosition(This).
+%% @hidden
+getRect(This) -> wxWindow:getRect(This).
+%% @hidden
+getPosition(This) -> wxWindow:getPosition(This).
+%% @hidden
+getParent(This) -> wxWindow:getParent(This).
+%% @hidden
+getName(This) -> wxWindow:getName(This).
+%% @hidden
+getMinSize(This) -> wxWindow:getMinSize(This).
+%% @hidden
+getMaxSize(This) -> wxWindow:getMaxSize(This).
+%% @hidden
+getId(This) -> wxWindow:getId(This).
+%% @hidden
+getHelpText(This) -> wxWindow:getHelpText(This).
+%% @hidden
+getHandle(This) -> wxWindow:getHandle(This).
+%% @hidden
+getGrandParent(This) -> wxWindow:getGrandParent(This).
+%% @hidden
+getForegroundColour(This) -> wxWindow:getForegroundColour(This).
+%% @hidden
+getFont(This) -> wxWindow:getFont(This).
+%% @hidden
+getExtraStyle(This) -> wxWindow:getExtraStyle(This).
+%% @hidden
+getEventHandler(This) -> wxWindow:getEventHandler(This).
+%% @hidden
+getDropTarget(This) -> wxWindow:getDropTarget(This).
+%% @hidden
+getCursor(This) -> wxWindow:getCursor(This).
+%% @hidden
+getContainingSizer(This) -> wxWindow:getContainingSizer(This).
+%% @hidden
+getClientSize(This) -> wxWindow:getClientSize(This).
+%% @hidden
+getChildren(This) -> wxWindow:getChildren(This).
+%% @hidden
+getCharWidth(This) -> wxWindow:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxWindow:getCharHeight(This).
+%% @hidden
+getCaret(This) -> wxWindow:getCaret(This).
+%% @hidden
+getBestSize(This) -> wxWindow:getBestSize(This).
+%% @hidden
+getBackgroundStyle(This) -> wxWindow:getBackgroundStyle(This).
+%% @hidden
+getBackgroundColour(This) -> wxWindow:getBackgroundColour(This).
+%% @hidden
+getAcceleratorTable(This) -> wxWindow:getAcceleratorTable(This).
+%% @hidden
+freeze(This) -> wxWindow:freeze(This).
+%% @hidden
+fitInside(This) -> wxWindow:fitInside(This).
+%% @hidden
+fit(This) -> wxWindow:fit(This).
+%% @hidden
+findWindow(This,Winid) -> wxWindow:findWindow(This,Winid).
+%% @hidden
+enable(This, Options) -> wxWindow:enable(This, Options).
+%% @hidden
+enable(This) -> wxWindow:enable(This).
+%% @hidden
+disable(This) -> wxWindow:disable(This).
+%% @hidden
+destroyChildren(This) -> wxWindow:destroyChildren(This).
+%% @hidden
+convertPixelsToDialog(This,Sz) -> wxWindow:convertPixelsToDialog(This,Sz).
+%% @hidden
+convertDialogToPixels(This,Sz) -> wxWindow:convertDialogToPixels(This,Sz).
+%% @hidden
+close(This, Options) -> wxWindow:close(This, Options).
+%% @hidden
+close(This) -> wxWindow:close(This).
+%% @hidden
+clientToScreen(This,X,Y) -> wxWindow:clientToScreen(This,X,Y).
+%% @hidden
+clientToScreen(This,Pt) -> wxWindow:clientToScreen(This,Pt).
+%% @hidden
+clearBackground(This) -> wxWindow:clearBackground(This).
+%% @hidden
+centreOnParent(This, Options) -> wxWindow:centreOnParent(This, Options).
+%% @hidden
+centreOnParent(This) -> wxWindow:centreOnParent(This).
+%% @hidden
+centre(This, Options) -> wxWindow:centre(This, Options).
+%% @hidden
+centre(This) -> wxWindow:centre(This).
+%% @hidden
+centerOnParent(This, Options) -> wxWindow:centerOnParent(This, Options).
+%% @hidden
+centerOnParent(This) -> wxWindow:centerOnParent(This).
+%% @hidden
+center(This, Options) -> wxWindow:center(This, Options).
+%% @hidden
+center(This) -> wxWindow:center(This).
+%% @hidden
+captureMouse(This) -> wxWindow:captureMouse(This).
+%% @hidden
+cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxUpdateUIEvent.erl b/lib/wx/src/gen/wxUpdateUIEvent.erl
new file mode 100644
index 0000000000..eddccd3575
--- /dev/null
+++ b/lib/wx/src/gen/wxUpdateUIEvent.erl
@@ -0,0 +1,219 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html">wxUpdateUIEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>update_ui</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxUpdateUI(). #wxUpdateUI{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxUpdateUIEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxUpdateUIEvent).
+-include("wxe.hrl").
+-export([canUpdate/1,check/2,enable/2,getChecked/1,getEnabled/1,getMode/0,getSetChecked/1,
+ getSetEnabled/1,getSetShown/1,getSetText/1,getShown/1,getText/1,getUpdateInterval/0,
+ resetUpdateTime/0,setMode/1,setText/2,setUpdateInterval/1,show/2]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec (Win::wxWindow:wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventcanupdate">external documentation</a>.
+canUpdate(#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(WinT,wxWindow),
+ wxe_util:call(?wxUpdateUIEvent_CanUpdate,
+ <<WinRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent(), Check::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventcheck">external documentation</a>.
+check(#wx_ref{type=ThisT,ref=ThisRef},Check)
+ when is_boolean(Check) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:cast(?wxUpdateUIEvent_Check,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Check)):32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent(), Enable::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef},Enable)
+ when is_boolean(Enable) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:cast(?wxUpdateUIEvent_Enable,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent(), Show::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef},Show)
+ when is_boolean(Show) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:cast(?wxUpdateUIEvent_Show,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetchecked">external documentation</a>.
+getChecked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetChecked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetenabled">external documentation</a>.
+getEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetshown">external documentation</a>.
+getShown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetShown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetsetchecked">external documentation</a>.
+getSetChecked(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetSetChecked,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetsetenabled">external documentation</a>.
+getSetEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetSetEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetsetshown">external documentation</a>.
+getSetShown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetSetShown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetsettext">external documentation</a>.
+getSetText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetSetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgettext">external documentation</a>.
+getText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ wxe_util:call(?wxUpdateUIEvent_GetText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> WxUpdateUIMode
+%% WxUpdateUIMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetmode">external documentation</a>.
+%%<br /> WxUpdateUIMode is one of ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED
+getMode() ->
+ wxe_util:call(?wxUpdateUIEvent_GetMode,
+ <<>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventgetupdateinterval">external documentation</a>.
+getUpdateInterval() ->
+ wxe_util:call(?wxUpdateUIEvent_GetUpdateInterval,
+ <<>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventresetupdatetime">external documentation</a>.
+resetUpdateTime() ->
+ wxe_util:cast(?wxUpdateUIEvent_ResetUpdateTime,
+ <<>>).
+
+%% @spec (Mode::WxUpdateUIMode) -> ok
+%% WxUpdateUIMode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventsetmode">external documentation</a>.
+%%<br /> WxUpdateUIMode is one of ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED
+setMode(Mode)
+ when is_integer(Mode) ->
+ wxe_util:cast(?wxUpdateUIEvent_SetMode,
+ <<Mode:32/?UI>>).
+
+%% @spec (This::wxUpdateUIEvent(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventsettext">external documentation</a>.
+setText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxUpdateUIEvent),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxUpdateUIEvent_SetText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (UpdateInterval::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxupdateuievent.html#wxupdateuieventsetupdateinterval">external documentation</a>.
+setUpdateInterval(UpdateInterval)
+ when is_integer(UpdateInterval) ->
+ wxe_util:cast(?wxUpdateUIEvent_SetUpdateInterval,
+ <<UpdateInterval:32/?UI>>).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl
new file mode 100644
index 0000000000..d431696660
--- /dev/null
+++ b/lib/wx/src/gen/wxWindow.erl
@@ -0,0 +1,1708 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html">wxWindow</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxEvtHandler}
+%% </p>
+%% @type wxWindow(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxWindow).
+-include("wxe.hrl").
+-export(['Destroy'/1,cacheBestSize/2,captureMouse/1,center/1,center/2,centerOnParent/1,
+ centerOnParent/2,centre/1,centre/2,centreOnParent/1,centreOnParent/2,
+ clearBackground/1,clientToScreen/2,clientToScreen/3,close/1,close/2,
+ convertDialogToPixels/2,convertPixelsToDialog/2,destroy/1,destroyChildren/1,
+ disable/1,enable/1,enable/2,findFocus/0,findWindow/2,findWindowById/1,
+ findWindowById/2,findWindowByLabel/1,findWindowByLabel/2,findWindowByName/1,
+ findWindowByName/2,fit/1,fitInside/1,freeze/1,getAcceleratorTable/1,
+ getBackgroundColour/1,getBackgroundStyle/1,getBestSize/1,getCapture/0,
+ getCaret/1,getCharHeight/1,getCharWidth/1,getChildren/1,getClientSize/1,
+ getContainingSizer/1,getCursor/1,getDropTarget/1,getEventHandler/1,
+ getExtraStyle/1,getFont/1,getForegroundColour/1,getGrandParent/1,
+ getHandle/1,getHelpText/1,getId/1,getLabel/1,getMaxSize/1,getMinSize/1,
+ getName/1,getParent/1,getPosition/1,getRect/1,getScreenPosition/1,
+ getScreenRect/1,getScrollPos/2,getScrollRange/2,getScrollThumb/2,
+ getSize/1,getSizer/1,getTextExtent/2,getTextExtent/3,getToolTip/1,
+ getUpdateRegion/1,getVirtualSize/1,getWindowStyleFlag/1,getWindowVariant/1,
+ hasCapture/1,hasScrollbar/2,hasTransparentBackground/1,hide/1,inheritAttributes/1,
+ initDialog/1,invalidateBestSize/1,isEnabled/1,isExposed/2,isExposed/3,
+ isExposed/5,isRetained/1,isShown/1,isTopLevel/1,layout/1,lineDown/1,
+ lineUp/1,lower/1,makeModal/1,makeModal/2,move/2,move/3,move/4,moveAfterInTabOrder/2,
+ moveBeforeInTabOrder/2,navigate/1,navigate/2,new/0,new/2,new/3,pageDown/1,
+ pageUp/1,popEventHandler/1,popEventHandler/2,popupMenu/2,popupMenu/3,
+ popupMenu/4,raise/1,refresh/1,refresh/2,refreshRect/2,refreshRect/3,
+ releaseMouse/1,removeChild/2,reparent/2,screenToClient/1,screenToClient/2,
+ scrollLines/2,scrollPages/2,scrollWindow/3,scrollWindow/4,setAcceleratorTable/2,
+ setAutoLayout/2,setBackgroundColour/2,setBackgroundStyle/2,setCaret/2,
+ setClientSize/2,setClientSize/3,setContainingSizer/2,setCursor/2,
+ setDropTarget/2,setExtraStyle/2,setFocus/1,setFocusFromKbd/1,setFont/2,
+ setForegroundColour/2,setHelpText/2,setId/2,setLabel/2,setMaxSize/2,
+ setMinSize/2,setName/2,setOwnBackgroundColour/2,setOwnFont/2,setOwnForegroundColour/2,
+ setPalette/2,setScrollPos/3,setScrollPos/4,setScrollbar/5,setScrollbar/6,
+ setSize/2,setSize/3,setSize/5,setSize/6,setSizeHints/2,setSizeHints/3,
+ setSizeHints/4,setSizer/2,setSizer/3,setSizerAndFit/2,setSizerAndFit/3,
+ setThemeEnabled/2,setToolTip/2,setVirtualSize/2,setVirtualSize/3,
+ setVirtualSizeHints/2,setVirtualSizeHints/3,setVirtualSizeHints/4,
+ setWindowStyle/2,setWindowStyleFlag/2,setWindowVariant/2,shouldInheritColours/1,
+ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,
+ update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]).
+
+%% inherited exports
+-export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]).
+
+%% @hidden
+parent_class(wxEvtHandler) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowwxwindow">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxWindow_new_0,
+ <<>>).
+
+%% @spec (Parent::wxWindow(), Id::integer()) -> wxWindow()
+%% @equiv new(Parent,Id, [])
+new(Parent,Id)
+ when is_record(Parent, wx_ref),is_integer(Id) ->
+ new(Parent,Id, []).
+
+%% @spec (Parent::wxWindow(), Id::integer(), [Option]) -> wxWindow()
+%% Option = {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowwxwindow">external documentation</a>.
+new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
+ when is_integer(Id),is_list(Options) ->
+ ?CLASS(ParentT,wxWindow),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ ({size, {SizeW,SizeH}}, Acc) -> [<<2:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc];
+ ({style, Style}, Acc) -> [<<3:32/?UI,Style:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxWindow_new_3,
+ <<ParentRef:32/?UI,Id:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcachebestsize">external documentation</a>.
+cacheBestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_CacheBestSize,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcapturemouse">external documentation</a>.
+captureMouse(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_CaptureMouse,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv center(This, [])
+center(This)
+ when is_record(This, wx_ref) ->
+ center(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcenter">external documentation</a>.
+center(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_Center,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv centerOnParent(This, [])
+centerOnParent(This)
+ when is_record(This, wx_ref) ->
+ centerOnParent(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcenteronparent">external documentation</a>.
+centerOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_CenterOnParent,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv centre(This, [])
+centre(This)
+ when is_record(This, wx_ref) ->
+ centre(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcentre">external documentation</a>.
+centre(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_Centre,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv centreOnParent(This, [])
+centreOnParent(This)
+ when is_record(This, wx_ref) ->
+ centreOnParent(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {dir, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowcentreonparent">external documentation</a>.
+centreOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({dir, Dir}, Acc) -> [<<1:32/?UI,Dir:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_CentreOnParent,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowclearbackground">external documentation</a>.
+clearBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_ClearBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Pt::{X::integer(),Y::integer()}) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowclienttoscreen">external documentation</a>.
+clientToScreen(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ClientToScreen_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowclienttoscreen">external documentation</a>.
+clientToScreen(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ClientToScreen_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @equiv close(This, [])
+close(This)
+ when is_record(This, wx_ref) ->
+ close(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> bool()
+%% Option = {force, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowclose">external documentation</a>.
+close(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({force, Force}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Force)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_Close,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Sz::{W::integer(),H::integer()}) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowconvertdialogtopixels">external documentation</a>.
+convertDialogToPixels(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH})
+ when is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ConvertDialogToPixels,
+ <<ThisRef:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxWindow(), Sz::{W::integer(),H::integer()}) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowconvertpixelstodialog">external documentation</a>.
+convertPixelsToDialog(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH})
+ when is_integer(SzW),is_integer(SzH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ConvertPixelsToDialog,
+ <<ThisRef:32/?UI,SzW:32/?UI,SzH:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowdestroy">external documentation</a>.
+'Destroy'(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_Destroy,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowdestroychildren">external documentation</a>.
+destroyChildren(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_DestroyChildren,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowdisable">external documentation</a>.
+disable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_Disable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @equiv enable(This, [])
+enable(This)
+ when is_record(This, wx_ref) ->
+ enable(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> bool()
+%% Option = {enable, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowenable">external documentation</a>.
+enable(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({enable, Enable}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Enable)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_Enable,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec () -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfindfocus">external documentation</a>.
+findFocus() ->
+ wxe_util:call(?wxWindow_FindFocus,
+ <<>>).
+
+%% @spec (This::wxWindow(),X::integer()|string()) -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfindwindow">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% findWindow(This::wxWindow(), Winid::integer()) -> wxWindow() </c>
+%% </p>
+%% <p><c>
+%% findWindow(This::wxWindow(), Name::string()) -> wxWindow() </c>
+%% </p>
+findWindow(#wx_ref{type=ThisT,ref=ThisRef},Winid)
+ when is_integer(Winid) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_FindWindow_1_0,
+ <<ThisRef:32/?UI,Winid:32/?UI>>);
+findWindow(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxWindow_FindWindow_1_1,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (Winid::integer()) -> wxWindow()
+%% @equiv findWindowById(Winid, [])
+findWindowById(Winid)
+ when is_integer(Winid) ->
+ findWindowById(Winid, []).
+
+%% @spec (Winid::integer(), [Option]) -> wxWindow()
+%% Option = {parent, wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfindwindowbyid">external documentation</a>.
+findWindowById(Winid, Options)
+ when is_integer(Winid),is_list(Options) ->
+ MOpts = fun({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<1:32/?UI,ParentRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_FindWindowById,
+ <<Winid:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (Name::string()) -> wxWindow()
+%% @equiv findWindowByName(Name, [])
+findWindowByName(Name)
+ when is_list(Name) ->
+ findWindowByName(Name, []).
+
+%% @spec (Name::string(), [Option]) -> wxWindow()
+%% Option = {parent, wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfindwindowbyname">external documentation</a>.
+findWindowByName(Name, Options)
+ when is_list(Name),is_list(Options) ->
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ MOpts = fun({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<1:32/?UI,ParentRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_FindWindowByName,
+ <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (Label::string()) -> wxWindow()
+%% @equiv findWindowByLabel(Label, [])
+findWindowByLabel(Label)
+ when is_list(Label) ->
+ findWindowByLabel(Label, []).
+
+%% @spec (Label::string(), [Option]) -> wxWindow()
+%% Option = {parent, wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfindwindowbylabel">external documentation</a>.
+findWindowByLabel(Label, Options)
+ when is_list(Label),is_list(Options) ->
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ MOpts = fun({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<1:32/?UI,ParentRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_FindWindowByLabel,
+ <<(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfit">external documentation</a>.
+fit(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Fit,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfitinside">external documentation</a>.
+fitInside(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_FitInside,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowfreeze">external documentation</a>.
+freeze(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Freeze,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxAcceleratorTable:wxAcceleratorTable()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetacceleratortable">external documentation</a>.
+getAcceleratorTable(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetAcceleratorTable,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetbackgroundcolour">external documentation</a>.
+getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetBackgroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> WxBackgroundStyle
+%% WxBackgroundStyle = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetbackgroundstyle">external documentation</a>.
+%%<br /> WxBackgroundStyle is one of ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
+getBackgroundStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetBackgroundStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetbestsize">external documentation</a>.
+getBestSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetBestSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxCaret:wxCaret()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcaret">external documentation</a>.
+getCaret(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetCaret,
+ <<ThisRef:32/?UI>>).
+
+%% @spec () -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcapture">external documentation</a>.
+getCapture() ->
+ wxe_util:call(?wxWindow_GetCapture,
+ <<>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcharheight">external documentation</a>.
+getCharHeight(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetCharHeight,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcharwidth">external documentation</a>.
+getCharWidth(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetCharWidth,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> [wxWindow()]
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetchildren">external documentation</a>.
+getChildren(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetChildren,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetclientsize">external documentation</a>.
+getClientSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetClientSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxSizer:wxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcontainingsizer">external documentation</a>.
+getContainingSizer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetContainingSizer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxCursor:wxCursor()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetcursor">external documentation</a>.
+getCursor(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetCursor,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxDropTarget:wxDropTarget()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetdroptarget">external documentation</a>.
+getDropTarget(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetDropTarget,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxEvtHandler:wxEvtHandler()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgeteventhandler">external documentation</a>.
+getEventHandler(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetEventHandler,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetextrastyle">external documentation</a>.
+getExtraStyle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetExtraStyle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxFont:wxFont()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetfont">external documentation</a>.
+getFont(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetFont,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wx:colour()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetforegroundcolour">external documentation</a>.
+getForegroundColour(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetForegroundColour,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetgrandparent">external documentation</a>.
+getGrandParent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetGrandParent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgethandle">external documentation</a>.
+getHandle(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetHandle,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgethelptext">external documentation</a>.
+getHelpText(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetHelpText,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetid">external documentation</a>.
+getId(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetId,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetlabel">external documentation</a>.
+getLabel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetLabel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetmaxsize">external documentation</a>.
+getMaxSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetMaxSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetminsize">external documentation</a>.
+getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetMinSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetname">external documentation</a>.
+getName(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetName,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetparent">external documentation</a>.
+getParent(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetParent,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetposition">external documentation</a>.
+getPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetrect">external documentation</a>.
+getRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetscreenposition">external documentation</a>.
+getScreenPosition(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetScreenPosition,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {X::integer(),Y::integer(),W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetscreenrect">external documentation</a>.
+getScreenRect(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetScreenRect,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Orient::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetscrollpos">external documentation</a>.
+getScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetScrollPos,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxWindow(), Orient::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetscrollrange">external documentation</a>.
+getScrollRange(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetScrollRange,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxWindow(), Orient::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetscrollthumb">external documentation</a>.
+getScrollThumb(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetScrollThumb,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetsize">external documentation</a>.
+getSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxSizer:wxSizer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetsizer">external documentation</a>.
+getSizer(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetSizer,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), String::string()) -> {X::integer(),Y::integer(),Descent::integer(),ExternalLeading::integer()}
+%% @equiv getTextExtent(This,String, [])
+getTextExtent(This,String)
+ when is_record(This, wx_ref),is_list(String) ->
+ getTextExtent(This,String, []).
+
+%% @spec (This::wxWindow(), String::string(), [Option]) -> {X::integer(),Y::integer(),Descent::integer(),ExternalLeading::integer()}
+%% Option = {theFont, wxFont:wxFont()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgettextextent">external documentation</a>.
+getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options)
+ when is_list(String),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ String_UC = unicode:characters_to_binary([String,0]),
+ MOpts = fun({theFont, #wx_ref{type=TheFontT,ref=TheFontRef}}, Acc) -> ?CLASS(TheFontT,wxFont),[<<1:32/?UI,TheFontRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_GetTextExtent,
+ <<ThisRef:32/?UI,(byte_size(String_UC)):32/?UI,(String_UC)/binary, 0:(((8- ((0+byte_size(String_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> wxToolTip:wxToolTip()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgettooltip">external documentation</a>.
+getToolTip(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetToolTip,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxRegion:wxRegion()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetupdateregion">external documentation</a>.
+getUpdateRegion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetUpdateRegion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {W::integer(),H::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetvirtualsize">external documentation</a>.
+getVirtualSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetVirtualSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetwindowstyleflag">external documentation</a>.
+getWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetWindowStyleFlag,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> WxWindowVariant
+%% WxWindowVariant = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowgetwindowvariant">external documentation</a>.
+%%<br /> WxWindowVariant is one of ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
+getWindowVariant(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_GetWindowVariant,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowhascapture">external documentation</a>.
+hasCapture(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_HasCapture,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Orient::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowhasscrollbar">external documentation</a>.
+hasScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Orient)
+ when is_integer(Orient) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_HasScrollbar,
+ <<ThisRef:32/?UI,Orient:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowhastransparentbackground">external documentation</a>.
+hasTransparentBackground(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_HasTransparentBackground,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowhide">external documentation</a>.
+hide(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_Hide,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowinheritattributes">external documentation</a>.
+inheritAttributes(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_InheritAttributes,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowinitdialog">external documentation</a>.
+initDialog(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_InitDialog,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowinvalidatebestsize">external documentation</a>.
+invalidateBestSize(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_InvalidateBestSize,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisenabled">external documentation</a>.
+isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsEnabled,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(),X::term()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisexposed">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% isExposed(This::wxWindow(), Pt::{X::integer(),Y::integer()}) -> bool() </c>
+%% </p>
+%% <p><c>
+%% isExposed(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> bool() </c>
+%% </p>
+isExposed(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsExposed_1_0,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>);
+isExposed(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsExposed_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisexposed">external documentation</a>.
+isExposed(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsExposed_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisexposed">external documentation</a>.
+isExposed(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
+ when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsExposed_4,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisretained">external documentation</a>.
+isRetained(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsRetained,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowisshown">external documentation</a>.
+isShown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsShown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowistoplevel">external documentation</a>.
+isTopLevel(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_IsTopLevel,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowlayout">external documentation</a>.
+layout(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_Layout,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowlinedown">external documentation</a>.
+lineDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_LineDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowlineup">external documentation</a>.
+lineUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_LineUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowlower">external documentation</a>.
+lower(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Lower,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv makeModal(This, [])
+makeModal(This)
+ when is_record(This, wx_ref) ->
+ makeModal(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {modal, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowmakemodal">external documentation</a>.
+makeModal(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({modal, Modal}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Modal)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_MakeModal,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Pt::{X::integer(),Y::integer()}) -> ok
+%% @equiv move(This,Pt, [])
+move(This,Pt={PtX,PtY})
+ when is_record(This, wx_ref),is_integer(PtX),is_integer(PtY) ->
+ move(This,Pt, []).
+
+%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowmove">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% move(This::wxWindow(), X::integer(), Y::integer()) -> move(This,X,Y, []) </c></p>
+%% <p><c>
+%% move(This::wxWindow(), Pt::{X::integer(),Y::integer()}, [Option]) -> ok </c>
+%%<br /> Option = {flags, integer()}
+%% </p>
+
+move(This,X,Y)
+ when is_record(This, wx_ref),is_integer(X),is_integer(Y) ->
+ move(This,X,Y, []);
+move(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}, Options)
+ when is_integer(PtX),is_integer(PtY),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_Move_2,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer(), [Option]) -> ok
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowmove">external documentation</a>.
+move(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options)
+ when is_integer(X),is_integer(Y),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_Move_3,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Win::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowmoveafterintaborder">external documentation</a>.
+moveAfterInTabOrder(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(WinT,wxWindow),
+ wxe_util:cast(?wxWindow_MoveAfterInTabOrder,
+ <<ThisRef:32/?UI,WinRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Win::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowmovebeforeintaborder">external documentation</a>.
+moveBeforeInTabOrder(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(WinT,wxWindow),
+ wxe_util:cast(?wxWindow_MoveBeforeInTabOrder,
+ <<ThisRef:32/?UI,WinRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @equiv navigate(This, [])
+navigate(This)
+ when is_record(This, wx_ref) ->
+ navigate(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> bool()
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindownavigate">external documentation</a>.
+navigate(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_Navigate,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowpagedown">external documentation</a>.
+pageDown(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_PageDown,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowpageup">external documentation</a>.
+pageUp(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_PageUp,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> wxEvtHandler:wxEvtHandler()
+%% @equiv popEventHandler(This, [])
+popEventHandler(This)
+ when is_record(This, wx_ref) ->
+ popEventHandler(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> wxEvtHandler:wxEvtHandler()
+%% Option = {deleteHandler, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowpopeventhandler">external documentation</a>.
+popEventHandler(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({deleteHandler, DeleteHandler}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(DeleteHandler)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_PopEventHandler,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu()) -> bool()
+%% @equiv popupMenu(This,Menu, [])
+popupMenu(This,Menu)
+ when is_record(This, wx_ref),is_record(Menu, wx_ref) ->
+ popupMenu(This,Menu, []).
+
+%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu(), [Option]) -> bool()
+%% Option = {pos, {X::integer(),Y::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowpopupmenu">external documentation</a>.
+popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(MenuT,wxMenu),
+ MOpts = fun({pos, {PosX,PosY}}, Acc) -> [<<1:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_PopupMenu_2,
+ <<ThisRef:32/?UI,MenuRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu(), X::integer(), Y::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowpopupmenu">external documentation</a>.
+popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(MenuT,wxMenu),
+ wxe_util:call(?wxWindow_PopupMenu_3,
+ <<ThisRef:32/?UI,MenuRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowraise">external documentation</a>.
+raise(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Raise,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv refresh(This, [])
+refresh(This)
+ when is_record(This, wx_ref) ->
+ refresh(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {eraseBackground, bool()} | {rect, {X::integer(),Y::integer(),W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowrefresh">external documentation</a>.
+refresh(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({eraseBackground, EraseBackground}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(EraseBackground)):32/?UI>>|Acc];
+ ({rect, {RectX,RectY,RectW,RectH}}, Acc) -> [<<2:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_Refresh,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok
+%% @equiv refreshRect(This,Rect, [])
+refreshRect(This,Rect={RectX,RectY,RectW,RectH})
+ when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ refreshRect(This,Rect, []).
+
+%% @spec (This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, [Option]) -> ok
+%% Option = {eraseBackground, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowrefreshrect">external documentation</a>.
+refreshRect(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}, Options)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({eraseBackground, EraseBackground}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(EraseBackground)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_RefreshRect,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowreleasemouse">external documentation</a>.
+releaseMouse(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_ReleaseMouse,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Child::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowremovechild">external documentation</a>.
+removeChild(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ChildT,ref=ChildRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(ChildT,wxWindow),
+ wxe_util:cast(?wxWindow_RemoveChild,
+ <<ThisRef:32/?UI,ChildRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), NewParent::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowreparent">external documentation</a>.
+reparent(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=NewParentT,ref=NewParentRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(NewParentT,wxWindow),
+ wxe_util:call(?wxWindow_Reparent,
+ <<ThisRef:32/?UI,NewParentRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowscreentoclient">external documentation</a>.
+screenToClient(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ScreenToClient_2,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Pt::{X::integer(),Y::integer()}) -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowscreentoclient">external documentation</a>.
+screenToClient(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ScreenToClient_1,
+ <<ThisRef:32/?UI,PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (This::wxWindow(), Lines::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowscrolllines">external documentation</a>.
+scrollLines(#wx_ref{type=ThisT,ref=ThisRef},Lines)
+ when is_integer(Lines) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ScrollLines,
+ <<ThisRef:32/?UI,Lines:32/?UI>>).
+
+%% @spec (This::wxWindow(), Pages::integer()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowscrollpages">external documentation</a>.
+scrollPages(#wx_ref{type=ThisT,ref=ThisRef},Pages)
+ when is_integer(Pages) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ScrollPages,
+ <<ThisRef:32/?UI,Pages:32/?UI>>).
+
+%% @spec (This::wxWindow(), Dx::integer(), Dy::integer()) -> ok
+%% @equiv scrollWindow(This,Dx,Dy, [])
+scrollWindow(This,Dx,Dy)
+ when is_record(This, wx_ref),is_integer(Dx),is_integer(Dy) ->
+ scrollWindow(This,Dx,Dy, []).
+
+%% @spec (This::wxWindow(), Dx::integer(), Dy::integer(), [Option]) -> ok
+%% Option = {rect, {X::integer(),Y::integer(),W::integer(),H::integer()}}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowscrollwindow">external documentation</a>.
+scrollWindow(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy, Options)
+ when is_integer(Dx),is_integer(Dy),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({rect, {RectX,RectY,RectW,RectH}}, Acc) -> [<<1:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_ScrollWindow,
+ <<ThisRef:32/?UI,Dx:32/?UI,Dy:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Accel::wxAcceleratorTable:wxAcceleratorTable()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetacceleratortable">external documentation</a>.
+setAcceleratorTable(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=AccelT,ref=AccelRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(AccelT,wxAcceleratorTable),
+ wxe_util:cast(?wxWindow_SetAcceleratorTable,
+ <<ThisRef:32/?UI,AccelRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), AutoLayout::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetautolayout">external documentation</a>.
+setAutoLayout(#wx_ref{type=ThisT,ref=ThisRef},AutoLayout)
+ when is_boolean(AutoLayout) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetAutoLayout,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(AutoLayout)):32/?UI>>).
+
+%% @spec (This::wxWindow(), Colour::wx:colour()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetbackgroundcolour">external documentation</a>.
+setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_SetBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxWindow(), Style::WxBackgroundStyle) -> bool()
+%% WxBackgroundStyle = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetbackgroundstyle">external documentation</a>.
+%%<br /> WxBackgroundStyle is one of ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM
+setBackgroundStyle(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_SetBackgroundStyle,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxWindow(), Caret::wxCaret:wxCaret()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetcaret">external documentation</a>.
+setCaret(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CaretT,ref=CaretRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(CaretT,wxCaret),
+ wxe_util:cast(?wxWindow_SetCaret,
+ <<ThisRef:32/?UI,CaretRef:32/?UI>>).
+
+%% @spec (This::wxWindow(),X::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetclientsize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setClientSize(This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok </c>
+%% </p>
+%% <p><c>
+%% setClientSize(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok </c>
+%% </p>
+setClientSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetClientSize_1_0,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>);
+setClientSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH})
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetClientSize_1_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI>>).
+
+%% @spec (This::wxWindow(), Width::integer(), Height::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetclientsize">external documentation</a>.
+setClientSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetClientSize_2,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>).
+
+%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetcontainingsizer">external documentation</a>.
+setContainingSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(SizerT,wxSizer),
+ wxe_util:cast(?wxWindow_SetContainingSizer,
+ <<ThisRef:32/?UI,SizerRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Cursor::wxCursor:wxCursor()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetcursor">external documentation</a>.
+setCursor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CursorT,ref=CursorRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(CursorT,wxCursor),
+ wxe_util:call(?wxWindow_SetCursor,
+ <<ThisRef:32/?UI,CursorRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), MaxSize::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetmaxsize">external documentation</a>.
+setMaxSize(#wx_ref{type=ThisT,ref=ThisRef},{MaxSizeW,MaxSizeH})
+ when is_integer(MaxSizeW),is_integer(MaxSizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetMaxSize,
+ <<ThisRef:32/?UI,MaxSizeW:32/?UI,MaxSizeH:32/?UI>>).
+
+%% @spec (This::wxWindow(), MinSize::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetminsize">external documentation</a>.
+setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH})
+ when is_integer(MinSizeW),is_integer(MinSizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetMinSize,
+ <<ThisRef:32/?UI,MinSizeW:32/?UI,MinSizeH:32/?UI>>).
+
+%% @spec (This::wxWindow(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetownbackgroundcolour">external documentation</a>.
+setOwnBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetOwnBackgroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxWindow(), Font::wxFont:wxFont()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetownfont">external documentation</a>.
+setOwnFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(FontT,wxFont),
+ wxe_util:cast(?wxWindow_SetOwnFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Colour::wx:colour()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetownforegroundcolour">external documentation</a>.
+setOwnForegroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetOwnForegroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxWindow(), DropTarget::wxDropTarget:wxDropTarget()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetdroptarget">external documentation</a>.
+setDropTarget(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DropTargetT,ref=DropTargetRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(DropTargetT,wxDropTarget),
+ wxe_util:cast(?wxWindow_SetDropTarget,
+ <<ThisRef:32/?UI,DropTargetRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), ExStyle::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetextrastyle">external documentation</a>.
+setExtraStyle(#wx_ref{type=ThisT,ref=ThisRef},ExStyle)
+ when is_integer(ExStyle) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetExtraStyle,
+ <<ThisRef:32/?UI,ExStyle:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetfocus">external documentation</a>.
+setFocus(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetFocus,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetfocusfromkbd">external documentation</a>.
+setFocusFromKbd(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetFocusFromKbd,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Font::wxFont:wxFont()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetfont">external documentation</a>.
+setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(FontT,wxFont),
+ wxe_util:call(?wxWindow_SetFont,
+ <<ThisRef:32/?UI,FontRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Colour::wx:colour()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetforegroundcolour">external documentation</a>.
+setForegroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour)
+ when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_SetForegroundColour,
+ <<ThisRef:32/?UI,(wxe_util:colour_bin(Colour)):16/binary>>).
+
+%% @spec (This::wxWindow(), Text::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsethelptext">external documentation</a>.
+setHelpText(#wx_ref{type=ThisT,ref=ThisRef},Text)
+ when is_list(Text) ->
+ ?CLASS(ThisT,wxWindow),
+ Text_UC = unicode:characters_to_binary([Text,0]),
+ wxe_util:cast(?wxWindow_SetHelpText,
+ <<ThisRef:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxWindow(), Winid::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetid">external documentation</a>.
+setId(#wx_ref{type=ThisT,ref=ThisRef},Winid)
+ when is_integer(Winid) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetId,
+ <<ThisRef:32/?UI,Winid:32/?UI>>).
+
+%% @spec (This::wxWindow(), Label::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetlabel">external documentation</a>.
+setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label)
+ when is_list(Label) ->
+ ?CLASS(ThisT,wxWindow),
+ Label_UC = unicode:characters_to_binary([Label,0]),
+ wxe_util:cast(?wxWindow_SetLabel,
+ <<ThisRef:32/?UI,(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((0+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxWindow(), Name::string()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetname">external documentation</a>.
+setName(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:cast(?wxWindow_SetName,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxWindow(), Pal::wxPalette:wxPalette()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetpalette">external documentation</a>.
+setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PalT,ref=PalRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(PalT,wxPalette),
+ wxe_util:cast(?wxWindow_SetPalette,
+ <<ThisRef:32/?UI,PalRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer()) -> ok
+%% @equiv setScrollbar(This,Orient,Pos,ThumbVisible,Range, [])
+setScrollbar(This,Orient,Pos,ThumbVisible,Range)
+ when is_record(This, wx_ref),is_integer(Orient),is_integer(Pos),is_integer(ThumbVisible),is_integer(Range) ->
+ setScrollbar(This,Orient,Pos,ThumbVisible,Range, []).
+
+%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer(), [Option]) -> ok
+%% Option = {refresh, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetscrollbar">external documentation</a>.
+setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos,ThumbVisible,Range, Options)
+ when is_integer(Orient),is_integer(Pos),is_integer(ThumbVisible),is_integer(Range),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({refresh, Refresh}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Refresh)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetScrollbar,
+ <<ThisRef:32/?UI,Orient:32/?UI,Pos:32/?UI,ThumbVisible:32/?UI,Range:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Orient::integer(), Pos::integer()) -> ok
+%% @equiv setScrollPos(This,Orient,Pos, [])
+setScrollPos(This,Orient,Pos)
+ when is_record(This, wx_ref),is_integer(Orient),is_integer(Pos) ->
+ setScrollPos(This,Orient,Pos, []).
+
+%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), [Option]) -> ok
+%% Option = {refresh, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetscrollpos">external documentation</a>.
+setScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos, Options)
+ when is_integer(Orient),is_integer(Pos),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({refresh, Refresh}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Refresh)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetScrollPos,
+ <<ThisRef:32/?UI,Orient:32/?UI,Pos:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(),X::term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setSize(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> setSize(This,Rect, []) </c></p>
+%% <p><c>
+%% setSize(This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok </c>
+%% </p>
+
+setSize(This,Rect={RectX,RectY,RectW,RectH})
+ when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) ->
+ setSize(This,Rect, []);
+setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsize">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setSize(This::wxWindow(), Width::integer(), Height::integer()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setSize(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}, [Option]) -> ok </c>
+%%<br /> Option = {sizeFlags, integer()}
+%% </p>
+setSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height)
+ when is_integer(Width),is_integer(Height) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetSize_2_0,
+ <<ThisRef:32/?UI,Width:32/?UI,Height:32/?UI>>);
+setSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}, Options)
+ when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({sizeFlags, SizeFlags}, Acc) -> [<<1:32/?UI,SizeFlags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSize_2_1,
+ <<ThisRef:32/?UI,RectX:32/?UI,RectY:32/?UI,RectW:32/?UI,RectH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> ok
+%% @equiv setSize(This,X,Y,Width,Height, [])
+setSize(This,X,Y,Width,Height)
+ when is_record(This, wx_ref),is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) ->
+ setSize(This,X,Y,Width,Height, []).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), [Option]) -> ok
+%% Option = {sizeFlags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsize">external documentation</a>.
+setSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Width,Height, Options)
+ when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({sizeFlags, SizeFlags}, Acc) -> [<<1:32/?UI,SizeFlags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSize_5,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,Width:32/?UI,Height:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), MinSize::{W::integer(),H::integer()}) -> ok
+%% @equiv setSizeHints(This,MinSize, [])
+setSizeHints(This,MinSize={MinSizeW,MinSizeH})
+ when is_record(This, wx_ref),is_integer(MinSizeW),is_integer(MinSizeH) ->
+ setSizeHints(This,MinSize, []).
+
+%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsizehints">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setSizeHints(This,MinW,MinH, []) </c></p>
+%% <p><c>
+%% setSizeHints(This::wxWindow(), MinSize::{W::integer(),H::integer()}, [Option]) -> ok </c>
+%%<br /> Option = {maxSize, {W::integer(),H::integer()}} | {incSize, {W::integer(),H::integer()}}
+%% </p>
+
+setSizeHints(This,MinW,MinH)
+ when is_record(This, wx_ref),is_integer(MinW),is_integer(MinH) ->
+ setSizeHints(This,MinW,MinH, []);
+setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH}, Options)
+ when is_integer(MinSizeW),is_integer(MinSizeH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({maxSize, {MaxSizeW,MaxSizeH}}, Acc) -> [<<1:32/?UI,MaxSizeW:32/?UI,MaxSizeH:32/?UI,0:32>>|Acc];
+ ({incSize, {IncSizeW,IncSizeH}}, Acc) -> [<<2:32/?UI,IncSizeW:32/?UI,IncSizeH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSizeHints_2,
+ <<ThisRef:32/?UI,MinSizeW:32/?UI,MinSizeH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), MinW::integer(), MinH::integer(), [Option]) -> ok
+%% Option = {maxW, integer()} | {maxH, integer()} | {incW, integer()} | {incH, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsizehints">external documentation</a>.
+setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options)
+ when is_integer(MinW),is_integer(MinH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({maxW, MaxW}, Acc) -> [<<1:32/?UI,MaxW:32/?UI>>|Acc];
+ ({maxH, MaxH}, Acc) -> [<<2:32/?UI,MaxH:32/?UI>>|Acc];
+ ({incW, IncW}, Acc) -> [<<3:32/?UI,IncW:32/?UI>>|Acc];
+ ({incH, IncH}, Acc) -> [<<4:32/?UI,IncH:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSizeHints_3,
+ <<ThisRef:32/?UI,MinW:32/?UI,MinH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok
+%% @equiv setSizer(This,Sizer, [])
+setSizer(This,Sizer)
+ when is_record(This, wx_ref),is_record(Sizer, wx_ref) ->
+ setSizer(This,Sizer, []).
+
+%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer(), [Option]) -> ok
+%% Option = {deleteOld, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsizer">external documentation</a>.
+setSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(SizerT,wxSizer),
+ MOpts = fun({deleteOld, DeleteOld}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(DeleteOld)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSizer,
+ <<ThisRef:32/?UI,SizerRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok
+%% @equiv setSizerAndFit(This,Sizer, [])
+setSizerAndFit(This,Sizer)
+ when is_record(This, wx_ref),is_record(Sizer, wx_ref) ->
+ setSizerAndFit(This,Sizer, []).
+
+%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer(), [Option]) -> ok
+%% Option = {deleteOld, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetsizerandfit">external documentation</a>.
+setSizerAndFit(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(SizerT,wxSizer),
+ MOpts = fun({deleteOld, DeleteOld}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(DeleteOld)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetSizerAndFit,
+ <<ThisRef:32/?UI,SizerRef:32/?UI, BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), EnableTheme::bool()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetthemeenabled">external documentation</a>.
+setThemeEnabled(#wx_ref{type=ThisT,ref=ThisRef},EnableTheme)
+ when is_boolean(EnableTheme) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetThemeEnabled,
+ <<ThisRef:32/?UI,(wxe_util:from_bool(EnableTheme)):32/?UI>>).
+
+%% @spec (This::wxWindow(),X::string()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsettooltip">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setToolTip(This::wxWindow(), Tip::string()) -> ok </c>
+%% </p>
+%% <p><c>
+%% setToolTip(This::wxWindow(), Tip::wxToolTip:wxToolTip()) -> ok </c>
+%% </p>
+setToolTip(#wx_ref{type=ThisT,ref=ThisRef},Tip)
+ when is_list(Tip) ->
+ ?CLASS(ThisT,wxWindow),
+ Tip_UC = unicode:characters_to_binary([Tip,0]),
+ wxe_util:cast(?wxWindow_SetToolTip_1_0,
+ <<ThisRef:32/?UI,(byte_size(Tip_UC)):32/?UI,(Tip_UC)/binary, 0:(((8- ((0+byte_size(Tip_UC)) band 16#7)) band 16#7))/unit:8>>);
+setToolTip(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TipT,ref=TipRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ ?CLASS(TipT,wxToolTip),
+ wxe_util:cast(?wxWindow_SetToolTip_1_1,
+ <<ThisRef:32/?UI,TipRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetvirtualsize">external documentation</a>.
+setVirtualSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH})
+ when is_integer(SizeW),is_integer(SizeH) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetVirtualSize_1,
+ <<ThisRef:32/?UI,SizeW:32/?UI,SizeH:32/?UI>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetvirtualsize">external documentation</a>.
+setVirtualSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetVirtualSize_2,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxWindow(), MinSize::{W::integer(),H::integer()}) -> ok
+%% @equiv setVirtualSizeHints(This,MinSize, [])
+setVirtualSizeHints(This,MinSize={MinSizeW,MinSizeH})
+ when is_record(This, wx_ref),is_integer(MinSizeW),is_integer(MinSizeH) ->
+ setVirtualSizeHints(This,MinSize, []).
+
+%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetvirtualsizehints">external documentation</a>.
+%% <br /> Alternatives:
+%% <p><c>
+%% setVirtualSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setVirtualSizeHints(This,MinW,MinH, []) </c></p>
+%% <p><c>
+%% setVirtualSizeHints(This::wxWindow(), MinSize::{W::integer(),H::integer()}, [Option]) -> ok </c>
+%%<br /> Option = {maxSize, {W::integer(),H::integer()}}
+%% </p>
+
+setVirtualSizeHints(This,MinW,MinH)
+ when is_record(This, wx_ref),is_integer(MinW),is_integer(MinH) ->
+ setVirtualSizeHints(This,MinW,MinH, []);
+setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH}, Options)
+ when is_integer(MinSizeW),is_integer(MinSizeH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({maxSize, {MaxSizeW,MaxSizeH}}, Acc) -> [<<1:32/?UI,MaxSizeW:32/?UI,MaxSizeH:32/?UI,0:32>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetVirtualSizeHints_2,
+ <<ThisRef:32/?UI,MinSizeW:32/?UI,MinSizeH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), MinW::integer(), MinH::integer(), [Option]) -> ok
+%% Option = {maxW, integer()} | {maxH, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetvirtualsizehints">external documentation</a>.
+setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options)
+ when is_integer(MinW),is_integer(MinH),is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({maxW, MaxW}, Acc) -> [<<1:32/?UI,MaxW:32/?UI>>|Acc];
+ ({maxH, MaxH}, Acc) -> [<<2:32/?UI,MaxH:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_SetVirtualSizeHints_3,
+ <<ThisRef:32/?UI,MinW:32/?UI,MinH:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetwindowstyle">external documentation</a>.
+setWindowStyle(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetWindowStyle,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxWindow(), Style::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetwindowstyleflag">external documentation</a>.
+setWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef},Style)
+ when is_integer(Style) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetWindowStyleFlag,
+ <<ThisRef:32/?UI,Style:32/?UI>>).
+
+%% @spec (This::wxWindow(), Variant::WxWindowVariant) -> ok
+%% WxWindowVariant = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetwindowvariant">external documentation</a>.
+%%<br /> WxWindowVariant is one of ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX
+setWindowVariant(#wx_ref{type=ThisT,ref=ThisRef},Variant)
+ when is_integer(Variant) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_SetWindowVariant,
+ <<ThisRef:32/?UI,Variant:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowshouldinheritcolours">external documentation</a>.
+shouldInheritColours(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_ShouldInheritColours,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @equiv show(This, [])
+show(This)
+ when is_record(This, wx_ref) ->
+ show(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> bool()
+%% Option = {show, bool()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowshow">external documentation</a>.
+show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({show, Show}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Show)):32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxWindow_Show,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowthaw">external documentation</a>.
+thaw(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Thaw,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowtransferdatafromwindow">external documentation</a>.
+transferDataFromWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_TransferDataFromWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowtransferdatatowindow">external documentation</a>.
+transferDataToWindow(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_TransferDataToWindow,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowupdate">external documentation</a>.
+update(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_Update,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @equiv updateWindowUI(This, [])
+updateWindowUI(This)
+ when is_record(This, wx_ref) ->
+ updateWindowUI(This, []).
+
+%% @spec (This::wxWindow(), [Option]) -> ok
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowupdatewindowui">external documentation</a>.
+updateWindowUI(#wx_ref{type=ThisT,ref=ThisRef}, Options)
+ when is_list(Options) ->
+ ?CLASS(ThisT,wxWindow),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?wxWindow_UpdateWindowUI,
+ <<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxWindow()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowvalidate">external documentation</a>.
+validate(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:call(?wxWindow_Validate,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowwarppointer">external documentation</a>.
+warpPointer(#wx_ref{type=ThisT,ref=ThisRef},X,Y)
+ when is_integer(X),is_integer(Y) ->
+ ?CLASS(ThisT,wxWindow),
+ wxe_util:cast(?wxWindow_WarpPointer,
+ <<ThisRef:32/?UI,X:32/?UI,Y:32/?UI>>).
+
+%% @spec (This::wxWindow()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxWindow),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxEvtHandler
+%% @hidden
+disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
+%% @hidden
+disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType).
+%% @hidden
+disconnect(This) -> wxEvtHandler:disconnect(This).
+%% @hidden
+connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options).
+%% @hidden
+connect(This,EventType) -> wxEvtHandler:connect(This,EventType).
diff --git a/lib/wx/src/gen/wxWindowCreateEvent.erl b/lib/wx/src/gen/wxWindowCreateEvent.erl
new file mode 100644
index 0000000000..0503bdfef4
--- /dev/null
+++ b/lib/wx/src/gen/wxWindowCreateEvent.erl
@@ -0,0 +1,85 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowcreateevent.html">wxWindowCreateEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>create</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxWindowCreate(). #wxWindowCreate{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxWindowCreateEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxWindowCreateEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxWindowDC.erl b/lib/wx/src/gen/wxWindowDC.erl
new file mode 100644
index 0000000000..63b2249844
--- /dev/null
+++ b/lib/wx/src/gen/wxWindowDC.erl
@@ -0,0 +1,264 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html">wxWindowDC</a>.
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxDC}
+%% </p>
+%% @type wxWindowDC(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxWindowDC).
+-include("wxe.hrl").
+-export([destroy/1,new/0,new/1]).
+
+%% inherited exports
+-export([blit/5,blit/6,calcBoundingBox/3,clear/1,computeScaleAndOrigin/1,crossHair/2,
+ destroyClippingRegion/1,deviceToLogicalX/2,deviceToLogicalXRel/2,
+ deviceToLogicalY/2,deviceToLogicalYRel/2,drawArc/4,drawBitmap/3,drawBitmap/4,
+ drawCheckMark/2,drawCircle/3,drawEllipse/2,drawEllipse/3,drawEllipticArc/5,
+ drawIcon/3,drawLabel/3,drawLabel/4,drawLine/3,drawLines/2,drawLines/3,
+ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3,
+ drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4,
+ drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1,
+ getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2,
+ getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1,
+ getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3,
+ getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2,
+ getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4,
+ gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5,
+ isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2,
+ logicalToDeviceYRel/2,maxX/1,maxY/1,minX/1,minY/1,parent_class/1,resetBoundingBox/1,
+ setAxisOrientation/3,setBackground/2,setBackgroundMode/2,setBrush/2,
+ setClippingRegion/2,setClippingRegion/3,setDeviceOrigin/3,setFont/2,
+ setLayoutDirection/2,setLogicalFunction/2,setMapMode/2,setPalette/2,
+ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2,
+ startPage/1]).
+
+%% @hidden
+parent_class(wxDC) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxWindowDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html#wxwindowdcwxwindowdc">external documentation</a>.
+new() ->
+ wxe_util:construct(?wxWindowDC_new_0,
+ <<>>).
+
+%% @spec (Win::wxWindow:wxWindow()) -> wxWindowDC()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdc.html#wxwindowdcwxwindowdc">external documentation</a>.
+new(#wx_ref{type=WinT,ref=WinRef}) ->
+ ?CLASS(WinT,wxWindow),
+ wxe_util:construct(?wxWindowDC_new_1,
+ <<WinRef:32/?UI>>).
+
+%% @spec (This::wxWindowDC()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxWindowDC),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
+ %% From wxDC
+%% @hidden
+startPage(This) -> wxDC:startPage(This).
+%% @hidden
+startDoc(This,Message) -> wxDC:startDoc(This,Message).
+%% @hidden
+setUserScale(This,X,Y) -> wxDC:setUserScale(This,X,Y).
+%% @hidden
+setTextForeground(This,Colour) -> wxDC:setTextForeground(This,Colour).
+%% @hidden
+setTextBackground(This,Colour) -> wxDC:setTextBackground(This,Colour).
+%% @hidden
+setPen(This,Pen) -> wxDC:setPen(This,Pen).
+%% @hidden
+setPalette(This,Palette) -> wxDC:setPalette(This,Palette).
+%% @hidden
+setMapMode(This,Mode) -> wxDC:setMapMode(This,Mode).
+%% @hidden
+setLogicalFunction(This,Function) -> wxDC:setLogicalFunction(This,Function).
+%% @hidden
+setLayoutDirection(This,Dir) -> wxDC:setLayoutDirection(This,Dir).
+%% @hidden
+setFont(This,Font) -> wxDC:setFont(This,Font).
+%% @hidden
+setDeviceOrigin(This,X,Y) -> wxDC:setDeviceOrigin(This,X,Y).
+%% @hidden
+setClippingRegion(This,Pt,Sz) -> wxDC:setClippingRegion(This,Pt,Sz).
+%% @hidden
+setClippingRegion(This,Region) -> wxDC:setClippingRegion(This,Region).
+%% @hidden
+setBrush(This,Brush) -> wxDC:setBrush(This,Brush).
+%% @hidden
+setBackgroundMode(This,Mode) -> wxDC:setBackgroundMode(This,Mode).
+%% @hidden
+setBackground(This,Brush) -> wxDC:setBackground(This,Brush).
+%% @hidden
+setAxisOrientation(This,XLeftRight,YBottomUp) -> wxDC:setAxisOrientation(This,XLeftRight,YBottomUp).
+%% @hidden
+resetBoundingBox(This) -> wxDC:resetBoundingBox(This).
+%% @hidden
+isOk(This) -> wxDC:isOk(This).
+%% @hidden
+minY(This) -> wxDC:minY(This).
+%% @hidden
+minX(This) -> wxDC:minX(This).
+%% @hidden
+maxY(This) -> wxDC:maxY(This).
+%% @hidden
+maxX(This) -> wxDC:maxX(This).
+%% @hidden
+logicalToDeviceYRel(This,Y) -> wxDC:logicalToDeviceYRel(This,Y).
+%% @hidden
+logicalToDeviceY(This,Y) -> wxDC:logicalToDeviceY(This,Y).
+%% @hidden
+logicalToDeviceXRel(This,X) -> wxDC:logicalToDeviceXRel(This,X).
+%% @hidden
+logicalToDeviceX(This,X) -> wxDC:logicalToDeviceX(This,X).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour, Options) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour, Options).
+%% @hidden
+gradientFillLinear(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillLinear(This,Rect,InitialColour,DestColour).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour,CircleCenter).
+%% @hidden
+gradientFillConcentric(This,Rect,InitialColour,DestColour) -> wxDC:gradientFillConcentric(This,Rect,InitialColour,DestColour).
+%% @hidden
+getUserScale(This) -> wxDC:getUserScale(This).
+%% @hidden
+getTextForeground(This) -> wxDC:getTextForeground(This).
+%% @hidden
+getTextExtent(This,String, Options) -> wxDC:getTextExtent(This,String, Options).
+%% @hidden
+getTextExtent(This,String) -> wxDC:getTextExtent(This,String).
+%% @hidden
+getTextBackground(This) -> wxDC:getTextBackground(This).
+%% @hidden
+getSizeMM(This) -> wxDC:getSizeMM(This).
+%% @hidden
+getSize(This) -> wxDC:getSize(This).
+%% @hidden
+getPPI(This) -> wxDC:getPPI(This).
+%% @hidden
+getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col).
+%% @hidden
+getPen(This) -> wxDC:getPen(This).
+%% @hidden
+getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths).
+%% @hidden
+getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options).
+%% @hidden
+getMultiLineTextExtent(This,String) -> wxDC:getMultiLineTextExtent(This,String).
+%% @hidden
+getMapMode(This) -> wxDC:getMapMode(This).
+%% @hidden
+getLogicalFunction(This) -> wxDC:getLogicalFunction(This).
+%% @hidden
+getLayoutDirection(This) -> wxDC:getLayoutDirection(This).
+%% @hidden
+getFont(This) -> wxDC:getFont(This).
+%% @hidden
+getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect).
+%% @hidden
+getCharWidth(This) -> wxDC:getCharWidth(This).
+%% @hidden
+getCharHeight(This) -> wxDC:getCharHeight(This).
+%% @hidden
+getBrush(This) -> wxDC:getBrush(This).
+%% @hidden
+getBackgroundMode(This) -> wxDC:getBackgroundMode(This).
+%% @hidden
+getBackground(This) -> wxDC:getBackground(This).
+%% @hidden
+floodFill(This,Pt,Col, Options) -> wxDC:floodFill(This,Pt,Col, Options).
+%% @hidden
+floodFill(This,Pt,Col) -> wxDC:floodFill(This,Pt,Col).
+%% @hidden
+endPage(This) -> wxDC:endPage(This).
+%% @hidden
+endDoc(This) -> wxDC:endDoc(This).
+%% @hidden
+drawText(This,Text,Pt) -> wxDC:drawText(This,Text,Pt).
+%% @hidden
+drawRoundedRectangle(This,Pt,Sz,Radius) -> wxDC:drawRoundedRectangle(This,Pt,Sz,Radius).
+%% @hidden
+drawRoundedRectangle(This,R,Radius) -> wxDC:drawRoundedRectangle(This,R,Radius).
+%% @hidden
+drawRotatedText(This,Text,Pt,Angle) -> wxDC:drawRotatedText(This,Text,Pt,Angle).
+%% @hidden
+drawRectangle(This,Pt,Sz) -> wxDC:drawRectangle(This,Pt,Sz).
+%% @hidden
+drawRectangle(This,Rect) -> wxDC:drawRectangle(This,Rect).
+%% @hidden
+drawPoint(This,Pt) -> wxDC:drawPoint(This,Pt).
+%% @hidden
+drawPolygon(This,Points, Options) -> wxDC:drawPolygon(This,Points, Options).
+%% @hidden
+drawPolygon(This,Points) -> wxDC:drawPolygon(This,Points).
+%% @hidden
+drawLines(This,Points, Options) -> wxDC:drawLines(This,Points, Options).
+%% @hidden
+drawLines(This,Points) -> wxDC:drawLines(This,Points).
+%% @hidden
+drawLine(This,Pt1,Pt2) -> wxDC:drawLine(This,Pt1,Pt2).
+%% @hidden
+drawLabel(This,Text,Rect, Options) -> wxDC:drawLabel(This,Text,Rect, Options).
+%% @hidden
+drawLabel(This,Text,Rect) -> wxDC:drawLabel(This,Text,Rect).
+%% @hidden
+drawIcon(This,Icon,Pt) -> wxDC:drawIcon(This,Icon,Pt).
+%% @hidden
+drawEllipticArc(This,Pt,Sz,Sa,Ea) -> wxDC:drawEllipticArc(This,Pt,Sz,Sa,Ea).
+%% @hidden
+drawEllipse(This,Pt,Sz) -> wxDC:drawEllipse(This,Pt,Sz).
+%% @hidden
+drawEllipse(This,Rect) -> wxDC:drawEllipse(This,Rect).
+%% @hidden
+drawCircle(This,Pt,Radius) -> wxDC:drawCircle(This,Pt,Radius).
+%% @hidden
+drawCheckMark(This,Rect) -> wxDC:drawCheckMark(This,Rect).
+%% @hidden
+drawBitmap(This,Bmp,Pt, Options) -> wxDC:drawBitmap(This,Bmp,Pt, Options).
+%% @hidden
+drawBitmap(This,Bmp,Pt) -> wxDC:drawBitmap(This,Bmp,Pt).
+%% @hidden
+drawArc(This,Pt1,Pt2,Centre) -> wxDC:drawArc(This,Pt1,Pt2,Centre).
+%% @hidden
+deviceToLogicalYRel(This,Y) -> wxDC:deviceToLogicalYRel(This,Y).
+%% @hidden
+deviceToLogicalY(This,Y) -> wxDC:deviceToLogicalY(This,Y).
+%% @hidden
+deviceToLogicalXRel(This,X) -> wxDC:deviceToLogicalXRel(This,X).
+%% @hidden
+deviceToLogicalX(This,X) -> wxDC:deviceToLogicalX(This,X).
+%% @hidden
+destroyClippingRegion(This) -> wxDC:destroyClippingRegion(This).
+%% @hidden
+crossHair(This,Pt) -> wxDC:crossHair(This,Pt).
+%% @hidden
+computeScaleAndOrigin(This) -> wxDC:computeScaleAndOrigin(This).
+%% @hidden
+clear(This) -> wxDC:clear(This).
+%% @hidden
+calcBoundingBox(This,X,Y) -> wxDC:calcBoundingBox(This,X,Y).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt, Options) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt, Options).
+%% @hidden
+blit(This,DestPt,Sz,Source,SrcPt) -> wxDC:blit(This,DestPt,Sz,Source,SrcPt).
diff --git a/lib/wx/src/gen/wxWindowDestroyEvent.erl b/lib/wx/src/gen/wxWindowDestroyEvent.erl
new file mode 100644
index 0000000000..8d98b36f68
--- /dev/null
+++ b/lib/wx/src/gen/wxWindowDestroyEvent.erl
@@ -0,0 +1,85 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindowdestroyevent.html">wxWindowDestroyEvent</a>.
+%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>
+%% <dd><em>destroy</em></dd></dl>
+%% See also the message variant {@link wxEvtHandler:wxWindowDestroy(). #wxWindowDestroy{}} event record type.
+%%
+%% <p>This class is derived (and can use functions) from:
+%% <br />{@link wxCommandEvent}
+%% <br />{@link wxEvent}
+%% </p>
+%% @type wxWindowDestroyEvent(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxWindowDestroyEvent).
+-include("wxe.hrl").
+-export([]).
+
+%% inherited exports
+-export([getClientData/1,getExtraLong/1,getId/1,getInt/1,getSelection/1,getSkipped/1,
+ getString/1,getTimestamp/1,isChecked/1,isCommandEvent/1,isSelection/1,
+ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1,
+ skip/1,skip/2,stopPropagation/1]).
+
+%% @hidden
+parent_class(wxCommandEvent) -> true;
+parent_class(wxEvent) -> true;
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+ %% From wxCommandEvent
+%% @hidden
+setString(This,S) -> wxCommandEvent:setString(This,S).
+%% @hidden
+setInt(This,I) -> wxCommandEvent:setInt(This,I).
+%% @hidden
+isSelection(This) -> wxCommandEvent:isSelection(This).
+%% @hidden
+isChecked(This) -> wxCommandEvent:isChecked(This).
+%% @hidden
+getString(This) -> wxCommandEvent:getString(This).
+%% @hidden
+getSelection(This) -> wxCommandEvent:getSelection(This).
+%% @hidden
+getInt(This) -> wxCommandEvent:getInt(This).
+%% @hidden
+getExtraLong(This) -> wxCommandEvent:getExtraLong(This).
+%% @hidden
+getClientData(This) -> wxCommandEvent:getClientData(This).
+ %% From wxEvent
+%% @hidden
+stopPropagation(This) -> wxEvent:stopPropagation(This).
+%% @hidden
+skip(This, Options) -> wxEvent:skip(This, Options).
+%% @hidden
+skip(This) -> wxEvent:skip(This).
+%% @hidden
+shouldPropagate(This) -> wxEvent:shouldPropagate(This).
+%% @hidden
+resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel).
+%% @hidden
+isCommandEvent(This) -> wxEvent:isCommandEvent(This).
+%% @hidden
+getTimestamp(This) -> wxEvent:getTimestamp(This).
+%% @hidden
+getSkipped(This) -> wxEvent:getSkipped(This).
+%% @hidden
+getId(This) -> wxEvent:getId(This).
diff --git a/lib/wx/src/gen/wxXmlResource.erl b/lib/wx/src/gen/wxXmlResource.erl
new file mode 100644
index 0000000000..c9f396e608
--- /dev/null
+++ b/lib/wx/src/gen/wxXmlResource.erl
@@ -0,0 +1,326 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html">wxXmlResource</a>.
+%% @type wxXmlResource(). An object reference, The representation is internal
+%% and can be changed without notice. It can't be used for comparsion
+%% stored on disc or distributed for use on other nodes.
+
+-module(wxXmlResource).
+-include("wxe.hrl").
+-export([ xrcctrl/3 ,attachUnknownControl/3,attachUnknownControl/4,clearHandlers/1,
+ compareVersion/5,destroy/1,get/0,getFlags/1,getVersion/1,getXRCID/1,
+ getXRCID/2,initAllHandlers/1,load/2,loadBitmap/2,loadDialog/3,loadDialog/4,
+ loadFrame/3,loadFrame/4,loadIcon/2,loadMenu/2,loadMenuBar/2,loadMenuBar/3,
+ loadPanel/3,loadPanel/4,loadToolBar/3,new/0,new/1,new/2,set/1,setFlags/2,
+ unload/2]).
+
+%% inherited exports
+-export([parent_class/1]).
+
+%% @hidden
+parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
+
+%% @spec () -> wxXmlResource()
+%% @equiv new([])
+new() ->
+ new([]).
+
+%% @spec ([Option]) -> wxXmlResource()
+%% Option = {flags, integer()} | {domain, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcewxxmlresource">external documentation</a>.
+new(Options)
+ when is_list(Options) ->
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ ({domain, Domain}, Acc) -> Domain_UC = unicode:characters_to_binary([Domain,0]),[<<2:32/?UI,(byte_size(Domain_UC)):32/?UI,(Domain_UC)/binary, 0:(((8- ((0+byte_size(Domain_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxXmlResource_new_1,
+ <<BinOpt/binary>>).
+
+%% @spec (Filemask::string(), [Option]) -> wxXmlResource()
+%% Option = {flags, integer()} | {domain, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcewxxmlresource">external documentation</a>.
+new(Filemask, Options)
+ when is_list(Filemask),is_list(Options) ->
+ Filemask_UC = unicode:characters_to_binary([Filemask,0]),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ ({domain, Domain}, Acc) -> Domain_UC = unicode:characters_to_binary([Domain,0]),[<<2:32/?UI,(byte_size(Domain_UC)):32/?UI,(Domain_UC)/binary, 0:(((8- ((0+byte_size(Domain_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:construct(?wxXmlResource_new_2,
+ <<(byte_size(Filemask_UC)):32/?UI,(Filemask_UC)/binary, 0:(((8- ((4+byte_size(Filemask_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow()) -> bool()
+%% @equiv attachUnknownControl(This,Name,Control, [])
+attachUnknownControl(This,Name,Control)
+ when is_record(This, wx_ref),is_list(Name),is_record(Control, wx_ref) ->
+ attachUnknownControl(This,Name,Control, []).
+
+%% @spec (This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(), [Option]) -> bool()
+%% Option = {parent, wxWindow:wxWindow()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceattachunknowncontrol">external documentation</a>.
+attachUnknownControl(#wx_ref{type=ThisT,ref=ThisRef},Name,#wx_ref{type=ControlT,ref=ControlRef}, Options)
+ when is_list(Name),is_list(Options) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ ?CLASS(ControlT,wxWindow),
+ MOpts = fun({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<1:32/?UI,ParentRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxXmlResource_AttachUnknownControl,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,ControlRef:32/?UI, 0:32,BinOpt/binary>>).
+
+%% @spec (This::wxXmlResource()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceclearhandlers">external documentation</a>.
+clearHandlers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:cast(?wxXmlResource_ClearHandlers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxXmlResource(), Major::integer(), Minor::integer(), Release::integer(), Revision::integer()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcecompareversion">external documentation</a>.
+compareVersion(#wx_ref{type=ThisT,ref=ThisRef},Major,Minor,Release,Revision)
+ when is_integer(Major),is_integer(Minor),is_integer(Release),is_integer(Revision) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:call(?wxXmlResource_CompareVersion,
+ <<ThisRef:32/?UI,Major:32/?UI,Minor:32/?UI,Release:32/?UI,Revision:32/?UI>>).
+
+%% @spec () -> wxXmlResource()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceget">external documentation</a>.
+get() ->
+ wxe_util:call(?wxXmlResource_Get,
+ <<>>).
+
+%% @spec (This::wxXmlResource()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetflags">external documentation</a>.
+getFlags(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:call(?wxXmlResource_GetFlags,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxXmlResource()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetversion">external documentation</a>.
+getVersion(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:call(?wxXmlResource_GetVersion,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (Str_id::[string()]) -> integer()
+%% @equiv getXRCID(Str_id, [])
+getXRCID(Str_id)
+ when is_list(Str_id) ->
+ getXRCID(Str_id, []).
+
+%% @spec (Str_id::[string()], [Option]) -> integer()
+%% Option = {value_if_not_found, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcegetxrcid">external documentation</a>.
+getXRCID(Str_id, Options)
+ when is_list(Str_id),is_list(Options) ->
+ Str_id_UC = unicode:characters_to_binary([Str_id,0]),
+ MOpts = fun({value_if_not_found, Value_if_not_found}, Acc) -> [<<1:32/?UI,Value_if_not_found:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?wxXmlResource_GetXRCID,
+ <<(byte_size(Str_id_UC)):32/?UI,(Str_id_UC)/binary, 0:(((8- ((4+byte_size(Str_id_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec (This::wxXmlResource()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceinitallhandlers">external documentation</a>.
+initAllHandlers(#wx_ref{type=ThisT,ref=ThisRef}) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:cast(?wxXmlResource_InitAllHandlers,
+ <<ThisRef:32/?UI>>).
+
+%% @spec (This::wxXmlResource(), Filemask::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceload">external documentation</a>.
+load(#wx_ref{type=ThisT,ref=ThisRef},Filemask)
+ when is_list(Filemask) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Filemask_UC = unicode:characters_to_binary([Filemask,0]),
+ wxe_util:call(?wxXmlResource_Load,
+ <<ThisRef:32/?UI,(byte_size(Filemask_UC)):32/?UI,(Filemask_UC)/binary, 0:(((8- ((0+byte_size(Filemask_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Name::string()) -> wxBitmap:wxBitmap()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadbitmap">external documentation</a>.
+loadBitmap(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadBitmap,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxDialog:wxDialog()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloaddialog">external documentation</a>.
+loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadDialog_2,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Dlg::wxDialog:wxDialog(), Parent::wxWindow:wxWindow(), Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloaddialog">external documentation</a>.
+loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DlgT,ref=DlgRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(DlgT,wxDialog),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadDialog_3,
+ <<ThisRef:32/?UI,DlgRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxFrame:wxFrame()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadframe">external documentation</a>.
+loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadFrame_2,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Frame::wxFrame:wxFrame(), Parent::wxWindow:wxWindow(), Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadframe">external documentation</a>.
+loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(FrameT,wxFrame),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadFrame_3,
+ <<ThisRef:32/?UI,FrameRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Name::string()) -> wxIcon:wxIcon()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadicon">external documentation</a>.
+loadIcon(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadIcon,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Name::string()) -> wxMenu:wxMenu()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenu">external documentation</a>.
+loadMenu(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadMenu,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Name::string()) -> wxMenuBar:wxMenuBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenubar">external documentation</a>.
+loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadMenuBar_1,
+ <<ThisRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxMenuBar:wxMenuBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadmenubar">external documentation</a>.
+loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadMenuBar_2,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxPanel:wxPanel()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadpanel">external documentation</a>.
+loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadPanel_2,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Panel::wxPanel:wxPanel(), Parent::wxWindow:wxWindow(), Name::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadpanel">external documentation</a>.
+loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PanelT,ref=PanelRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(PanelT,wxPanel),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadPanel_3,
+ <<ThisRef:32/?UI,PanelRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxToolBar:wxToolBar()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceloadtoolbar">external documentation</a>.
+loadToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name)
+ when is_list(Name) ->
+ ?CLASS(ThisT,wxXmlResource),
+ ?CLASS(ParentT,wxWindow),
+ Name_UC = unicode:characters_to_binary([Name,0]),
+ wxe_util:call(?wxXmlResource_LoadToolBar,
+ <<ThisRef:32/?UI,ParentRef:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (Res::wxXmlResource()) -> wxXmlResource()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceset">external documentation</a>.
+set(#wx_ref{type=ResT,ref=ResRef}) ->
+ ?CLASS(ResT,wxXmlResource),
+ wxe_util:call(?wxXmlResource_Set,
+ <<ResRef:32/?UI>>).
+
+%% @spec (This::wxXmlResource(), Flags::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourcesetflags">external documentation</a>.
+setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags)
+ when is_integer(Flags) ->
+ ?CLASS(ThisT,wxXmlResource),
+ wxe_util:cast(?wxXmlResource_SetFlags,
+ <<ThisRef:32/?UI,Flags:32/?UI>>).
+
+%% @spec (This::wxXmlResource(), Filename::string()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxxmlresource.html#wxxmlresourceunload">external documentation</a>.
+unload(#wx_ref{type=ThisT,ref=ThisRef},Filename)
+ when is_list(Filename) ->
+ ?CLASS(ThisT,wxXmlResource),
+ Filename_UC = unicode:characters_to_binary([Filename,0]),
+ wxe_util:call(?wxXmlResource_Unload,
+ <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+
+%% @spec (Window::wxWindow:wxWindow(),Name::string(), Type::atom()) -> wx:wxObject()
+
+%% @doc Looks up a control with Name in a window created with XML
+%% resources. You can use it to set/get values from controls.
+%% The object is type casted to <b>Type</b>.
+%% Example: <br />
+%% Xrc = wxXmlResource:get(), <br />
+%% Dlg = wxDialog:new(), <br />
+%% true = wxXmlResource:loadDialog(Xrc, Dlg, Frame, "controls_dialog"), <br />
+%% LCtrl = xrcctrl(Dlg, "controls_listctrl", wxListCtrl), <br />
+%% wxListCtrl:insertColumn(LCtrl, 0, "Name", [{width, 200}]), <br />
+
+xrcctrl(Window = #wx_ref{}, Name, Type) when is_list(Name), is_atom(Type) ->
+ %% Func Id ?wxXmlResource_xrcctrl
+ ID = wxXmlResource:getXRCID(Name),
+ Res = wxWindow:findWindow(Window,ID),
+ wx:typeCast(Res, Type).
+
+%% @spec (This::wxXmlResource()) -> ok
+%% @doc Destroys this object, do not use object again
+destroy(Obj=#wx_ref{type=Type}) ->
+ ?CLASS(Type,wxXmlResource),
+ wxe_util:destroy(?DESTROY_OBJECT,Obj),
+ ok.
diff --git a/lib/wx/src/gen/wx_misc.erl b/lib/wx/src/gen/wx_misc.erl
new file mode 100644
index 0000000000..ef50e22e99
--- /dev/null
+++ b/lib/wx/src/gen/wx_misc.erl
@@ -0,0 +1,216 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html">Misc</a>.
+
+%% This module contains wxWidgets utility functions.
+
+-module(wx_misc).
+-include("wxe.hrl").
+-export([beginBusyCursor/0,beginBusyCursor/1,bell/0,endBusyCursor/0,findMenuItemId/3,
+ findWindowAtPoint/1,genericFindWindowAtPoint/1,getCurrentId/0,getEmailAddress/0,
+ getHomeDir/0,getKeyState/1,getMousePosition/0,getMouseState/0,getOsDescription/0,
+ getUserId/0,isBusy/0,isPlatform64Bit/0,isPlatformLittleEndian/0,launchDefaultBrowser/1,
+ launchDefaultBrowser/2,newId/0,registerId/1,setDetectableAutoRepeat/1,
+ shell/0,shell/1,shutdown/1]).
+
+%% @spec (Key::WxKeyCode) -> bool()
+%% WxKeyCode = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetkeystate">external documentation</a>.
+%%<br /> WxKeyCode is one of ?WXK_BACK | ?WXK_TAB | ?WXK_RETURN | ?WXK_ESCAPE | ?WXK_SPACE | ?WXK_DELETE | ?WXK_START | ?WXK_LBUTTON | ?WXK_RBUTTON | ?WXK_CANCEL | ?WXK_MBUTTON | ?WXK_CLEAR | ?WXK_SHIFT | ?WXK_ALT | ?WXK_CONTROL | ?WXK_MENU | ?WXK_PAUSE | ?WXK_CAPITAL | ?WXK_END | ?WXK_HOME | ?WXK_LEFT | ?WXK_UP | ?WXK_RIGHT | ?WXK_DOWN | ?WXK_SELECT | ?WXK_PRINT | ?WXK_EXECUTE | ?WXK_SNAPSHOT | ?WXK_INSERT | ?WXK_HELP | ?WXK_NUMPAD0 | ?WXK_NUMPAD1 | ?WXK_NUMPAD2 | ?WXK_NUMPAD3 | ?WXK_NUMPAD4 | ?WXK_NUMPAD5 | ?WXK_NUMPAD6 | ?WXK_NUMPAD7 | ?WXK_NUMPAD8 | ?WXK_NUMPAD9 | ?WXK_MULTIPLY | ?WXK_ADD | ?WXK_SEPARATOR | ?WXK_SUBTRACT | ?WXK_DECIMAL | ?WXK_DIVIDE | ?WXK_F1 | ?WXK_F2 | ?WXK_F3 | ?WXK_F4 | ?WXK_F5 | ?WXK_F6 | ?WXK_F7 | ?WXK_F8 | ?WXK_F9 | ?WXK_F10 | ?WXK_F11 | ?WXK_F12 | ?WXK_F13 | ?WXK_F14 | ?WXK_F15 | ?WXK_F16 | ?WXK_F17 | ?WXK_F18 | ?WXK_F19 | ?WXK_F20 | ?WXK_F21 | ?WXK_F22 | ?WXK_F23 | ?WXK_F24 | ?WXK_NUMLOCK | ?WXK_SCROLL | ?WXK_PAGEUP | ?WXK_PAGEDOWN | ?WXK_NUMPAD_SPACE | ?WXK_NUMPAD_TAB | ?WXK_NUMPAD_ENTER | ?WXK_NUMPAD_F1 | ?WXK_NUMPAD_F2 | ?WXK_NUMPAD_F3 | ?WXK_NUMPAD_F4 | ?WXK_NUMPAD_HOME | ?WXK_NUMPAD_LEFT | ?WXK_NUMPAD_UP | ?WXK_NUMPAD_RIGHT | ?WXK_NUMPAD_DOWN | ?WXK_NUMPAD_PAGEUP | ?WXK_NUMPAD_PAGEDOWN | ?WXK_NUMPAD_END | ?WXK_NUMPAD_BEGIN | ?WXK_NUMPAD_INSERT | ?WXK_NUMPAD_DELETE | ?WXK_NUMPAD_EQUAL | ?WXK_NUMPAD_MULTIPLY | ?WXK_NUMPAD_ADD | ?WXK_NUMPAD_SEPARATOR | ?WXK_NUMPAD_SUBTRACT | ?WXK_NUMPAD_DECIMAL | ?WXK_NUMPAD_DIVIDE | ?WXK_WINDOWS_LEFT | ?WXK_WINDOWS_RIGHT | ?WXK_WINDOWS_MENU | ?WXK_COMMAND | ?WXK_SPECIAL1 | ?WXK_SPECIAL2 | ?WXK_SPECIAL3 | ?WXK_SPECIAL4 | ?WXK_SPECIAL5 | ?WXK_SPECIAL6 | ?WXK_SPECIAL7 | ?WXK_SPECIAL8 | ?WXK_SPECIAL9 | ?WXK_SPECIAL10 | ?WXK_SPECIAL11 | ?WXK_SPECIAL12 | ?WXK_SPECIAL13 | ?WXK_SPECIAL14 | ?WXK_SPECIAL15 | ?WXK_SPECIAL16 | ?WXK_SPECIAL17 | ?WXK_SPECIAL18 | ?WXK_SPECIAL19 | ?WXK_SPECIAL20
+getKeyState(Key)
+ when is_integer(Key) ->
+ wxe_util:call(?utils_wxGetKeyState,
+ <<Key:32/?UI>>).
+
+%% @spec () -> {X::integer(),Y::integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetmouseposition">external documentation</a>.
+getMousePosition() ->
+ wxe_util:call(?utils_wxGetMousePosition,
+ <<>>).
+
+%% @spec () -> wx:wxMouseState()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetmousestate">external documentation</a>.
+getMouseState() ->
+ wxe_util:call(?utils_wxGetMouseState,
+ <<>>).
+
+%% @spec (Flag::bool()) -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxsetdetectableautorepeat">external documentation</a>.
+setDetectableAutoRepeat(Flag)
+ when is_boolean(Flag) ->
+ wxe_util:call(?utils_wxSetDetectableAutoRepeat,
+ <<(wxe_util:from_bool(Flag)):32/?UI>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxbell">external documentation</a>.
+bell() ->
+ wxe_util:cast(?utils_wxBell,
+ <<>>).
+
+%% @spec (Frame::wxFrame:wxFrame(), MenuString::string(), ItemString::string()) -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxfindmenuitemid">external documentation</a>.
+findMenuItemId(#wx_ref{type=FrameT,ref=FrameRef},MenuString,ItemString)
+ when is_list(MenuString),is_list(ItemString) ->
+ ?CLASS(FrameT,wxFrame),
+ MenuString_UC = unicode:characters_to_binary([MenuString,0]),
+ ItemString_UC = unicode:characters_to_binary([ItemString,0]),
+ wxe_util:call(?utils_wxFindMenuItemId,
+ <<FrameRef:32/?UI,(byte_size(MenuString_UC)):32/?UI,(MenuString_UC)/binary, 0:(((8- ((0+byte_size(MenuString_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(ItemString_UC)):32/?UI,(ItemString_UC)/binary, 0:(((8- ((4+byte_size(ItemString_UC)) band 16#7)) band 16#7))/unit:8>>).
+
+%% @spec (Pt::{X::integer(),Y::integer()}) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgenericfindwindowatpoint">external documentation</a>.
+genericFindWindowAtPoint({PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ wxe_util:call(?utils_wxGenericFindWindowAtPoint,
+ <<PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec (Pt::{X::integer(),Y::integer()}) -> wxWindow:wxWindow()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxfindwindowatpoint">external documentation</a>.
+findWindowAtPoint({PtX,PtY})
+ when is_integer(PtX),is_integer(PtY) ->
+ wxe_util:call(?utils_wxFindWindowAtPoint,
+ <<PtX:32/?UI,PtY:32/?UI>>).
+
+%% @spec () -> ok
+%% @equiv beginBusyCursor([])
+beginBusyCursor() ->
+ beginBusyCursor([]).
+
+%% @spec ([Option]) -> ok
+%% Option = {cursor, wxCursor:wxCursor()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxbeginbusycursor">external documentation</a>.
+beginBusyCursor(Options)
+ when is_list(Options) ->
+ MOpts = fun({cursor, #wx_ref{type=CursorT,ref=CursorRef}}, Acc) -> ?CLASS(CursorT,wxCursor),[<<1:32/?UI,CursorRef:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:cast(?utils_wxBeginBusyCursor,
+ <<BinOpt/binary>>).
+
+%% @spec () -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxendbusycursor">external documentation</a>.
+endBusyCursor() ->
+ wxe_util:cast(?utils_wxEndBusyCursor,
+ <<>>).
+
+%% @spec () -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxisbusy">external documentation</a>.
+isBusy() ->
+ wxe_util:call(?utils_wxIsBusy,
+ <<>>).
+
+%% @spec (WFlags::WxShutdownFlags) -> bool()
+%% WxShutdownFlags = integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxshutdown">external documentation</a>.
+%%<br /> WxShutdownFlags is one of ?wxSHUTDOWN_POWEROFF | ?wxSHUTDOWN_REBOOT
+shutdown(WFlags)
+ when is_integer(WFlags) ->
+ wxe_util:call(?utils_wxShutdown,
+ <<WFlags:32/?UI>>).
+
+%% @spec () -> bool()
+%% @equiv shell([])
+shell() ->
+ shell([]).
+
+%% @spec ([Option]) -> bool()
+%% Option = {command, string()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxshell">external documentation</a>.
+shell(Options)
+ when is_list(Options) ->
+ MOpts = fun({command, Command}, Acc) -> Command_UC = unicode:characters_to_binary([Command,0]),[<<1:32/?UI,(byte_size(Command_UC)):32/?UI,(Command_UC)/binary, 0:(((8- ((0+byte_size(Command_UC)) band 16#7)) band 16#7))/unit:8>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?utils_wxShell,
+ <<BinOpt/binary>>).
+
+%% @spec (Url::string()) -> bool()
+%% @equiv launchDefaultBrowser(Url, [])
+launchDefaultBrowser(Url)
+ when is_list(Url) ->
+ launchDefaultBrowser(Url, []).
+
+%% @spec (Url::string(), [Option]) -> bool()
+%% Option = {flags, integer()}
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxlaunchdefaultbrowser">external documentation</a>.
+launchDefaultBrowser(Url, Options)
+ when is_list(Url),is_list(Options) ->
+ Url_UC = unicode:characters_to_binary([Url,0]),
+ MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc];
+ (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,
+ BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),
+ wxe_util:call(?utils_wxLaunchDefaultBrowser,
+ <<(byte_size(Url_UC)):32/?UI,(Url_UC)/binary, 0:(((8- ((4+byte_size(Url_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>).
+
+%% @spec () -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetemailaddress">external documentation</a>.
+getEmailAddress() ->
+ wxe_util:call(?utils_wxGetEmailAddress,
+ <<>>).
+
+%% @spec () -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetuserid">external documentation</a>.
+getUserId() ->
+ wxe_util:call(?utils_wxGetUserId,
+ <<>>).
+
+%% @spec () -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgethomedir">external documentation</a>.
+getHomeDir() ->
+ wxe_util:call(?utils_wxGetHomeDir,
+ <<>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxnewid">external documentation</a>.
+newId() ->
+ wxe_util:call(?utils_wxNewId,
+ <<>>).
+
+%% @spec (Id::integer()) -> ok
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxregisterid">external documentation</a>.
+registerId(Id)
+ when is_integer(Id) ->
+ wxe_util:cast(?utils_wxRegisterId,
+ <<Id:32/?UI>>).
+
+%% @spec () -> integer()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetcurrentid">external documentation</a>.
+getCurrentId() ->
+ wxe_util:call(?utils_wxGetCurrentId,
+ <<>>).
+
+%% @spec () -> string()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxgetosdescription">external documentation</a>.
+getOsDescription() ->
+ wxe_util:call(?utils_wxGetOsDescription,
+ <<>>).
+
+%% @spec () -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxisplatformlittleendian">external documentation</a>.
+isPlatformLittleEndian() ->
+ wxe_util:call(?utils_wxIsPlatformLittleEndian,
+ <<>>).
+
+%% @spec () -> bool()
+%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#wxisplatform64bit">external documentation</a>.
+isPlatform64Bit() ->
+ wxe_util:call(?utils_wxIsPlatform64Bit,
+ <<>>).
+
diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl
new file mode 100644
index 0000000000..11f5b9e781
--- /dev/null
+++ b/lib/wx/src/gen/wxe_debug.hrl
@@ -0,0 +1,3279 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+wxdebug_table() ->
+[
+ {0, {wx, internal_batch_start, 0}},
+ {1, {wx, internal_batch_end, 0}},
+ {4, {wxObject, internal_destroy, 1}},
+ {100, {wxEvtHandler, connect, 2}},
+ {101, {wxEvtHandler, disconnect_2, 2}},
+ {102, {wxEvtHandler, disconnect_1, 1}},
+ {103, {wxEvtHandler, disconnect_0, 0}},
+ {105, {wxWindow, new_0, 0}},
+ {106, {wxWindow, new_3, 3}},
+ {108, {wxWindow, destruct, 0}},
+ {109, {wxWindow, cacheBestSize, 1}},
+ {110, {wxWindow, captureMouse, 0}},
+ {111, {wxWindow, center, 1}},
+ {112, {wxWindow, centerOnParent, 1}},
+ {113, {wxWindow, centre, 1}},
+ {114, {wxWindow, centreOnParent, 1}},
+ {115, {wxWindow, clearBackground, 0}},
+ {116, {wxWindow, clientToScreen_2, 2}},
+ {117, {wxWindow, clientToScreen_1, 1}},
+ {118, {wxWindow, close, 1}},
+ {120, {wxWindow, convertDialogToPixels, 1}},
+ {122, {wxWindow, convertPixelsToDialog, 1}},
+ {123, {wxWindow, 'Destroy', 0}},
+ {124, {wxWindow, destroyChildren, 0}},
+ {125, {wxWindow, disable, 0}},
+ {126, {wxWindow, enable, 1}},
+ {127, {wxWindow, findFocus, 0}},
+ {128, {wxWindow, findWindow_1_0, 1}},
+ {129, {wxWindow, findWindow_1_1, 1}},
+ {130, {wxWindow, findWindowById, 2}},
+ {131, {wxWindow, findWindowByName, 2}},
+ {132, {wxWindow, findWindowByLabel, 2}},
+ {133, {wxWindow, fit, 0}},
+ {134, {wxWindow, fitInside, 0}},
+ {135, {wxWindow, freeze, 0}},
+ {136, {wxWindow, getAcceleratorTable, 0}},
+ {137, {wxWindow, getBackgroundColour, 0}},
+ {138, {wxWindow, getBackgroundStyle, 0}},
+ {139, {wxWindow, getBestSize, 0}},
+ {141, {wxWindow, getCaret, 0}},
+ {142, {wxWindow, getCapture, 0}},
+ {143, {wxWindow, getCharHeight, 0}},
+ {144, {wxWindow, getCharWidth, 0}},
+ {145, {wxWindow, getChildren, 0}},
+ {148, {wxWindow, getClientSize, 0}},
+ {149, {wxWindow, getContainingSizer, 0}},
+ {150, {wxWindow, getCursor, 0}},
+ {151, {wxWindow, getDropTarget, 0}},
+ {152, {wxWindow, getEventHandler, 0}},
+ {153, {wxWindow, getExtraStyle, 0}},
+ {154, {wxWindow, getFont, 0}},
+ {155, {wxWindow, getForegroundColour, 0}},
+ {156, {wxWindow, getGrandParent, 0}},
+ {157, {wxWindow, getHandle, 0}},
+ {158, {wxWindow, getHelpText, 0}},
+ {159, {wxWindow, getId, 0}},
+ {160, {wxWindow, getLabel, 0}},
+ {161, {wxWindow, getMaxSize, 0}},
+ {162, {wxWindow, getMinSize, 0}},
+ {163, {wxWindow, getName, 0}},
+ {164, {wxWindow, getParent, 0}},
+ {166, {wxWindow, getPosition, 0}},
+ {167, {wxWindow, getRect, 0}},
+ {169, {wxWindow, getScreenPosition, 0}},
+ {170, {wxWindow, getScreenRect, 0}},
+ {171, {wxWindow, getScrollPos, 1}},
+ {172, {wxWindow, getScrollRange, 1}},
+ {173, {wxWindow, getScrollThumb, 1}},
+ {175, {wxWindow, getSize, 0}},
+ {176, {wxWindow, getSizer, 0}},
+ {177, {wxWindow, getTextExtent, 4}},
+ {178, {wxWindow, getToolTip, 0}},
+ {179, {wxWindow, getUpdateRegion, 0}},
+ {181, {wxWindow, getVirtualSize, 0}},
+ {183, {wxWindow, getWindowStyleFlag, 0}},
+ {184, {wxWindow, getWindowVariant, 0}},
+ {185, {wxWindow, hasCapture, 0}},
+ {186, {wxWindow, hasScrollbar, 1}},
+ {187, {wxWindow, hasTransparentBackground, 0}},
+ {188, {wxWindow, hide, 0}},
+ {189, {wxWindow, inheritAttributes, 0}},
+ {190, {wxWindow, initDialog, 0}},
+ {191, {wxWindow, invalidateBestSize, 0}},
+ {192, {wxWindow, isEnabled, 0}},
+ {193, {wxWindow, isExposed_2, 2}},
+ {194, {wxWindow, isExposed_4, 4}},
+ {195, {wxWindow, isExposed_1_0, 1}},
+ {196, {wxWindow, isExposed_1_1, 1}},
+ {197, {wxWindow, isRetained, 0}},
+ {198, {wxWindow, isShown, 0}},
+ {199, {wxWindow, isTopLevel, 0}},
+ {200, {wxWindow, layout, 0}},
+ {201, {wxWindow, lineDown, 0}},
+ {202, {wxWindow, lineUp, 0}},
+ {203, {wxWindow, lower, 0}},
+ {204, {wxWindow, makeModal, 1}},
+ {205, {wxWindow, move_3, 3}},
+ {206, {wxWindow, move_2, 2}},
+ {207, {wxWindow, moveAfterInTabOrder, 1}},
+ {208, {wxWindow, moveBeforeInTabOrder, 1}},
+ {209, {wxWindow, navigate, 1}},
+ {210, {wxWindow, pageDown, 0}},
+ {211, {wxWindow, pageUp, 0}},
+ {212, {wxWindow, popEventHandler, 1}},
+ {213, {wxWindow, popupMenu_2, 2}},
+ {214, {wxWindow, popupMenu_3, 3}},
+ {215, {wxWindow, raise, 0}},
+ {216, {wxWindow, refresh, 1}},
+ {217, {wxWindow, refreshRect, 2}},
+ {218, {wxWindow, releaseMouse, 0}},
+ {219, {wxWindow, removeChild, 1}},
+ {220, {wxWindow, reparent, 1}},
+ {221, {wxWindow, screenToClient_2, 2}},
+ {222, {wxWindow, screenToClient_1, 1}},
+ {224, {wxWindow, scrollLines, 1}},
+ {226, {wxWindow, scrollPages, 1}},
+ {227, {wxWindow, scrollWindow, 3}},
+ {228, {wxWindow, setAcceleratorTable, 1}},
+ {229, {wxWindow, setAutoLayout, 1}},
+ {230, {wxWindow, setBackgroundColour, 1}},
+ {231, {wxWindow, setBackgroundStyle, 1}},
+ {232, {wxWindow, setCaret, 1}},
+ {233, {wxWindow, setClientSize_2, 2}},
+ {234, {wxWindow, setClientSize_1_0, 1}},
+ {235, {wxWindow, setClientSize_1_1, 1}},
+ {236, {wxWindow, setContainingSizer, 1}},
+ {237, {wxWindow, setCursor, 1}},
+ {238, {wxWindow, setMaxSize, 1}},
+ {239, {wxWindow, setMinSize, 1}},
+ {240, {wxWindow, setOwnBackgroundColour, 1}},
+ {241, {wxWindow, setOwnFont, 1}},
+ {242, {wxWindow, setOwnForegroundColour, 1}},
+ {243, {wxWindow, setDropTarget, 1}},
+ {244, {wxWindow, setExtraStyle, 1}},
+ {245, {wxWindow, setFocus, 0}},
+ {246, {wxWindow, setFocusFromKbd, 0}},
+ {247, {wxWindow, setFont, 1}},
+ {248, {wxWindow, setForegroundColour, 1}},
+ {249, {wxWindow, setHelpText, 1}},
+ {250, {wxWindow, setId, 1}},
+ {252, {wxWindow, setLabel, 1}},
+ {253, {wxWindow, setName, 1}},
+ {254, {wxWindow, setPalette, 1}},
+ {255, {wxWindow, setScrollbar, 5}},
+ {256, {wxWindow, setScrollPos, 3}},
+ {257, {wxWindow, setSize_5, 5}},
+ {258, {wxWindow, setSize_2_0, 2}},
+ {259, {wxWindow, setSize_1, 1}},
+ {260, {wxWindow, setSize_2_1, 2}},
+ {261, {wxWindow, setSizeHints_3, 3}},
+ {262, {wxWindow, setSizeHints_2, 2}},
+ {263, {wxWindow, setSizer, 2}},
+ {264, {wxWindow, setSizerAndFit, 2}},
+ {265, {wxWindow, setThemeEnabled, 1}},
+ {266, {wxWindow, setToolTip_1_0, 1}},
+ {267, {wxWindow, setToolTip_1_1, 1}},
+ {268, {wxWindow, setVirtualSize_1, 1}},
+ {269, {wxWindow, setVirtualSize_2, 2}},
+ {270, {wxWindow, setVirtualSizeHints_3, 3}},
+ {271, {wxWindow, setVirtualSizeHints_2, 2}},
+ {272, {wxWindow, setWindowStyle, 1}},
+ {273, {wxWindow, setWindowStyleFlag, 1}},
+ {274, {wxWindow, setWindowVariant, 1}},
+ {275, {wxWindow, shouldInheritColours, 0}},
+ {276, {wxWindow, show, 1}},
+ {277, {wxWindow, thaw, 0}},
+ {278, {wxWindow, transferDataFromWindow, 0}},
+ {279, {wxWindow, transferDataToWindow, 0}},
+ {280, {wxWindow, update, 0}},
+ {281, {wxWindow, updateWindowUI, 1}},
+ {282, {wxWindow, validate, 0}},
+ {283, {wxWindow, warpPointer, 2}},
+ {284, {wxTopLevelWindow, getIcon, 0}},
+ {285, {wxTopLevelWindow, getIcons, 0}},
+ {286, {wxTopLevelWindow, getTitle, 0}},
+ {287, {wxTopLevelWindow, isActive, 0}},
+ {288, {wxTopLevelWindow, iconize, 1}},
+ {289, {wxTopLevelWindow, isFullScreen, 0}},
+ {290, {wxTopLevelWindow, isIconized, 0}},
+ {291, {wxTopLevelWindow, isMaximized, 0}},
+ {292, {wxTopLevelWindow, maximize, 1}},
+ {293, {wxTopLevelWindow, requestUserAttention, 1}},
+ {294, {wxTopLevelWindow, setIcon, 1}},
+ {295, {wxTopLevelWindow, setIcons, 1}},
+ {296, {wxTopLevelWindow, centerOnScreen, 1}},
+ {297, {wxTopLevelWindow, centreOnScreen, 1}},
+ {299, {wxTopLevelWindow, setShape, 1}},
+ {300, {wxTopLevelWindow, setTitle, 1}},
+ {301, {wxTopLevelWindow, showFullScreen, 2}},
+ {303, {wxFrame, new_4, 4}},
+ {304, {wxFrame, new_0, 0}},
+ {306, {wxFrame, destruct, 0}},
+ {307, {wxFrame, create, 4}},
+ {308, {wxFrame, createStatusBar, 1}},
+ {309, {wxFrame, createToolBar, 1}},
+ {310, {wxFrame, getClientAreaOrigin, 0}},
+ {311, {wxFrame, getMenuBar, 0}},
+ {312, {wxFrame, getStatusBar, 0}},
+ {313, {wxFrame, getStatusBarPane, 0}},
+ {314, {wxFrame, getToolBar, 0}},
+ {315, {wxFrame, processCommand, 1}},
+ {316, {wxFrame, sendSizeEvent, 0}},
+ {317, {wxFrame, setMenuBar, 1}},
+ {318, {wxFrame, setStatusBar, 1}},
+ {319, {wxFrame, setStatusBarPane, 1}},
+ {320, {wxFrame, setStatusText, 2}},
+ {321, {wxFrame, setStatusWidths, 2}},
+ {322, {wxFrame, setToolBar, 1}},
+ {323, {wxMiniFrame, new_0, 0}},
+ {324, {wxMiniFrame, new_4, 4}},
+ {325, {wxMiniFrame, create, 4}},
+ {326, {wxMiniFrame, 'Destroy', undefined}},
+ {327, {wxSplashScreen, new_0, 0}},
+ {328, {wxSplashScreen, new_6, 6}},
+ {329, {wxSplashScreen, destruct, 0}},
+ {330, {wxSplashScreen, getSplashStyle, 0}},
+ {331, {wxSplashScreen, getTimeout, 0}},
+ {332, {wxPanel, new_0, 0}},
+ {333, {wxPanel, new_6, 6}},
+ {334, {wxPanel, new_2, 2}},
+ {335, {wxPanel, destruct, 0}},
+ {336, {wxPanel, initDialog, 0}},
+ {337, {wxScrolledWindow, new_0, 0}},
+ {338, {wxScrolledWindow, new_2, 2}},
+ {339, {wxScrolledWindow, destruct, 0}},
+ {340, {wxScrolledWindow, calcScrolledPosition_4, 4}},
+ {341, {wxScrolledWindow, calcScrolledPosition_1, 1}},
+ {342, {wxScrolledWindow, calcUnscrolledPosition_4, 4}},
+ {343, {wxScrolledWindow, calcUnscrolledPosition_1, 1}},
+ {344, {wxScrolledWindow, enableScrolling, 2}},
+ {345, {wxScrolledWindow, getScrollPixelsPerUnit, 2}},
+ {346, {wxScrolledWindow, getViewStart, 2}},
+ {347, {wxScrolledWindow, doPrepareDC, 1}},
+ {348, {wxScrolledWindow, prepareDC, 1}},
+ {349, {wxScrolledWindow, scroll, 2}},
+ {350, {wxScrolledWindow, setScrollbars, 5}},
+ {351, {wxScrolledWindow, setScrollRate, 2}},
+ {352, {wxScrolledWindow, setTargetWindow, 1}},
+ {353, {wxSashWindow, new_0, 0}},
+ {354, {wxSashWindow, new_2, 2}},
+ {355, {wxSashWindow, destruct, 0}},
+ {356, {wxSashWindow, getSashVisible, 1}},
+ {357, {wxSashWindow, getMaximumSizeX, 0}},
+ {358, {wxSashWindow, getMaximumSizeY, 0}},
+ {359, {wxSashWindow, getMinimumSizeX, 0}},
+ {360, {wxSashWindow, getMinimumSizeY, 0}},
+ {361, {wxSashWindow, setMaximumSizeX, 1}},
+ {362, {wxSashWindow, setMaximumSizeY, 1}},
+ {363, {wxSashWindow, setMinimumSizeX, 1}},
+ {364, {wxSashWindow, setMinimumSizeY, 1}},
+ {365, {wxSashWindow, setSashVisible, 2}},
+ {366, {wxSashLayoutWindow, new_0, 0}},
+ {367, {wxSashLayoutWindow, new_2, 2}},
+ {368, {wxSashLayoutWindow, create, 2}},
+ {369, {wxSashLayoutWindow, getAlignment, 0}},
+ {370, {wxSashLayoutWindow, getOrientation, 0}},
+ {371, {wxSashLayoutWindow, setAlignment, 1}},
+ {372, {wxSashLayoutWindow, setDefaultSize, 1}},
+ {373, {wxSashLayoutWindow, setOrientation, 1}},
+ {374, {wxSashLayoutWindow, 'Destroy', undefined}},
+ {375, {wxGrid, new_0, 0}},
+ {376, {wxGrid, new_3, 3}},
+ {377, {wxGrid, new_4, 4}},
+ {378, {wxGrid, destruct, 0}},
+ {379, {wxGrid, appendCols, 1}},
+ {380, {wxGrid, appendRows, 1}},
+ {381, {wxGrid, autoSize, 0}},
+ {382, {wxGrid, autoSizeColumn, 2}},
+ {383, {wxGrid, autoSizeColumns, 1}},
+ {384, {wxGrid, autoSizeRow, 2}},
+ {385, {wxGrid, autoSizeRows, 1}},
+ {386, {wxGrid, beginBatch, 0}},
+ {387, {wxGrid, blockToDeviceRect, 2}},
+ {388, {wxGrid, canDragColSize, 0}},
+ {389, {wxGrid, canDragRowSize, 0}},
+ {390, {wxGrid, canDragGridSize, 0}},
+ {391, {wxGrid, canEnableCellControl, 0}},
+ {392, {wxGrid, cellToRect_2, 2}},
+ {393, {wxGrid, cellToRect_1, 1}},
+ {394, {wxGrid, clearGrid, 0}},
+ {395, {wxGrid, clearSelection, 0}},
+ {396, {wxGrid, createGrid, 3}},
+ {397, {wxGrid, deleteCols, 1}},
+ {398, {wxGrid, deleteRows, 1}},
+ {399, {wxGrid, disableCellEditControl, 0}},
+ {400, {wxGrid, disableDragColSize, 0}},
+ {401, {wxGrid, disableDragGridSize, 0}},
+ {402, {wxGrid, disableDragRowSize, 0}},
+ {403, {wxGrid, enableCellEditControl, 1}},
+ {404, {wxGrid, enableDragColSize, 1}},
+ {405, {wxGrid, enableDragGridSize, 1}},
+ {406, {wxGrid, enableDragRowSize, 1}},
+ {407, {wxGrid, enableEditing, 1}},
+ {408, {wxGrid, enableGridLines, 1}},
+ {409, {wxGrid, endBatch, 0}},
+ {410, {wxGrid, fit, 0}},
+ {411, {wxGrid, forceRefresh, 0}},
+ {412, {wxGrid, getBatchCount, 0}},
+ {413, {wxGrid, getCellAlignment, 4}},
+ {414, {wxGrid, getCellBackgroundColour, 2}},
+ {415, {wxGrid, getCellEditor, 2}},
+ {416, {wxGrid, getCellFont, 2}},
+ {417, {wxGrid, getCellRenderer, 2}},
+ {418, {wxGrid, getCellTextColour, 2}},
+ {419, {wxGrid, getCellValue_2, 2}},
+ {420, {wxGrid, getCellValue_1, 1}},
+ {421, {wxGrid, getColLabelAlignment, 2}},
+ {422, {wxGrid, getColLabelSize, 0}},
+ {423, {wxGrid, getColLabelValue, 1}},
+ {424, {wxGrid, getColMinimalAcceptableWidth, 0}},
+ {425, {wxGrid, getDefaultCellAlignment, 2}},
+ {426, {wxGrid, getDefaultCellBackgroundColour, 0}},
+ {427, {wxGrid, getDefaultCellFont, 0}},
+ {428, {wxGrid, getDefaultCellTextColour, 0}},
+ {429, {wxGrid, getDefaultColLabelSize, 0}},
+ {430, {wxGrid, getDefaultColSize, 0}},
+ {431, {wxGrid, getDefaultEditor, 0}},
+ {432, {wxGrid, getDefaultEditorForCell_2, 2}},
+ {433, {wxGrid, getDefaultEditorForCell_1, 1}},
+ {434, {wxGrid, getDefaultEditorForType, 1}},
+ {435, {wxGrid, getDefaultRenderer, 0}},
+ {436, {wxGrid, getDefaultRendererForCell, 2}},
+ {437, {wxGrid, getDefaultRendererForType, 1}},
+ {438, {wxGrid, getDefaultRowLabelSize, 0}},
+ {439, {wxGrid, getDefaultRowSize, 0}},
+ {440, {wxGrid, getGridCursorCol, 0}},
+ {441, {wxGrid, getGridCursorRow, 0}},
+ {442, {wxGrid, getGridLineColour, 0}},
+ {443, {wxGrid, gridLinesEnabled, 0}},
+ {444, {wxGrid, getLabelBackgroundColour, 0}},
+ {445, {wxGrid, getLabelFont, 0}},
+ {446, {wxGrid, getLabelTextColour, 0}},
+ {447, {wxGrid, getNumberCols, 0}},
+ {448, {wxGrid, getNumberRows, 0}},
+ {449, {wxGrid, getOrCreateCellAttr, 2}},
+ {450, {wxGrid, getRowMinimalAcceptableHeight, 0}},
+ {451, {wxGrid, getRowLabelAlignment, 2}},
+ {452, {wxGrid, getRowLabelSize, 0}},
+ {453, {wxGrid, getRowLabelValue, 1}},
+ {454, {wxGrid, getRowSize, 1}},
+ {455, {wxGrid, getScrollLineX, 0}},
+ {456, {wxGrid, getScrollLineY, 0}},
+ {457, {wxGrid, getSelectedCells, 0}},
+ {458, {wxGrid, getSelectedCols, 0}},
+ {459, {wxGrid, getSelectedRows, 0}},
+ {460, {wxGrid, getSelectionBackground, 0}},
+ {461, {wxGrid, getSelectionBlockTopLeft, 0}},
+ {462, {wxGrid, getSelectionBlockBottomRight, 0}},
+ {463, {wxGrid, getSelectionForeground, 0}},
+ {464, {wxGrid, getViewWidth, 0}},
+ {465, {wxGrid, getGridWindow, 0}},
+ {466, {wxGrid, getGridRowLabelWindow, 0}},
+ {467, {wxGrid, getGridColLabelWindow, 0}},
+ {468, {wxGrid, getGridCornerLabelWindow, 0}},
+ {469, {wxGrid, hideCellEditControl, 0}},
+ {470, {wxGrid, insertCols, 1}},
+ {471, {wxGrid, insertRows, 1}},
+ {472, {wxGrid, isCellEditControlEnabled, 0}},
+ {473, {wxGrid, isCurrentCellReadOnly, 0}},
+ {474, {wxGrid, isEditable, 0}},
+ {475, {wxGrid, isInSelection_2, 2}},
+ {476, {wxGrid, isInSelection_1, 1}},
+ {477, {wxGrid, isReadOnly, 2}},
+ {478, {wxGrid, isSelection, 0}},
+ {479, {wxGrid, isVisible_3, 3}},
+ {480, {wxGrid, isVisible_2, 2}},
+ {481, {wxGrid, makeCellVisible_2, 2}},
+ {482, {wxGrid, makeCellVisible_1, 1}},
+ {483, {wxGrid, moveCursorDown, 1}},
+ {484, {wxGrid, moveCursorLeft, 1}},
+ {485, {wxGrid, moveCursorRight, 1}},
+ {486, {wxGrid, moveCursorUp, 1}},
+ {487, {wxGrid, moveCursorDownBlock, 1}},
+ {488, {wxGrid, moveCursorLeftBlock, 1}},
+ {489, {wxGrid, moveCursorRightBlock, 1}},
+ {490, {wxGrid, moveCursorUpBlock, 1}},
+ {491, {wxGrid, movePageDown, 0}},
+ {492, {wxGrid, movePageUp, 0}},
+ {493, {wxGrid, registerDataType, 3}},
+ {494, {wxGrid, saveEditControlValue, 0}},
+ {495, {wxGrid, selectAll, 0}},
+ {496, {wxGrid, selectBlock_5, 5}},
+ {497, {wxGrid, selectBlock_3, 3}},
+ {498, {wxGrid, selectCol, 2}},
+ {499, {wxGrid, selectRow, 2}},
+ {500, {wxGrid, setCellAlignment_4, 4}},
+ {501, {wxGrid, setCellAlignment_3, 3}},
+ {502, {wxGrid, setCellAlignment_1, 1}},
+ {503, {wxGrid, setCellBackgroundColour_3_0, 3}},
+ {504, {wxGrid, setCellBackgroundColour_1, 1}},
+ {505, {wxGrid, setCellBackgroundColour_3_1, 3}},
+ {506, {wxGrid, setCellEditor, 3}},
+ {507, {wxGrid, setCellFont, 3}},
+ {508, {wxGrid, setCellRenderer, 3}},
+ {509, {wxGrid, setCellTextColour_3_0, 3}},
+ {510, {wxGrid, setCellTextColour_3_1, 3}},
+ {511, {wxGrid, setCellTextColour_1, 1}},
+ {512, {wxGrid, setCellValue_3_0, 3}},
+ {513, {wxGrid, setCellValue_2, 2}},
+ {514, {wxGrid, setCellValue_3_1, 3}},
+ {515, {wxGrid, setColAttr, 2}},
+ {516, {wxGrid, setColFormatBool, 1}},
+ {517, {wxGrid, setColFormatNumber, 1}},
+ {518, {wxGrid, setColFormatFloat, 2}},
+ {519, {wxGrid, setColFormatCustom, 2}},
+ {520, {wxGrid, setColLabelAlignment, 2}},
+ {521, {wxGrid, setColLabelSize, 1}},
+ {522, {wxGrid, setColLabelValue, 2}},
+ {523, {wxGrid, setColMinimalWidth, 2}},
+ {524, {wxGrid, setColMinimalAcceptableWidth, 1}},
+ {525, {wxGrid, setColSize, 2}},
+ {526, {wxGrid, setDefaultCellAlignment, 2}},
+ {527, {wxGrid, setDefaultCellBackgroundColour, 1}},
+ {528, {wxGrid, setDefaultCellFont, 1}},
+ {529, {wxGrid, setDefaultCellTextColour, 1}},
+ {530, {wxGrid, setDefaultEditor, 1}},
+ {531, {wxGrid, setDefaultRenderer, 1}},
+ {532, {wxGrid, setDefaultColSize, 2}},
+ {533, {wxGrid, setDefaultRowSize, 2}},
+ {534, {wxGrid, setGridCursor, 2}},
+ {535, {wxGrid, setGridLineColour, 1}},
+ {536, {wxGrid, setLabelBackgroundColour, 1}},
+ {537, {wxGrid, setLabelFont, 1}},
+ {538, {wxGrid, setLabelTextColour, 1}},
+ {539, {wxGrid, setMargins, 2}},
+ {540, {wxGrid, setReadOnly, 3}},
+ {541, {wxGrid, setRowAttr, 2}},
+ {542, {wxGrid, setRowLabelAlignment, 2}},
+ {543, {wxGrid, setRowLabelSize, 1}},
+ {544, {wxGrid, setRowLabelValue, 2}},
+ {545, {wxGrid, setRowMinimalHeight, 2}},
+ {546, {wxGrid, setRowMinimalAcceptableHeight, 1}},
+ {547, {wxGrid, setRowSize, 2}},
+ {548, {wxGrid, setScrollLineX, 1}},
+ {549, {wxGrid, setScrollLineY, 1}},
+ {550, {wxGrid, setSelectionBackground, 1}},
+ {551, {wxGrid, setSelectionForeground, 1}},
+ {552, {wxGrid, setSelectionMode, 1}},
+ {553, {wxGrid, showCellEditControl, 0}},
+ {554, {wxGrid, xToCol, 2}},
+ {555, {wxGrid, xToEdgeOfCol, 1}},
+ {556, {wxGrid, yToEdgeOfRow, 1}},
+ {557, {wxGrid, yToRow, 1}},
+ {558, {wxGridCellRenderer, draw, 7}},
+ {559, {wxGridCellRenderer, getBestSize, 5}},
+ {560, {wxGridCellEditor, create, 3}},
+ {561, {wxGridCellEditor, isCreated, 0}},
+ {562, {wxGridCellEditor, setSize, 1}},
+ {563, {wxGridCellEditor, show, 2}},
+ {564, {wxGridCellEditor, paintBackground, 2}},
+ {565, {wxGridCellEditor, beginEdit, 3}},
+ {566, {wxGridCellEditor, endEdit, 3}},
+ {567, {wxGridCellEditor, reset, 0}},
+ {568, {wxGridCellEditor, startingKey, 1}},
+ {569, {wxGridCellEditor, startingClick, 0}},
+ {570, {wxGridCellEditor, handleReturn, 1}},
+ {571, {wxGridCellBoolRenderer, new, 0}},
+ {572, {wxGridCellBoolRenderer, 'Destroy', undefined}},
+ {573, {wxGridCellBoolEditor, new, 0}},
+ {574, {wxGridCellBoolEditor, isTrueValue, 1}},
+ {575, {wxGridCellBoolEditor, useStringValues, 1}},
+ {576, {wxGridCellBoolEditor, 'Destroy', undefined}},
+ {577, {wxGridCellFloatRenderer, new, 1}},
+ {578, {wxGridCellFloatRenderer, getPrecision, 0}},
+ {579, {wxGridCellFloatRenderer, getWidth, 0}},
+ {580, {wxGridCellFloatRenderer, setParameters, 1}},
+ {581, {wxGridCellFloatRenderer, setPrecision, 1}},
+ {582, {wxGridCellFloatRenderer, setWidth, 1}},
+ {583, {wxGridCellFloatRenderer, 'Destroy', undefined}},
+ {584, {wxGridCellFloatEditor, new, 1}},
+ {585, {wxGridCellFloatEditor, setParameters, 1}},
+ {586, {wxGridCellFloatEditor, 'Destroy', undefined}},
+ {587, {wxGridCellStringRenderer, new, 0}},
+ {588, {wxGridCellStringRenderer, 'Destroy', undefined}},
+ {589, {wxGridCellTextEditor, new, 0}},
+ {590, {wxGridCellTextEditor, setParameters, 1}},
+ {591, {wxGridCellTextEditor, 'Destroy', undefined}},
+ {593, {wxGridCellChoiceEditor, new, 2}},
+ {594, {wxGridCellChoiceEditor, setParameters, 1}},
+ {595, {wxGridCellChoiceEditor, 'Destroy', undefined}},
+ {596, {wxGridCellNumberRenderer, new, 0}},
+ {597, {wxGridCellNumberRenderer, 'Destroy', undefined}},
+ {598, {wxGridCellNumberEditor, new, 1}},
+ {599, {wxGridCellNumberEditor, getValue, 0}},
+ {600, {wxGridCellNumberEditor, setParameters, 1}},
+ {601, {wxGridCellNumberEditor, 'Destroy', undefined}},
+ {602, {wxGridCellAttr, setTextColour, 1}},
+ {603, {wxGridCellAttr, setBackgroundColour, 1}},
+ {604, {wxGridCellAttr, setFont, 1}},
+ {605, {wxGridCellAttr, setAlignment, 2}},
+ {606, {wxGridCellAttr, setReadOnly, 1}},
+ {607, {wxGridCellAttr, setRenderer, 1}},
+ {608, {wxGridCellAttr, setEditor, 1}},
+ {609, {wxGridCellAttr, hasTextColour, 0}},
+ {610, {wxGridCellAttr, hasBackgroundColour, 0}},
+ {611, {wxGridCellAttr, hasFont, 0}},
+ {612, {wxGridCellAttr, hasAlignment, 0}},
+ {613, {wxGridCellAttr, hasRenderer, 0}},
+ {614, {wxGridCellAttr, hasEditor, 0}},
+ {615, {wxGridCellAttr, getTextColour, 0}},
+ {616, {wxGridCellAttr, getBackgroundColour, 0}},
+ {617, {wxGridCellAttr, getFont, 0}},
+ {618, {wxGridCellAttr, getAlignment, 2}},
+ {619, {wxGridCellAttr, getRenderer, 3}},
+ {620, {wxGridCellAttr, getEditor, 3}},
+ {621, {wxGridCellAttr, isReadOnly, 0}},
+ {622, {wxGridCellAttr, setDefAttr, 1}},
+ {623, {wxDC, blit, 5}},
+ {624, {wxDC, calcBoundingBox, 2}},
+ {625, {wxDC, clear, 0}},
+ {626, {wxDC, computeScaleAndOrigin, 0}},
+ {627, {wxDC, crossHair, 1}},
+ {628, {wxDC, destroyClippingRegion, 0}},
+ {629, {wxDC, deviceToLogicalX, 1}},
+ {630, {wxDC, deviceToLogicalXRel, 1}},
+ {631, {wxDC, deviceToLogicalY, 1}},
+ {632, {wxDC, deviceToLogicalYRel, 1}},
+ {633, {wxDC, drawArc, 3}},
+ {634, {wxDC, drawBitmap, 3}},
+ {635, {wxDC, drawCheckMark, 1}},
+ {636, {wxDC, drawCircle, 2}},
+ {638, {wxDC, drawEllipse_2, 2}},
+ {639, {wxDC, drawEllipse_1, 1}},
+ {640, {wxDC, drawEllipticArc, 4}},
+ {641, {wxDC, drawIcon, 2}},
+ {642, {wxDC, drawLabel, 3}},
+ {643, {wxDC, drawLine, 2}},
+ {644, {wxDC, drawLines, 3}},
+ {646, {wxDC, drawPolygon, 3}},
+ {648, {wxDC, drawPoint, 1}},
+ {650, {wxDC, drawRectangle_2, 2}},
+ {651, {wxDC, drawRectangle_1, 1}},
+ {652, {wxDC, drawRotatedText, 3}},
+ {654, {wxDC, drawRoundedRectangle_3, 3}},
+ {655, {wxDC, drawRoundedRectangle_2, 2}},
+ {656, {wxDC, drawText, 2}},
+ {657, {wxDC, endDoc, 0}},
+ {658, {wxDC, endPage, 0}},
+ {659, {wxDC, floodFill, 3}},
+ {660, {wxDC, getBackground, 0}},
+ {661, {wxDC, getBackgroundMode, 0}},
+ {662, {wxDC, getBrush, 0}},
+ {663, {wxDC, getCharHeight, 0}},
+ {664, {wxDC, getCharWidth, 0}},
+ {665, {wxDC, getClippingBox, 1}},
+ {666, {wxDC, getFont, 0}},
+ {667, {wxDC, getLayoutDirection, 0}},
+ {668, {wxDC, getLogicalFunction, 0}},
+ {669, {wxDC, getMapMode, 0}},
+ {670, {wxDC, getMultiLineTextExtent_4, 4}},
+ {671, {wxDC, getMultiLineTextExtent_1, 1}},
+ {672, {wxDC, getPartialTextExtents, 2}},
+ {673, {wxDC, getPen, 0}},
+ {674, {wxDC, getPixel, 2}},
+ {675, {wxDC, getPPI, 0}},
+ {677, {wxDC, getSize, 0}},
+ {679, {wxDC, getSizeMM, 0}},
+ {680, {wxDC, getTextBackground, 0}},
+ {681, {wxDC, getTextExtent_4, 4}},
+ {682, {wxDC, getTextExtent_1, 1}},
+ {684, {wxDC, getTextForeground, 0}},
+ {685, {wxDC, getUserScale, 2}},
+ {686, {wxDC, gradientFillConcentric_3, 3}},
+ {687, {wxDC, gradientFillConcentric_4, 4}},
+ {688, {wxDC, gradientFillLinear, 4}},
+ {689, {wxDC, logicalToDeviceX, 1}},
+ {690, {wxDC, logicalToDeviceXRel, 1}},
+ {691, {wxDC, logicalToDeviceY, 1}},
+ {692, {wxDC, logicalToDeviceYRel, 1}},
+ {693, {wxDC, maxX, 0}},
+ {694, {wxDC, maxY, 0}},
+ {695, {wxDC, minX, 0}},
+ {696, {wxDC, minY, 0}},
+ {697, {wxDC, isOk, 0}},
+ {698, {wxDC, resetBoundingBox, 0}},
+ {699, {wxDC, setAxisOrientation, 2}},
+ {700, {wxDC, setBackground, 1}},
+ {701, {wxDC, setBackgroundMode, 1}},
+ {702, {wxDC, setBrush, 1}},
+ {704, {wxDC, setClippingRegion_2, 2}},
+ {705, {wxDC, setClippingRegion_1_1, 1}},
+ {706, {wxDC, setClippingRegion_1_0, 1}},
+ {707, {wxDC, setDeviceOrigin, 2}},
+ {708, {wxDC, setFont, 1}},
+ {709, {wxDC, setLayoutDirection, 1}},
+ {710, {wxDC, setLogicalFunction, 1}},
+ {711, {wxDC, setMapMode, 1}},
+ {712, {wxDC, setPalette, 1}},
+ {713, {wxDC, setPen, 1}},
+ {714, {wxDC, setTextBackground, 1}},
+ {715, {wxDC, setTextForeground, 1}},
+ {716, {wxDC, setUserScale, 2}},
+ {717, {wxDC, startDoc, 1}},
+ {718, {wxDC, startPage, 0}},
+ {719, {wxMirrorDC, new, 2}},
+ {720, {wxMirrorDC, 'Destroy', undefined}},
+ {721, {wxScreenDC, new, 0}},
+ {722, {wxScreenDC, destruct, 0}},
+ {723, {wxPostScriptDC, new_0, 0}},
+ {724, {wxPostScriptDC, new_1, 1}},
+ {725, {wxPostScriptDC, destruct, 0}},
+ {726, {wxPostScriptDC, setResolution, 1}},
+ {727, {wxPostScriptDC, getResolution, 0}},
+ {728, {wxWindowDC, new_0, 0}},
+ {729, {wxWindowDC, new_1, 1}},
+ {730, {wxWindowDC, destruct, 0}},
+ {731, {wxClientDC, new_0, 0}},
+ {732, {wxClientDC, new_1, 1}},
+ {733, {wxClientDC, 'Destroy', undefined}},
+ {734, {wxPaintDC, new_0, 0}},
+ {735, {wxPaintDC, new_1, 1}},
+ {736, {wxPaintDC, 'Destroy', undefined}},
+ {738, {wxMemoryDC, new_1_0, 1}},
+ {739, {wxMemoryDC, new_1_1, 1}},
+ {740, {wxMemoryDC, new_0, 0}},
+ {742, {wxMemoryDC, destruct, 0}},
+ {743, {wxMemoryDC, selectObject, 1}},
+ {744, {wxMemoryDC, selectObjectAsSource, 1}},
+ {745, {wxBufferedDC, new_0, 0}},
+ {746, {wxBufferedDC, new_2, 2}},
+ {747, {wxBufferedDC, new_3, 3}},
+ {748, {wxBufferedDC, destruct, 0}},
+ {749, {wxBufferedDC, init_2, 2}},
+ {750, {wxBufferedDC, init_3, 3}},
+ {751, {wxBufferedPaintDC, new_3, 3}},
+ {752, {wxBufferedPaintDC, new_2, 2}},
+ {753, {wxBufferedPaintDC, destruct, 0}},
+ {754, {wxGraphicsObject, getRenderer, 0}},
+ {755, {wxGraphicsObject, isNull, 0}},
+ {756, {wxGraphicsContext, create_1_1, 1}},
+ {757, {wxGraphicsContext, create_1_0, 1}},
+ {758, {wxGraphicsContext, create_0, 0}},
+ {759, {wxGraphicsContext, createPen, 1}},
+ {760, {wxGraphicsContext, createBrush, 1}},
+ {761, {wxGraphicsContext, createRadialGradientBrush, 7}},
+ {762, {wxGraphicsContext, createLinearGradientBrush, 6}},
+ {763, {wxGraphicsContext, createFont, 2}},
+ {764, {wxGraphicsContext, createMatrix, 1}},
+ {765, {wxGraphicsContext, createPath, 0}},
+ {766, {wxGraphicsContext, clip_1, 1}},
+ {767, {wxGraphicsContext, clip_4, 4}},
+ {768, {wxGraphicsContext, resetClip, 0}},
+ {769, {wxGraphicsContext, drawBitmap, 5}},
+ {770, {wxGraphicsContext, drawEllipse, 4}},
+ {771, {wxGraphicsContext, drawIcon, 5}},
+ {772, {wxGraphicsContext, drawLines, 3}},
+ {773, {wxGraphicsContext, drawPath, 2}},
+ {774, {wxGraphicsContext, drawRectangle, 4}},
+ {775, {wxGraphicsContext, drawRoundedRectangle, 5}},
+ {776, {wxGraphicsContext, drawText_3, 3}},
+ {777, {wxGraphicsContext, drawText_4_0, 4}},
+ {778, {wxGraphicsContext, drawText_4_1, 4}},
+ {779, {wxGraphicsContext, drawText_5, 5}},
+ {780, {wxGraphicsContext, fillPath, 2}},
+ {781, {wxGraphicsContext, strokePath, 1}},
+ {782, {wxGraphicsContext, getNativeContext, 0}},
+ {783, {wxGraphicsContext, getPartialTextExtents, 2}},
+ {784, {wxGraphicsContext, getTextExtent, 5}},
+ {785, {wxGraphicsContext, rotate, 1}},
+ {786, {wxGraphicsContext, scale, 2}},
+ {787, {wxGraphicsContext, translate, 2}},
+ {788, {wxGraphicsContext, getTransform, 0}},
+ {789, {wxGraphicsContext, setTransform, 1}},
+ {790, {wxGraphicsContext, concatTransform, 1}},
+ {791, {wxGraphicsContext, setBrush_1_1, 1}},
+ {792, {wxGraphicsContext, setBrush_1_0, 1}},
+ {793, {wxGraphicsContext, setFont_1, 1}},
+ {794, {wxGraphicsContext, setFont_2, 2}},
+ {795, {wxGraphicsContext, setPen_1_0, 1}},
+ {796, {wxGraphicsContext, setPen_1_1, 1}},
+ {797, {wxGraphicsContext, strokeLine, 4}},
+ {798, {wxGraphicsContext, strokeLines_2, 2}},
+ {799, {wxGraphicsContext, strokeLines_3, 3}},
+ {800, {wxGraphicsMatrix, concat, 1}},
+ {802, {wxGraphicsMatrix, get, 1}},
+ {803, {wxGraphicsMatrix, getNativeMatrix, 0}},
+ {804, {wxGraphicsMatrix, invert, 0}},
+ {805, {wxGraphicsMatrix, isEqual, 1}},
+ {807, {wxGraphicsMatrix, isIdentity, 0}},
+ {808, {wxGraphicsMatrix, rotate, 1}},
+ {809, {wxGraphicsMatrix, scale, 2}},
+ {810, {wxGraphicsMatrix, translate, 2}},
+ {811, {wxGraphicsMatrix, set, 1}},
+ {812, {wxGraphicsMatrix, transformPoint, 2}},
+ {813, {wxGraphicsMatrix, transformDistance, 2}},
+ {814, {wxGraphicsPath, moveToPoint_2, 2}},
+ {815, {wxGraphicsPath, moveToPoint_1, 1}},
+ {816, {wxGraphicsPath, addArc_6, 6}},
+ {817, {wxGraphicsPath, addArc_5, 5}},
+ {818, {wxGraphicsPath, addArcToPoint, 5}},
+ {819, {wxGraphicsPath, addCircle, 3}},
+ {820, {wxGraphicsPath, addCurveToPoint_6, 6}},
+ {821, {wxGraphicsPath, addCurveToPoint_3, 3}},
+ {822, {wxGraphicsPath, addEllipse, 4}},
+ {823, {wxGraphicsPath, addLineToPoint_2, 2}},
+ {824, {wxGraphicsPath, addLineToPoint_1, 1}},
+ {825, {wxGraphicsPath, addPath, 1}},
+ {826, {wxGraphicsPath, addQuadCurveToPoint, 4}},
+ {827, {wxGraphicsPath, addRectangle, 4}},
+ {828, {wxGraphicsPath, addRoundedRectangle, 5}},
+ {829, {wxGraphicsPath, closeSubpath, 0}},
+ {830, {wxGraphicsPath, contains_3, 3}},
+ {831, {wxGraphicsPath, contains_2, 2}},
+ {833, {wxGraphicsPath, getBox, 0}},
+ {835, {wxGraphicsPath, getCurrentPoint, 0}},
+ {836, {wxGraphicsPath, transform, 1}},
+ {837, {wxGraphicsRenderer, getDefaultRenderer, 0}},
+ {838, {wxGraphicsRenderer, createContext_1_1, 1}},
+ {839, {wxGraphicsRenderer, createContext_1_0, 1}},
+ {840, {wxGraphicsRenderer, createPen, 1}},
+ {841, {wxGraphicsRenderer, createBrush, 1}},
+ {842, {wxGraphicsRenderer, createLinearGradientBrush, 6}},
+ {843, {wxGraphicsRenderer, createRadialGradientBrush, 7}},
+ {844, {wxGraphicsRenderer, createFont, 2}},
+ {845, {wxGraphicsRenderer, createMatrix, 1}},
+ {846, {wxGraphicsRenderer, createPath, 0}},
+ {848, {wxMenuBar, new_1, 1}},
+ {850, {wxMenuBar, new_0, 0}},
+ {852, {wxMenuBar, destruct, 0}},
+ {853, {wxMenuBar, append, 2}},
+ {854, {wxMenuBar, check, 2}},
+ {855, {wxMenuBar, enable_2, 2}},
+ {856, {wxMenuBar, enable_1, 1}},
+ {857, {wxMenuBar, enableTop, 2}},
+ {858, {wxMenuBar, findMenu, 1}},
+ {859, {wxMenuBar, findMenuItem, 2}},
+ {860, {wxMenuBar, findItem, 2}},
+ {861, {wxMenuBar, getHelpString, 1}},
+ {862, {wxMenuBar, getLabel_1, 1}},
+ {863, {wxMenuBar, getLabel_0, 0}},
+ {864, {wxMenuBar, getLabelTop, 1}},
+ {865, {wxMenuBar, getMenu, 1}},
+ {866, {wxMenuBar, getMenuCount, 0}},
+ {867, {wxMenuBar, insert, 3}},
+ {868, {wxMenuBar, isChecked, 1}},
+ {869, {wxMenuBar, isEnabled_1, 1}},
+ {870, {wxMenuBar, isEnabled_0, 0}},
+ {871, {wxMenuBar, remove, 1}},
+ {872, {wxMenuBar, replace, 3}},
+ {873, {wxMenuBar, setHelpString, 2}},
+ {874, {wxMenuBar, setLabel_2, 2}},
+ {875, {wxMenuBar, setLabel_1, 1}},
+ {876, {wxMenuBar, setLabelTop, 2}},
+ {877, {wxControl, getLabel, 0}},
+ {878, {wxControl, setLabel, 1}},
+ {879, {wxControlWithItems, append_1, 1}},
+ {880, {wxControlWithItems, append_2, 2}},
+ {881, {wxControlWithItems, appendStrings_1, 1}},
+ {882, {wxControlWithItems, clear, 0}},
+ {883, {wxControlWithItems, delete, 1}},
+ {884, {wxControlWithItems, findString, 2}},
+ {886, {wxControlWithItems, getClientData, 1}},
+ {888, {wxControlWithItems, setClientData, 2}},
+ {889, {wxControlWithItems, getCount, 0}},
+ {890, {wxControlWithItems, getSelection, 0}},
+ {891, {wxControlWithItems, getString, 1}},
+ {892, {wxControlWithItems, getStringSelection, 0}},
+ {893, {wxControlWithItems, insert_2, 2}},
+ {894, {wxControlWithItems, insert_3, 3}},
+ {895, {wxControlWithItems, isEmpty, 0}},
+ {896, {wxControlWithItems, select, 1}},
+ {897, {wxControlWithItems, setSelection, 1}},
+ {898, {wxControlWithItems, setString, 2}},
+ {899, {wxControlWithItems, setStringSelection, 1}},
+ {902, {wxMenu, new_2, 2}},
+ {903, {wxMenu, new_1, 1}},
+ {905, {wxMenu, destruct, 0}},
+ {906, {wxMenu, append_3, 3}},
+ {907, {wxMenu, append_1, 1}},
+ {908, {wxMenu, append_4_0, 4}},
+ {909, {wxMenu, append_4_1, 4}},
+ {910, {wxMenu, appendCheckItem, 3}},
+ {911, {wxMenu, appendRadioItem, 3}},
+ {912, {wxMenu, appendSeparator, 0}},
+ {913, {wxMenu, break, 0}},
+ {914, {wxMenu, check, 2}},
+ {915, {wxMenu, delete_1_0, 1}},
+ {916, {wxMenu, delete_1_1, 1}},
+ {917, {wxMenu, destroy_1_0, 1}},
+ {918, {wxMenu, destroy_1_1, 1}},
+ {919, {wxMenu, enable, 2}},
+ {920, {wxMenu, findItem_1, 1}},
+ {921, {wxMenu, findItem_2, 2}},
+ {922, {wxMenu, findItemByPosition, 1}},
+ {923, {wxMenu, getHelpString, 1}},
+ {924, {wxMenu, getLabel, 1}},
+ {925, {wxMenu, getMenuItemCount, 0}},
+ {926, {wxMenu, getMenuItems, 0}},
+ {928, {wxMenu, getTitle, 0}},
+ {929, {wxMenu, insert_2, 2}},
+ {930, {wxMenu, insert_3, 3}},
+ {931, {wxMenu, insert_5_1, 5}},
+ {932, {wxMenu, insert_5_0, 5}},
+ {933, {wxMenu, insertCheckItem, 4}},
+ {934, {wxMenu, insertRadioItem, 4}},
+ {935, {wxMenu, insertSeparator, 1}},
+ {936, {wxMenu, isChecked, 1}},
+ {937, {wxMenu, isEnabled, 1}},
+ {938, {wxMenu, prepend_1, 1}},
+ {939, {wxMenu, prepend_2, 2}},
+ {940, {wxMenu, prepend_4_1, 4}},
+ {941, {wxMenu, prepend_4_0, 4}},
+ {942, {wxMenu, prependCheckItem, 3}},
+ {943, {wxMenu, prependRadioItem, 3}},
+ {944, {wxMenu, prependSeparator, 0}},
+ {945, {wxMenu, remove_1_0, 1}},
+ {946, {wxMenu, remove_1_1, 1}},
+ {947, {wxMenu, setHelpString, 2}},
+ {948, {wxMenu, setLabel, 2}},
+ {949, {wxMenu, setTitle, 1}},
+ {950, {wxMenuItem, new, 1}},
+ {952, {wxMenuItem, destruct, 0}},
+ {953, {wxMenuItem, check, 1}},
+ {954, {wxMenuItem, enable, 1}},
+ {955, {wxMenuItem, getBitmap, 0}},
+ {956, {wxMenuItem, getHelp, 0}},
+ {957, {wxMenuItem, getId, 0}},
+ {958, {wxMenuItem, getKind, 0}},
+ {959, {wxMenuItem, getLabel, 0}},
+ {960, {wxMenuItem, getLabelFromText, 1}},
+ {961, {wxMenuItem, getMenu, 0}},
+ {962, {wxMenuItem, getText, 0}},
+ {963, {wxMenuItem, getSubMenu, 0}},
+ {964, {wxMenuItem, isCheckable, 0}},
+ {965, {wxMenuItem, isChecked, 0}},
+ {966, {wxMenuItem, isEnabled, 0}},
+ {967, {wxMenuItem, isSeparator, 0}},
+ {968, {wxMenuItem, isSubMenu, 0}},
+ {969, {wxMenuItem, setBitmap, 1}},
+ {970, {wxMenuItem, setHelp, 1}},
+ {971, {wxMenuItem, setMenu, 1}},
+ {972, {wxMenuItem, setSubMenu, 1}},
+ {973, {wxMenuItem, setText, 1}},
+ {974, {wxToolBar, addControl, 1}},
+ {975, {wxToolBar, addSeparator, 0}},
+ {976, {wxToolBar, addTool_5, 5}},
+ {977, {wxToolBar, addTool_4_0, 4}},
+ {978, {wxToolBar, addTool_1, 1}},
+ {979, {wxToolBar, addTool_4_1, 4}},
+ {980, {wxToolBar, addTool_3, 3}},
+ {981, {wxToolBar, addTool_6, 6}},
+ {982, {wxToolBar, addCheckTool, 4}},
+ {983, {wxToolBar, addRadioTool, 4}},
+ {984, {wxToolBar, deleteTool, 1}},
+ {985, {wxToolBar, deleteToolByPos, 1}},
+ {986, {wxToolBar, enableTool, 2}},
+ {987, {wxToolBar, findById, 1}},
+ {988, {wxToolBar, findControl, 1}},
+ {989, {wxToolBar, findToolForPosition, 2}},
+ {990, {wxToolBar, getToolSize, 0}},
+ {991, {wxToolBar, getToolBitmapSize, 0}},
+ {992, {wxToolBar, getMargins, 0}},
+ {993, {wxToolBar, getToolEnabled, 1}},
+ {994, {wxToolBar, getToolLongHelp, 1}},
+ {995, {wxToolBar, getToolPacking, 0}},
+ {996, {wxToolBar, getToolPos, 1}},
+ {997, {wxToolBar, getToolSeparation, 0}},
+ {998, {wxToolBar, getToolShortHelp, 1}},
+ {999, {wxToolBar, getToolState, 1}},
+ {1000, {wxToolBar, insertControl, 2}},
+ {1001, {wxToolBar, insertSeparator, 1}},
+ {1002, {wxToolBar, insertTool_5, 5}},
+ {1003, {wxToolBar, insertTool_2, 2}},
+ {1004, {wxToolBar, insertTool_4, 4}},
+ {1005, {wxToolBar, realize, 0}},
+ {1006, {wxToolBar, removeTool, 1}},
+ {1007, {wxToolBar, setMargins, 2}},
+ {1008, {wxToolBar, setToolBitmapSize, 1}},
+ {1009, {wxToolBar, setToolLongHelp, 2}},
+ {1010, {wxToolBar, setToolPacking, 1}},
+ {1011, {wxToolBar, setToolShortHelp, 2}},
+ {1012, {wxToolBar, setToolSeparation, 1}},
+ {1013, {wxToolBar, toggleTool, 2}},
+ {1015, {wxStatusBar, new_0, 0}},
+ {1016, {wxStatusBar, new_2, 2}},
+ {1018, {wxStatusBar, destruct, 0}},
+ {1019, {wxStatusBar, create, 2}},
+ {1020, {wxStatusBar, getFieldRect, 2}},
+ {1021, {wxStatusBar, getFieldsCount, 0}},
+ {1022, {wxStatusBar, getStatusText, 1}},
+ {1023, {wxStatusBar, popStatusText, 1}},
+ {1024, {wxStatusBar, pushStatusText, 2}},
+ {1025, {wxStatusBar, setFieldsCount, 2}},
+ {1026, {wxStatusBar, setMinHeight, 1}},
+ {1027, {wxStatusBar, setStatusText, 2}},
+ {1028, {wxStatusBar, setStatusWidths, 2}},
+ {1029, {wxStatusBar, setStatusStyles, 2}},
+ {1030, {wxBitmap, new_0, 0}},
+ {1031, {wxBitmap, new_3, 3}},
+ {1032, {wxBitmap, new_4, 4}},
+ {1033, {wxBitmap, new_2_0, 2}},
+ {1034, {wxBitmap, new_2_1, 2}},
+ {1035, {wxBitmap, destruct, 0}},
+ {1036, {wxBitmap, convertToImage, 0}},
+ {1037, {wxBitmap, copyFromIcon, 1}},
+ {1038, {wxBitmap, create, 3}},
+ {1039, {wxBitmap, getDepth, 0}},
+ {1040, {wxBitmap, getHeight, 0}},
+ {1041, {wxBitmap, getPalette, 0}},
+ {1042, {wxBitmap, getMask, 0}},
+ {1043, {wxBitmap, getWidth, 0}},
+ {1044, {wxBitmap, getSubBitmap, 1}},
+ {1045, {wxBitmap, loadFile, 2}},
+ {1046, {wxBitmap, ok, 0}},
+ {1047, {wxBitmap, saveFile, 3}},
+ {1048, {wxBitmap, setDepth, 1}},
+ {1049, {wxBitmap, setHeight, 1}},
+ {1050, {wxBitmap, setMask, 1}},
+ {1051, {wxBitmap, setPalette, 1}},
+ {1052, {wxBitmap, setWidth, 1}},
+ {1053, {wxIcon, new_0, 0}},
+ {1054, {wxIcon, new_2, 2}},
+ {1055, {wxIcon, new_1, 1}},
+ {1056, {wxIcon, copyFromBitmap, 1}},
+ {1057, {wxIcon, 'Destroy', undefined}},
+ {1058, {wxIconBundle, new_0, 0}},
+ {1059, {wxIconBundle, new_2, 2}},
+ {1060, {wxIconBundle, new_1_0, 1}},
+ {1061, {wxIconBundle, new_1_1, 1}},
+ {1062, {wxIconBundle, destruct, 0}},
+ {1063, {wxIconBundle, addIcon_2, 2}},
+ {1064, {wxIconBundle, addIcon_1, 1}},
+ {1065, {wxIconBundle, getIcon_1_1, 1}},
+ {1066, {wxIconBundle, getIcon_1_0, 1}},
+ {1067, {wxCursor, new_0, 0}},
+ {1068, {wxCursor, new_1_0, 1}},
+ {1069, {wxCursor, new_1_1, 1}},
+ {1070, {wxCursor, new_4, 4}},
+ {1071, {wxCursor, destruct, 0}},
+ {1072, {wxCursor, ok, 0}},
+ {1073, {wxMask, new_0, 0}},
+ {1074, {wxMask, new_2_1, 2}},
+ {1075, {wxMask, new_2_0, 2}},
+ {1076, {wxMask, new_1, 1}},
+ {1077, {wxMask, destruct, 0}},
+ {1078, {wxMask, create_2_1, 2}},
+ {1079, {wxMask, create_2_0, 2}},
+ {1080, {wxMask, create_1, 1}},
+ {1081, {wxImage, new_0, 0}},
+ {1082, {wxImage, new_3_0, 3}},
+ {1083, {wxImage, new_4, 4}},
+ {1084, {wxImage, new_5, 5}},
+ {1085, {wxImage, new_2, 2}},
+ {1086, {wxImage, new_3_1, 3}},
+ {1087, {wxImage, blur, 1}},
+ {1088, {wxImage, blurHorizontal, 1}},
+ {1089, {wxImage, blurVertical, 1}},
+ {1090, {wxImage, convertAlphaToMask, 1}},
+ {1091, {wxImage, convertToGreyscale, 1}},
+ {1092, {wxImage, convertToMono, 3}},
+ {1093, {wxImage, copy, 0}},
+ {1094, {wxImage, create_3, 3}},
+ {1095, {wxImage, create_4, 4}},
+ {1096, {wxImage, create_5, 5}},
+ {1097, {wxImage, 'Destroy', 0}},
+ {1098, {wxImage, findFirstUnusedColour, 4}},
+ {1099, {wxImage, getImageExtWildcard, 0}},
+ {1100, {wxImage, getAlpha_2, 2}},
+ {1101, {wxImage, getAlpha_0, 0}},
+ {1102, {wxImage, getBlue, 2}},
+ {1103, {wxImage, getData, 0}},
+ {1104, {wxImage, getGreen, 2}},
+ {1105, {wxImage, getImageCount, 2}},
+ {1106, {wxImage, getHeight, 0}},
+ {1107, {wxImage, getMaskBlue, 0}},
+ {1108, {wxImage, getMaskGreen, 0}},
+ {1109, {wxImage, getMaskRed, 0}},
+ {1110, {wxImage, getOrFindMaskColour, 3}},
+ {1111, {wxImage, getPalette, 0}},
+ {1112, {wxImage, getRed, 2}},
+ {1113, {wxImage, getSubImage, 1}},
+ {1114, {wxImage, getWidth, 0}},
+ {1115, {wxImage, hasAlpha, 0}},
+ {1116, {wxImage, hasMask, 0}},
+ {1117, {wxImage, getOption, 1}},
+ {1118, {wxImage, getOptionInt, 1}},
+ {1119, {wxImage, hasOption, 1}},
+ {1120, {wxImage, initAlpha, 0}},
+ {1121, {wxImage, initStandardHandlers, 0}},
+ {1122, {wxImage, isTransparent, 3}},
+ {1123, {wxImage, loadFile_2, 2}},
+ {1124, {wxImage, loadFile_3, 3}},
+ {1125, {wxImage, ok, 0}},
+ {1126, {wxImage, removeHandler, 1}},
+ {1127, {wxImage, mirror, 1}},
+ {1128, {wxImage, replace, 6}},
+ {1129, {wxImage, rescale, 3}},
+ {1130, {wxImage, resize, 3}},
+ {1131, {wxImage, rotate, 3}},
+ {1132, {wxImage, rotateHue, 1}},
+ {1133, {wxImage, rotate90, 1}},
+ {1134, {wxImage, saveFile_1, 1}},
+ {1135, {wxImage, saveFile_2_0, 2}},
+ {1136, {wxImage, saveFile_2_1, 2}},
+ {1137, {wxImage, scale, 3}},
+ {1138, {wxImage, size, 3}},
+ {1139, {wxImage, setAlpha_3, 3}},
+ {1140, {wxImage, setAlpha_2, 2}},
+ {1141, {wxImage, setData_2, 2}},
+ {1142, {wxImage, setData_4, 4}},
+ {1143, {wxImage, setMask, 1}},
+ {1144, {wxImage, setMaskColour, 3}},
+ {1145, {wxImage, setMaskFromImage, 4}},
+ {1146, {wxImage, setOption_2_1, 2}},
+ {1147, {wxImage, setOption_2_0, 2}},
+ {1148, {wxImage, setPalette, 1}},
+ {1149, {wxImage, setRGB_5, 5}},
+ {1150, {wxImage, setRGB_4, 4}},
+ {1151, {wxImage, 'Destroy', undefined}},
+ {1152, {wxBrush, new_0, 0}},
+ {1153, {wxBrush, new_2, 2}},
+ {1154, {wxBrush, new_1, 1}},
+ {1156, {wxBrush, destruct, 0}},
+ {1157, {wxBrush, getColour, 0}},
+ {1158, {wxBrush, getStipple, 0}},
+ {1159, {wxBrush, getStyle, 0}},
+ {1160, {wxBrush, isHatch, 0}},
+ {1161, {wxBrush, isOk, 0}},
+ {1162, {wxBrush, setColour_1, 1}},
+ {1163, {wxBrush, setColour_3, 3}},
+ {1164, {wxBrush, setStipple, 1}},
+ {1165, {wxBrush, setStyle, 1}},
+ {1166, {wxPen, new_0, 0}},
+ {1167, {wxPen, new_2, 2}},
+ {1168, {wxPen, destruct, 0}},
+ {1169, {wxPen, getCap, 0}},
+ {1170, {wxPen, getColour, 0}},
+ {1171, {wxPen, getJoin, 0}},
+ {1172, {wxPen, getStyle, 0}},
+ {1173, {wxPen, getWidth, 0}},
+ {1174, {wxPen, isOk, 0}},
+ {1175, {wxPen, setCap, 1}},
+ {1176, {wxPen, setColour_1, 1}},
+ {1177, {wxPen, setColour_3, 3}},
+ {1178, {wxPen, setJoin, 1}},
+ {1179, {wxPen, setStyle, 1}},
+ {1180, {wxPen, setWidth, 1}},
+ {1181, {wxRegion, new_0, 0}},
+ {1182, {wxRegion, new_4, 4}},
+ {1183, {wxRegion, new_2, 2}},
+ {1184, {wxRegion, new_1_1, 1}},
+ {1186, {wxRegion, new_1_0, 1}},
+ {1188, {wxRegion, destruct, 0}},
+ {1189, {wxRegion, clear, 0}},
+ {1190, {wxRegion, contains_2, 2}},
+ {1191, {wxRegion, contains_1_0, 1}},
+ {1192, {wxRegion, contains_4, 4}},
+ {1193, {wxRegion, contains_1_1, 1}},
+ {1194, {wxRegion, convertToBitmap, 0}},
+ {1195, {wxRegion, getBox, 0}},
+ {1196, {wxRegion, intersect_4, 4}},
+ {1197, {wxRegion, intersect_1_1, 1}},
+ {1198, {wxRegion, intersect_1_0, 1}},
+ {1199, {wxRegion, isEmpty, 0}},
+ {1200, {wxRegion, subtract_4, 4}},
+ {1201, {wxRegion, subtract_1_1, 1}},
+ {1202, {wxRegion, subtract_1_0, 1}},
+ {1203, {wxRegion, offset_2, 2}},
+ {1204, {wxRegion, offset_1, 1}},
+ {1205, {wxRegion, union_4, 4}},
+ {1206, {wxRegion, union_1_2, 1}},
+ {1207, {wxRegion, union_1_1, 1}},
+ {1208, {wxRegion, union_1_0, 1}},
+ {1209, {wxRegion, union_3, 3}},
+ {1210, {wxRegion, xor_4, 4}},
+ {1211, {wxRegion, xor_1_1, 1}},
+ {1212, {wxRegion, xor_1_0, 1}},
+ {1213, {wxAcceleratorTable, new_0, 0}},
+ {1214, {wxAcceleratorTable, new_2, 2}},
+ {1215, {wxAcceleratorTable, destruct, 0}},
+ {1216, {wxAcceleratorTable, ok, 0}},
+ {1217, {wxAcceleratorEntry, new_1_0, 1}},
+ {1218, {wxAcceleratorEntry, new_1_1, 1}},
+ {1219, {wxAcceleratorEntry, getCommand, 0}},
+ {1220, {wxAcceleratorEntry, getFlags, 0}},
+ {1221, {wxAcceleratorEntry, getKeyCode, 0}},
+ {1222, {wxAcceleratorEntry, set, 4}},
+ {1223, {wxAcceleratorEntry, 'Destroy', undefined}},
+ {1228, {wxCaret, new_3, 3}},
+ {1229, {wxCaret, new_2, 2}},
+ {1231, {wxCaret, destruct, 0}},
+ {1232, {wxCaret, create_3, 3}},
+ {1233, {wxCaret, create_2, 2}},
+ {1234, {wxCaret, getBlinkTime, 0}},
+ {1236, {wxCaret, getPosition, 0}},
+ {1238, {wxCaret, getSize, 0}},
+ {1239, {wxCaret, getWindow, 0}},
+ {1240, {wxCaret, hide, 0}},
+ {1241, {wxCaret, isOk, 0}},
+ {1242, {wxCaret, isVisible, 0}},
+ {1243, {wxCaret, move_2, 2}},
+ {1244, {wxCaret, move_1, 1}},
+ {1245, {wxCaret, setBlinkTime, 1}},
+ {1246, {wxCaret, setSize_2, 2}},
+ {1247, {wxCaret, setSize_1, 1}},
+ {1248, {wxCaret, show, 1}},
+ {1249, {wxSizer, add_2_1, 2}},
+ {1250, {wxSizer, add_2_0, 2}},
+ {1251, {wxSizer, add_3, 3}},
+ {1252, {wxSizer, add_2_3, 2}},
+ {1253, {wxSizer, add_2_2, 2}},
+ {1254, {wxSizer, addSpacer, 1}},
+ {1255, {wxSizer, addStretchSpacer, 1}},
+ {1256, {wxSizer, calcMin, 0}},
+ {1257, {wxSizer, clear, 1}},
+ {1258, {wxSizer, detach_1_2, 1}},
+ {1259, {wxSizer, detach_1_1, 1}},
+ {1260, {wxSizer, detach_1_0, 1}},
+ {1261, {wxSizer, fit, 1}},
+ {1262, {wxSizer, fitInside, 1}},
+ {1263, {wxSizer, getChildren, 0}},
+ {1264, {wxSizer, getItem_2_1, 2}},
+ {1265, {wxSizer, getItem_2_0, 2}},
+ {1266, {wxSizer, getItem_1, 1}},
+ {1267, {wxSizer, getSize, 0}},
+ {1268, {wxSizer, getPosition, 0}},
+ {1269, {wxSizer, getMinSize, 0}},
+ {1270, {wxSizer, hide_2_0, 2}},
+ {1271, {wxSizer, hide_2_1, 2}},
+ {1272, {wxSizer, hide_1, 1}},
+ {1273, {wxSizer, insert_3_1, 3}},
+ {1274, {wxSizer, insert_3_0, 3}},
+ {1275, {wxSizer, insert_4, 4}},
+ {1276, {wxSizer, insert_3_3, 3}},
+ {1277, {wxSizer, insert_3_2, 3}},
+ {1278, {wxSizer, insert_2, 2}},
+ {1279, {wxSizer, insertSpacer, 2}},
+ {1280, {wxSizer, insertStretchSpacer, 2}},
+ {1281, {wxSizer, isShown_1_2, 1}},
+ {1282, {wxSizer, isShown_1_1, 1}},
+ {1283, {wxSizer, isShown_1_0, 1}},
+ {1284, {wxSizer, layout, 0}},
+ {1285, {wxSizer, prepend_2_1, 2}},
+ {1286, {wxSizer, prepend_2_0, 2}},
+ {1287, {wxSizer, prepend_3, 3}},
+ {1288, {wxSizer, prepend_2_3, 2}},
+ {1289, {wxSizer, prepend_2_2, 2}},
+ {1290, {wxSizer, prepend_1, 1}},
+ {1291, {wxSizer, prependSpacer, 1}},
+ {1292, {wxSizer, prependStretchSpacer, 1}},
+ {1293, {wxSizer, recalcSizes, 0}},
+ {1294, {wxSizer, remove_1_1, 1}},
+ {1295, {wxSizer, remove_1_0, 1}},
+ {1296, {wxSizer, replace_3_1, 3}},
+ {1297, {wxSizer, replace_3_0, 3}},
+ {1298, {wxSizer, replace_2, 2}},
+ {1299, {wxSizer, setDimension, 4}},
+ {1300, {wxSizer, setMinSize_2, 2}},
+ {1301, {wxSizer, setMinSize_1, 1}},
+ {1302, {wxSizer, setItemMinSize_3_2, 3}},
+ {1303, {wxSizer, setItemMinSize_2_2, 2}},
+ {1304, {wxSizer, setItemMinSize_3_1, 3}},
+ {1305, {wxSizer, setItemMinSize_2_1, 2}},
+ {1306, {wxSizer, setItemMinSize_3_0, 3}},
+ {1307, {wxSizer, setItemMinSize_2_0, 2}},
+ {1308, {wxSizer, setSizeHints, 1}},
+ {1309, {wxSizer, setVirtualSizeHints, 1}},
+ {1310, {wxSizer, show_2_2, 2}},
+ {1311, {wxSizer, show_2_1, 2}},
+ {1312, {wxSizer, show_2_0, 2}},
+ {1313, {wxSizer, show_1, 1}},
+ {1314, {wxSizerFlags, new, 1}},
+ {1315, {wxSizerFlags, align, 1}},
+ {1316, {wxSizerFlags, border_2, 2}},
+ {1317, {wxSizerFlags, border_1, 1}},
+ {1318, {wxSizerFlags, center, 0}},
+ {1319, {wxSizerFlags, centre, 0}},
+ {1320, {wxSizerFlags, expand, 0}},
+ {1321, {wxSizerFlags, left, 0}},
+ {1322, {wxSizerFlags, proportion, 1}},
+ {1323, {wxSizerFlags, right, 0}},
+ {1324, {wxSizerFlags, 'Destroy', undefined}},
+ {1325, {wxSizerItem, new_5_1, 5}},
+ {1326, {wxSizerItem, new_2_1, 2}},
+ {1327, {wxSizerItem, new_5_0, 5}},
+ {1328, {wxSizerItem, new_2_0, 2}},
+ {1329, {wxSizerItem, new_6, 6}},
+ {1330, {wxSizerItem, new_3, 3}},
+ {1331, {wxSizerItem, new_0, 0}},
+ {1332, {wxSizerItem, destruct, 0}},
+ {1333, {wxSizerItem, calcMin, 0}},
+ {1334, {wxSizerItem, deleteWindows, 0}},
+ {1335, {wxSizerItem, detachSizer, 0}},
+ {1336, {wxSizerItem, getBorder, 0}},
+ {1337, {wxSizerItem, getFlag, 0}},
+ {1338, {wxSizerItem, getMinSize, 0}},
+ {1339, {wxSizerItem, getPosition, 0}},
+ {1340, {wxSizerItem, getProportion, 0}},
+ {1341, {wxSizerItem, getRatio, 0}},
+ {1342, {wxSizerItem, getRect, 0}},
+ {1343, {wxSizerItem, getSize, 0}},
+ {1344, {wxSizerItem, getSizer, 0}},
+ {1345, {wxSizerItem, getSpacer, 0}},
+ {1346, {wxSizerItem, getUserData, 0}},
+ {1347, {wxSizerItem, getWindow, 0}},
+ {1348, {wxSizerItem, isSizer, 0}},
+ {1349, {wxSizerItem, isShown, 0}},
+ {1350, {wxSizerItem, isSpacer, 0}},
+ {1351, {wxSizerItem, isWindow, 0}},
+ {1352, {wxSizerItem, setBorder, 1}},
+ {1353, {wxSizerItem, setDimension, 2}},
+ {1354, {wxSizerItem, setFlag, 1}},
+ {1355, {wxSizerItem, setInitSize, 2}},
+ {1356, {wxSizerItem, setMinSize_1, 1}},
+ {1357, {wxSizerItem, setMinSize_2, 2}},
+ {1358, {wxSizerItem, setProportion, 1}},
+ {1359, {wxSizerItem, setRatio_2, 2}},
+ {1360, {wxSizerItem, setRatio_1_1, 1}},
+ {1361, {wxSizerItem, setRatio_1_0, 1}},
+ {1362, {wxSizerItem, setSizer, 1}},
+ {1363, {wxSizerItem, setSpacer_1, 1}},
+ {1364, {wxSizerItem, setSpacer_2, 2}},
+ {1365, {wxSizerItem, setWindow, 1}},
+ {1366, {wxSizerItem, show, 1}},
+ {1367, {wxBoxSizer, new, 1}},
+ {1368, {wxBoxSizer, getOrientation, 0}},
+ {1369, {wxBoxSizer, 'Destroy', undefined}},
+ {1370, {wxStaticBoxSizer, new_2, 2}},
+ {1371, {wxStaticBoxSizer, new_3, 3}},
+ {1372, {wxStaticBoxSizer, getStaticBox, 0}},
+ {1373, {wxStaticBoxSizer, 'Destroy', undefined}},
+ {1374, {wxGridSizer, new_4, 4}},
+ {1375, {wxGridSizer, new_2, 2}},
+ {1376, {wxGridSizer, getCols, 0}},
+ {1377, {wxGridSizer, getHGap, 0}},
+ {1378, {wxGridSizer, getRows, 0}},
+ {1379, {wxGridSizer, getVGap, 0}},
+ {1380, {wxGridSizer, setCols, 1}},
+ {1381, {wxGridSizer, setHGap, 1}},
+ {1382, {wxGridSizer, setRows, 1}},
+ {1383, {wxGridSizer, setVGap, 1}},
+ {1384, {wxGridSizer, 'Destroy', undefined}},
+ {1385, {wxFlexGridSizer, new_4, 4}},
+ {1386, {wxFlexGridSizer, new_2, 2}},
+ {1387, {wxFlexGridSizer, addGrowableCol, 2}},
+ {1388, {wxFlexGridSizer, addGrowableRow, 2}},
+ {1389, {wxFlexGridSizer, getFlexibleDirection, 0}},
+ {1390, {wxFlexGridSizer, getNonFlexibleGrowMode, 0}},
+ {1391, {wxFlexGridSizer, removeGrowableCol, 1}},
+ {1392, {wxFlexGridSizer, removeGrowableRow, 1}},
+ {1393, {wxFlexGridSizer, setFlexibleDirection, 1}},
+ {1394, {wxFlexGridSizer, setNonFlexibleGrowMode, 1}},
+ {1395, {wxFlexGridSizer, 'Destroy', undefined}},
+ {1396, {wxGridBagSizer, new, 1}},
+ {1397, {wxGridBagSizer, add_3_2, 3}},
+ {1398, {wxGridBagSizer, add_3_1, 3}},
+ {1399, {wxGridBagSizer, add_4, 4}},
+ {1400, {wxGridBagSizer, add_1_0, 1}},
+ {1401, {wxGridBagSizer, add_2_1, 2}},
+ {1402, {wxGridBagSizer, add_2_0, 2}},
+ {1403, {wxGridBagSizer, add_3_0, 3}},
+ {1404, {wxGridBagSizer, add_1_1, 1}},
+ {1405, {wxGridBagSizer, calcMin, 0}},
+ {1406, {wxGridBagSizer, checkForIntersection_2, 2}},
+ {1407, {wxGridBagSizer, checkForIntersection_3, 3}},
+ {1408, {wxGridBagSizer, findItem_1_1, 1}},
+ {1409, {wxGridBagSizer, findItem_1_0, 1}},
+ {1410, {wxGridBagSizer, findItemAtPoint, 1}},
+ {1411, {wxGridBagSizer, findItemAtPosition, 1}},
+ {1412, {wxGridBagSizer, findItemWithData, 1}},
+ {1413, {wxGridBagSizer, getCellSize, 2}},
+ {1414, {wxGridBagSizer, getEmptyCellSize, 0}},
+ {1415, {wxGridBagSizer, getItemPosition_1_2, 1}},
+ {1416, {wxGridBagSizer, getItemPosition_1_1, 1}},
+ {1417, {wxGridBagSizer, getItemPosition_1_0, 1}},
+ {1418, {wxGridBagSizer, getItemSpan_1_2, 1}},
+ {1419, {wxGridBagSizer, getItemSpan_1_1, 1}},
+ {1420, {wxGridBagSizer, getItemSpan_1_0, 1}},
+ {1421, {wxGridBagSizer, setEmptyCellSize, 1}},
+ {1422, {wxGridBagSizer, setItemPosition_2_2, 2}},
+ {1423, {wxGridBagSizer, setItemPosition_2_1, 2}},
+ {1424, {wxGridBagSizer, setItemPosition_2_0, 2}},
+ {1425, {wxGridBagSizer, setItemSpan_2_2, 2}},
+ {1426, {wxGridBagSizer, setItemSpan_2_1, 2}},
+ {1427, {wxGridBagSizer, setItemSpan_2_0, 2}},
+ {1428, {wxGridBagSizer, 'Destroy', undefined}},
+ {1429, {wxStdDialogButtonSizer, new, 0}},
+ {1430, {wxStdDialogButtonSizer, addButton, 1}},
+ {1431, {wxStdDialogButtonSizer, realize, 0}},
+ {1432, {wxStdDialogButtonSizer, setAffirmativeButton, 1}},
+ {1433, {wxStdDialogButtonSizer, setCancelButton, 1}},
+ {1434, {wxStdDialogButtonSizer, setNegativeButton, 1}},
+ {1435, {wxStdDialogButtonSizer, 'Destroy', undefined}},
+ {1436, {wxFont, new_0, 0}},
+ {1437, {wxFont, new_1, 1}},
+ {1438, {wxFont, new_5, 5}},
+ {1440, {wxFont, destruct, 0}},
+ {1441, {wxFont, isFixedWidth, 0}},
+ {1442, {wxFont, getDefaultEncoding, 0}},
+ {1443, {wxFont, getFaceName, 0}},
+ {1444, {wxFont, getFamily, 0}},
+ {1445, {wxFont, getNativeFontInfoDesc, 0}},
+ {1446, {wxFont, getNativeFontInfoUserDesc, 0}},
+ {1447, {wxFont, getPointSize, 0}},
+ {1448, {wxFont, getStyle, 0}},
+ {1449, {wxFont, getUnderlined, 0}},
+ {1450, {wxFont, getWeight, 0}},
+ {1451, {wxFont, ok, 0}},
+ {1452, {wxFont, setDefaultEncoding, 1}},
+ {1453, {wxFont, setFaceName, 1}},
+ {1454, {wxFont, setFamily, 1}},
+ {1455, {wxFont, setPointSize, 1}},
+ {1456, {wxFont, setStyle, 1}},
+ {1457, {wxFont, setUnderlined, 1}},
+ {1458, {wxFont, setWeight, 1}},
+ {1459, {wxToolTip, enable, 1}},
+ {1460, {wxToolTip, setDelay, 1}},
+ {1461, {wxToolTip, new, 1}},
+ {1462, {wxToolTip, setTip, 1}},
+ {1463, {wxToolTip, getTip, 0}},
+ {1464, {wxToolTip, getWindow, 0}},
+ {1465, {wxToolTip, 'Destroy', undefined}},
+ {1467, {wxButton, new_3, 3}},
+ {1468, {wxButton, new_0, 0}},
+ {1469, {wxButton, destruct, 0}},
+ {1470, {wxButton, create, 3}},
+ {1471, {wxButton, getDefaultSize, 0}},
+ {1472, {wxButton, setDefault, 0}},
+ {1473, {wxButton, setLabel, 1}},
+ {1475, {wxBitmapButton, new_4, 4}},
+ {1476, {wxBitmapButton, new_0, 0}},
+ {1477, {wxBitmapButton, create, 4}},
+ {1478, {wxBitmapButton, getBitmapDisabled, 0}},
+ {1480, {wxBitmapButton, getBitmapFocus, 0}},
+ {1482, {wxBitmapButton, getBitmapLabel, 0}},
+ {1484, {wxBitmapButton, getBitmapSelected, 0}},
+ {1486, {wxBitmapButton, setBitmapDisabled, 1}},
+ {1487, {wxBitmapButton, setBitmapFocus, 1}},
+ {1488, {wxBitmapButton, setBitmapLabel, 1}},
+ {1489, {wxBitmapButton, setBitmapSelected, 1}},
+ {1490, {wxBitmapButton, 'Destroy', undefined}},
+ {1491, {wxToggleButton, new_0, 0}},
+ {1492, {wxToggleButton, new_4, 4}},
+ {1493, {wxToggleButton, create, 4}},
+ {1494, {wxToggleButton, getValue, 0}},
+ {1495, {wxToggleButton, setValue, 1}},
+ {1496, {wxToggleButton, 'Destroy', undefined}},
+ {1497, {wxCalendarCtrl, new_0, 0}},
+ {1498, {wxCalendarCtrl, new_3, 3}},
+ {1499, {wxCalendarCtrl, create, 3}},
+ {1500, {wxCalendarCtrl, destruct, 0}},
+ {1501, {wxCalendarCtrl, setDate, 1}},
+ {1502, {wxCalendarCtrl, getDate, 0}},
+ {1503, {wxCalendarCtrl, enableYearChange, 1}},
+ {1504, {wxCalendarCtrl, enableMonthChange, 1}},
+ {1505, {wxCalendarCtrl, enableHolidayDisplay, 1}},
+ {1506, {wxCalendarCtrl, setHeaderColours, 2}},
+ {1507, {wxCalendarCtrl, getHeaderColourFg, 0}},
+ {1508, {wxCalendarCtrl, getHeaderColourBg, 0}},
+ {1509, {wxCalendarCtrl, setHighlightColours, 2}},
+ {1510, {wxCalendarCtrl, getHighlightColourFg, 0}},
+ {1511, {wxCalendarCtrl, getHighlightColourBg, 0}},
+ {1512, {wxCalendarCtrl, setHolidayColours, 2}},
+ {1513, {wxCalendarCtrl, getHolidayColourFg, 0}},
+ {1514, {wxCalendarCtrl, getHolidayColourBg, 0}},
+ {1515, {wxCalendarCtrl, getAttr, 1}},
+ {1516, {wxCalendarCtrl, setAttr, 2}},
+ {1517, {wxCalendarCtrl, setHoliday, 1}},
+ {1518, {wxCalendarCtrl, resetAttr, 1}},
+ {1519, {wxCalendarCtrl, hitTest, 2}},
+ {1520, {wxCalendarDateAttr, new_0, 0}},
+ {1521, {wxCalendarDateAttr, new_2_1, 2}},
+ {1522, {wxCalendarDateAttr, new_2_0, 2}},
+ {1523, {wxCalendarDateAttr, setTextColour, 1}},
+ {1524, {wxCalendarDateAttr, setBackgroundColour, 1}},
+ {1525, {wxCalendarDateAttr, setBorderColour, 1}},
+ {1526, {wxCalendarDateAttr, setFont, 1}},
+ {1527, {wxCalendarDateAttr, setBorder, 1}},
+ {1528, {wxCalendarDateAttr, setHoliday, 1}},
+ {1529, {wxCalendarDateAttr, hasTextColour, 0}},
+ {1530, {wxCalendarDateAttr, hasBackgroundColour, 0}},
+ {1531, {wxCalendarDateAttr, hasBorderColour, 0}},
+ {1532, {wxCalendarDateAttr, hasFont, 0}},
+ {1533, {wxCalendarDateAttr, hasBorder, 0}},
+ {1534, {wxCalendarDateAttr, isHoliday, 0}},
+ {1535, {wxCalendarDateAttr, getTextColour, 0}},
+ {1536, {wxCalendarDateAttr, getBackgroundColour, 0}},
+ {1537, {wxCalendarDateAttr, getBorderColour, 0}},
+ {1538, {wxCalendarDateAttr, getFont, 0}},
+ {1539, {wxCalendarDateAttr, getBorder, 0}},
+ {1540, {wxCalendarDateAttr, 'Destroy', undefined}},
+ {1542, {wxCheckBox, new_4, 4}},
+ {1543, {wxCheckBox, new_0, 0}},
+ {1544, {wxCheckBox, create, 4}},
+ {1545, {wxCheckBox, getValue, 0}},
+ {1546, {wxCheckBox, get3StateValue, 0}},
+ {1547, {wxCheckBox, is3rdStateAllowedForUser, 0}},
+ {1548, {wxCheckBox, is3State, 0}},
+ {1549, {wxCheckBox, isChecked, 0}},
+ {1550, {wxCheckBox, setValue, 1}},
+ {1551, {wxCheckBox, set3StateValue, 1}},
+ {1552, {wxCheckBox, 'Destroy', undefined}},
+ {1553, {wxCheckListBox, new_0, 0}},
+ {1555, {wxCheckListBox, new_3, 3}},
+ {1556, {wxCheckListBox, check, 2}},
+ {1557, {wxCheckListBox, isChecked, 1}},
+ {1558, {wxCheckListBox, 'Destroy', undefined}},
+ {1561, {wxChoice, new_3, 3}},
+ {1562, {wxChoice, new_0, 0}},
+ {1564, {wxChoice, destruct, 0}},
+ {1566, {wxChoice, create, 6}},
+ {1567, {wxChoice, delete, 1}},
+ {1568, {wxChoice, getColumns, 0}},
+ {1569, {wxChoice, setColumns, 1}},
+ {1570, {wxComboBox, new_0, 0}},
+ {1572, {wxComboBox, new_3, 3}},
+ {1573, {wxComboBox, destruct, 0}},
+ {1575, {wxComboBox, create, 7}},
+ {1576, {wxComboBox, canCopy, 0}},
+ {1577, {wxComboBox, canCut, 0}},
+ {1578, {wxComboBox, canPaste, 0}},
+ {1579, {wxComboBox, canRedo, 0}},
+ {1580, {wxComboBox, canUndo, 0}},
+ {1581, {wxComboBox, copy, 0}},
+ {1582, {wxComboBox, cut, 0}},
+ {1583, {wxComboBox, getInsertionPoint, 0}},
+ {1584, {wxComboBox, getLastPosition, 0}},
+ {1585, {wxComboBox, getValue, 0}},
+ {1586, {wxComboBox, paste, 0}},
+ {1587, {wxComboBox, redo, 0}},
+ {1588, {wxComboBox, replace, 3}},
+ {1589, {wxComboBox, remove, 2}},
+ {1590, {wxComboBox, setInsertionPoint, 1}},
+ {1591, {wxComboBox, setInsertionPointEnd, 0}},
+ {1592, {wxComboBox, setSelection_1, 1}},
+ {1593, {wxComboBox, setSelection_2, 2}},
+ {1594, {wxComboBox, setValue, 1}},
+ {1595, {wxComboBox, undo, 0}},
+ {1596, {wxGauge, new_0, 0}},
+ {1597, {wxGauge, new_4, 4}},
+ {1598, {wxGauge, create, 4}},
+ {1599, {wxGauge, getBezelFace, 0}},
+ {1600, {wxGauge, getRange, 0}},
+ {1601, {wxGauge, getShadowWidth, 0}},
+ {1602, {wxGauge, getValue, 0}},
+ {1603, {wxGauge, isVertical, 0}},
+ {1604, {wxGauge, setBezelFace, 1}},
+ {1605, {wxGauge, setRange, 1}},
+ {1606, {wxGauge, setShadowWidth, 1}},
+ {1607, {wxGauge, setValue, 1}},
+ {1608, {wxGauge, pulse, 0}},
+ {1609, {wxGauge, 'Destroy', undefined}},
+ {1610, {wxGenericDirCtrl, new_0, 0}},
+ {1611, {wxGenericDirCtrl, new_2, 2}},
+ {1612, {wxGenericDirCtrl, destruct, 0}},
+ {1613, {wxGenericDirCtrl, create, 2}},
+ {1614, {wxGenericDirCtrl, init, 0}},
+ {1615, {wxGenericDirCtrl, collapseTree, 0}},
+ {1616, {wxGenericDirCtrl, expandPath, 1}},
+ {1617, {wxGenericDirCtrl, getDefaultPath, 0}},
+ {1618, {wxGenericDirCtrl, getPath, 0}},
+ {1619, {wxGenericDirCtrl, getFilePath, 0}},
+ {1620, {wxGenericDirCtrl, getFilter, 0}},
+ {1621, {wxGenericDirCtrl, getFilterIndex, 0}},
+ {1622, {wxGenericDirCtrl, getRootId, 0}},
+ {1623, {wxGenericDirCtrl, getTreeCtrl, 0}},
+ {1624, {wxGenericDirCtrl, reCreateTree, 0}},
+ {1625, {wxGenericDirCtrl, setDefaultPath, 1}},
+ {1626, {wxGenericDirCtrl, setFilter, 1}},
+ {1627, {wxGenericDirCtrl, setFilterIndex, 1}},
+ {1628, {wxGenericDirCtrl, setPath, 1}},
+ {1630, {wxStaticBox, new_4, 4}},
+ {1631, {wxStaticBox, new_0, 0}},
+ {1632, {wxStaticBox, create, 4}},
+ {1633, {wxStaticBox, 'Destroy', undefined}},
+ {1635, {wxStaticLine, new_2, 2}},
+ {1636, {wxStaticLine, new_0, 0}},
+ {1637, {wxStaticLine, create, 2}},
+ {1638, {wxStaticLine, isVertical, 0}},
+ {1639, {wxStaticLine, getDefaultSize, 0}},
+ {1640, {wxStaticLine, 'Destroy', undefined}},
+ {1643, {wxListBox, new_3, 3}},
+ {1644, {wxListBox, new_0, 0}},
+ {1646, {wxListBox, destruct, 0}},
+ {1648, {wxListBox, create, 6}},
+ {1649, {wxListBox, deselect, 1}},
+ {1650, {wxListBox, getSelections, 1}},
+ {1651, {wxListBox, insertItems, 2}},
+ {1652, {wxListBox, isSelected, 1}},
+ {1654, {wxListBox, set, 2}},
+ {1655, {wxListBox, hitTest, 1}},
+ {1656, {wxListBox, setFirstItem_1_0, 1}},
+ {1657, {wxListBox, setFirstItem_1_1, 1}},
+ {1658, {wxListCtrl, new_0, 0}},
+ {1659, {wxListCtrl, new_2, 2}},
+ {1660, {wxListCtrl, arrange, 1}},
+ {1661, {wxListCtrl, assignImageList, 2}},
+ {1662, {wxListCtrl, clearAll, 0}},
+ {1663, {wxListCtrl, create, 2}},
+ {1664, {wxListCtrl, deleteAllItems, 0}},
+ {1665, {wxListCtrl, deleteColumn, 1}},
+ {1666, {wxListCtrl, deleteItem, 1}},
+ {1667, {wxListCtrl, editLabel, 1}},
+ {1668, {wxListCtrl, ensureVisible, 1}},
+ {1669, {wxListCtrl, findItem_3_0, 3}},
+ {1670, {wxListCtrl, findItem_3_1, 3}},
+ {1671, {wxListCtrl, getColumn, 2}},
+ {1672, {wxListCtrl, getColumnCount, 0}},
+ {1673, {wxListCtrl, getColumnWidth, 1}},
+ {1674, {wxListCtrl, getCountPerPage, 0}},
+ {1675, {wxListCtrl, getImageList, 1}},
+ {1676, {wxListCtrl, getItem, 1}},
+ {1677, {wxListCtrl, getItemBackgroundColour, 1}},
+ {1678, {wxListCtrl, getItemCount, 0}},
+ {1679, {wxListCtrl, getItemData, 1}},
+ {1680, {wxListCtrl, getItemFont, 1}},
+ {1681, {wxListCtrl, getItemPosition, 2}},
+ {1682, {wxListCtrl, getItemRect, 3}},
+ {1683, {wxListCtrl, getItemSpacing, 0}},
+ {1684, {wxListCtrl, getItemState, 2}},
+ {1685, {wxListCtrl, getItemText, 1}},
+ {1686, {wxListCtrl, getItemTextColour, 1}},
+ {1687, {wxListCtrl, getNextItem, 2}},
+ {1688, {wxListCtrl, getSelectedItemCount, 0}},
+ {1689, {wxListCtrl, getTextColour, 0}},
+ {1690, {wxListCtrl, getTopItem, 0}},
+ {1691, {wxListCtrl, getViewRect, 0}},
+ {1692, {wxListCtrl, hitTest, 2}},
+ {1693, {wxListCtrl, insertColumn_2, 2}},
+ {1694, {wxListCtrl, insertColumn_3, 3}},
+ {1695, {wxListCtrl, insertItem_1, 1}},
+ {1696, {wxListCtrl, insertItem_2_1, 2}},
+ {1697, {wxListCtrl, insertItem_2_0, 2}},
+ {1698, {wxListCtrl, insertItem_3, 3}},
+ {1699, {wxListCtrl, refreshItem, 1}},
+ {1700, {wxListCtrl, refreshItems, 2}},
+ {1701, {wxListCtrl, scrollList, 2}},
+ {1702, {wxListCtrl, setBackgroundColour, 1}},
+ {1703, {wxListCtrl, setColumn, 2}},
+ {1704, {wxListCtrl, setColumnWidth, 2}},
+ {1705, {wxListCtrl, setImageList, 2}},
+ {1706, {wxListCtrl, setItem_1, 1}},
+ {1707, {wxListCtrl, setItem_4, 4}},
+ {1708, {wxListCtrl, setItemBackgroundColour, 2}},
+ {1709, {wxListCtrl, setItemCount, 1}},
+ {1710, {wxListCtrl, setItemData, 2}},
+ {1711, {wxListCtrl, setItemFont, 2}},
+ {1712, {wxListCtrl, setItemImage, 3}},
+ {1713, {wxListCtrl, setItemColumnImage, 3}},
+ {1714, {wxListCtrl, setItemPosition, 2}},
+ {1715, {wxListCtrl, setItemState, 3}},
+ {1716, {wxListCtrl, setItemText, 2}},
+ {1717, {wxListCtrl, setItemTextColour, 2}},
+ {1718, {wxListCtrl, setSingleStyle, 2}},
+ {1719, {wxListCtrl, setTextColour, 1}},
+ {1720, {wxListCtrl, setWindowStyleFlag, 1}},
+ {1721, {wxListCtrl, sortItems, 2}},
+ {1722, {wxListCtrl, 'Destroy', undefined}},
+ {1723, {wxListView, clearColumnImage, 1}},
+ {1724, {wxListView, focus, 1}},
+ {1725, {wxListView, getFirstSelected, 0}},
+ {1726, {wxListView, getFocusedItem, 0}},
+ {1727, {wxListView, getNextSelected, 1}},
+ {1728, {wxListView, isSelected, 1}},
+ {1729, {wxListView, select, 2}},
+ {1730, {wxListView, setColumnImage, 2}},
+ {1731, {wxListItem, new_0, 0}},
+ {1732, {wxListItem, new_1, 1}},
+ {1733, {wxListItem, destruct, 0}},
+ {1734, {wxListItem, clear, 0}},
+ {1735, {wxListItem, getAlign, 0}},
+ {1736, {wxListItem, getBackgroundColour, 0}},
+ {1737, {wxListItem, getColumn, 0}},
+ {1738, {wxListItem, getFont, 0}},
+ {1739, {wxListItem, getId, 0}},
+ {1740, {wxListItem, getImage, 0}},
+ {1741, {wxListItem, getMask, 0}},
+ {1742, {wxListItem, getState, 0}},
+ {1743, {wxListItem, getText, 0}},
+ {1744, {wxListItem, getTextColour, 0}},
+ {1745, {wxListItem, getWidth, 0}},
+ {1746, {wxListItem, setAlign, 1}},
+ {1747, {wxListItem, setBackgroundColour, 1}},
+ {1748, {wxListItem, setColumn, 1}},
+ {1749, {wxListItem, setFont, 1}},
+ {1750, {wxListItem, setId, 1}},
+ {1751, {wxListItem, setImage, 1}},
+ {1752, {wxListItem, setMask, 1}},
+ {1753, {wxListItem, setState, 1}},
+ {1754, {wxListItem, setStateMask, 1}},
+ {1755, {wxListItem, setText, 1}},
+ {1756, {wxListItem, setTextColour, 1}},
+ {1757, {wxListItem, setWidth, 1}},
+ {1758, {wxImageList, new_0, 0}},
+ {1759, {wxImageList, new_3, 3}},
+ {1760, {wxImageList, add_1, 1}},
+ {1761, {wxImageList, add_2_0, 2}},
+ {1762, {wxImageList, add_2_1, 2}},
+ {1763, {wxImageList, create, 3}},
+ {1765, {wxImageList, draw, 5}},
+ {1766, {wxImageList, getBitmap, 1}},
+ {1767, {wxImageList, getIcon, 1}},
+ {1768, {wxImageList, getImageCount, 0}},
+ {1769, {wxImageList, getSize, 3}},
+ {1770, {wxImageList, remove, 1}},
+ {1771, {wxImageList, removeAll, 0}},
+ {1772, {wxImageList, replace_2, 2}},
+ {1773, {wxImageList, replace_3, 3}},
+ {1774, {wxImageList, 'Destroy', undefined}},
+ {1775, {wxTextAttr, new_0, 0}},
+ {1776, {wxTextAttr, new_2, 2}},
+ {1777, {wxTextAttr, getAlignment, 0}},
+ {1778, {wxTextAttr, getBackgroundColour, 0}},
+ {1779, {wxTextAttr, getFont, 0}},
+ {1780, {wxTextAttr, getLeftIndent, 0}},
+ {1781, {wxTextAttr, getLeftSubIndent, 0}},
+ {1782, {wxTextAttr, getRightIndent, 0}},
+ {1783, {wxTextAttr, getTabs, 0}},
+ {1784, {wxTextAttr, getTextColour, 0}},
+ {1785, {wxTextAttr, hasBackgroundColour, 0}},
+ {1786, {wxTextAttr, hasFont, 0}},
+ {1787, {wxTextAttr, hasTextColour, 0}},
+ {1788, {wxTextAttr, getFlags, 0}},
+ {1789, {wxTextAttr, isDefault, 0}},
+ {1790, {wxTextAttr, setAlignment, 1}},
+ {1791, {wxTextAttr, setBackgroundColour, 1}},
+ {1792, {wxTextAttr, setFlags, 1}},
+ {1793, {wxTextAttr, setFont, 2}},
+ {1794, {wxTextAttr, setLeftIndent, 2}},
+ {1795, {wxTextAttr, setRightIndent, 1}},
+ {1796, {wxTextAttr, setTabs, 1}},
+ {1797, {wxTextAttr, setTextColour, 1}},
+ {1798, {wxTextAttr, 'Destroy', undefined}},
+ {1800, {wxTextCtrl, new_3, 3}},
+ {1801, {wxTextCtrl, new_0, 0}},
+ {1803, {wxTextCtrl, destruct, 0}},
+ {1804, {wxTextCtrl, appendText, 1}},
+ {1805, {wxTextCtrl, canCopy, 0}},
+ {1806, {wxTextCtrl, canCut, 0}},
+ {1807, {wxTextCtrl, canPaste, 0}},
+ {1808, {wxTextCtrl, canRedo, 0}},
+ {1809, {wxTextCtrl, canUndo, 0}},
+ {1810, {wxTextCtrl, clear, 0}},
+ {1811, {wxTextCtrl, copy, 0}},
+ {1812, {wxTextCtrl, create, 3}},
+ {1813, {wxTextCtrl, cut, 0}},
+ {1814, {wxTextCtrl, discardEdits, 0}},
+ {1815, {wxTextCtrl, emulateKeyPress, 1}},
+ {1816, {wxTextCtrl, getDefaultStyle, 0}},
+ {1817, {wxTextCtrl, getInsertionPoint, 0}},
+ {1818, {wxTextCtrl, getLastPosition, 0}},
+ {1819, {wxTextCtrl, getLineLength, 1}},
+ {1820, {wxTextCtrl, getLineText, 1}},
+ {1821, {wxTextCtrl, getNumberOfLines, 0}},
+ {1822, {wxTextCtrl, getRange, 2}},
+ {1823, {wxTextCtrl, getSelection, 2}},
+ {1824, {wxTextCtrl, getStringSelection, 0}},
+ {1825, {wxTextCtrl, getStyle, 2}},
+ {1826, {wxTextCtrl, getValue, 0}},
+ {1827, {wxTextCtrl, isEditable, 0}},
+ {1828, {wxTextCtrl, isModified, 0}},
+ {1829, {wxTextCtrl, isMultiLine, 0}},
+ {1830, {wxTextCtrl, isSingleLine, 0}},
+ {1831, {wxTextCtrl, loadFile, 2}},
+ {1832, {wxTextCtrl, markDirty, 0}},
+ {1833, {wxTextCtrl, paste, 0}},
+ {1834, {wxTextCtrl, positionToXY, 3}},
+ {1835, {wxTextCtrl, redo, 0}},
+ {1836, {wxTextCtrl, remove, 2}},
+ {1837, {wxTextCtrl, replace, 3}},
+ {1838, {wxTextCtrl, saveFile, 1}},
+ {1839, {wxTextCtrl, setDefaultStyle, 1}},
+ {1840, {wxTextCtrl, setEditable, 1}},
+ {1841, {wxTextCtrl, setInsertionPoint, 1}},
+ {1842, {wxTextCtrl, setInsertionPointEnd, 0}},
+ {1844, {wxTextCtrl, setMaxLength, 1}},
+ {1845, {wxTextCtrl, setSelection, 2}},
+ {1846, {wxTextCtrl, setStyle, 3}},
+ {1847, {wxTextCtrl, setValue, 1}},
+ {1848, {wxTextCtrl, showPosition, 1}},
+ {1849, {wxTextCtrl, undo, 0}},
+ {1850, {wxTextCtrl, writeText, 1}},
+ {1851, {wxTextCtrl, xYToPosition, 2}},
+ {1854, {wxNotebook, new_0, 0}},
+ {1855, {wxNotebook, new_3, 3}},
+ {1856, {wxNotebook, destruct, 0}},
+ {1857, {wxNotebook, addPage, 3}},
+ {1858, {wxNotebook, advanceSelection, 1}},
+ {1859, {wxNotebook, assignImageList, 1}},
+ {1860, {wxNotebook, create, 3}},
+ {1861, {wxNotebook, deleteAllPages, 0}},
+ {1862, {wxNotebook, deletePage, 1}},
+ {1863, {wxNotebook, removePage, 1}},
+ {1864, {wxNotebook, getCurrentPage, 0}},
+ {1865, {wxNotebook, getImageList, 0}},
+ {1867, {wxNotebook, getPage, 1}},
+ {1868, {wxNotebook, getPageCount, 0}},
+ {1869, {wxNotebook, getPageImage, 1}},
+ {1870, {wxNotebook, getPageText, 1}},
+ {1871, {wxNotebook, getRowCount, 0}},
+ {1872, {wxNotebook, getSelection, 0}},
+ {1873, {wxNotebook, getThemeBackgroundColour, 0}},
+ {1875, {wxNotebook, hitTest, 2}},
+ {1877, {wxNotebook, insertPage, 4}},
+ {1878, {wxNotebook, setImageList, 1}},
+ {1879, {wxNotebook, setPadding, 1}},
+ {1880, {wxNotebook, setPageSize, 1}},
+ {1881, {wxNotebook, setPageImage, 2}},
+ {1882, {wxNotebook, setPageText, 2}},
+ {1883, {wxNotebook, setSelection, 1}},
+ {1884, {wxNotebook, changeSelection, 1}},
+ {1885, {wxChoicebook, new_0, 0}},
+ {1886, {wxChoicebook, new_3, 3}},
+ {1887, {wxChoicebook, addPage, 3}},
+ {1888, {wxChoicebook, advanceSelection, 1}},
+ {1889, {wxChoicebook, assignImageList, 1}},
+ {1890, {wxChoicebook, create, 3}},
+ {1891, {wxChoicebook, deleteAllPages, 0}},
+ {1892, {wxChoicebook, deletePage, 1}},
+ {1893, {wxChoicebook, removePage, 1}},
+ {1894, {wxChoicebook, getCurrentPage, 0}},
+ {1895, {wxChoicebook, getImageList, 0}},
+ {1897, {wxChoicebook, getPage, 1}},
+ {1898, {wxChoicebook, getPageCount, 0}},
+ {1899, {wxChoicebook, getPageImage, 1}},
+ {1900, {wxChoicebook, getPageText, 1}},
+ {1901, {wxChoicebook, getSelection, 0}},
+ {1902, {wxChoicebook, hitTest, 2}},
+ {1903, {wxChoicebook, insertPage, 4}},
+ {1904, {wxChoicebook, setImageList, 1}},
+ {1905, {wxChoicebook, setPageSize, 1}},
+ {1906, {wxChoicebook, setPageImage, 2}},
+ {1907, {wxChoicebook, setPageText, 2}},
+ {1908, {wxChoicebook, setSelection, 1}},
+ {1909, {wxChoicebook, changeSelection, 1}},
+ {1910, {wxChoicebook, 'Destroy', undefined}},
+ {1911, {wxToolbook, new_0, 0}},
+ {1912, {wxToolbook, new_3, 3}},
+ {1913, {wxToolbook, addPage, 3}},
+ {1914, {wxToolbook, advanceSelection, 1}},
+ {1915, {wxToolbook, assignImageList, 1}},
+ {1916, {wxToolbook, create, 3}},
+ {1917, {wxToolbook, deleteAllPages, 0}},
+ {1918, {wxToolbook, deletePage, 1}},
+ {1919, {wxToolbook, removePage, 1}},
+ {1920, {wxToolbook, getCurrentPage, 0}},
+ {1921, {wxToolbook, getImageList, 0}},
+ {1923, {wxToolbook, getPage, 1}},
+ {1924, {wxToolbook, getPageCount, 0}},
+ {1925, {wxToolbook, getPageImage, 1}},
+ {1926, {wxToolbook, getPageText, 1}},
+ {1927, {wxToolbook, getSelection, 0}},
+ {1929, {wxToolbook, hitTest, 2}},
+ {1930, {wxToolbook, insertPage, 4}},
+ {1931, {wxToolbook, setImageList, 1}},
+ {1932, {wxToolbook, setPageSize, 1}},
+ {1933, {wxToolbook, setPageImage, 2}},
+ {1934, {wxToolbook, setPageText, 2}},
+ {1935, {wxToolbook, setSelection, 1}},
+ {1936, {wxToolbook, changeSelection, 1}},
+ {1937, {wxToolbook, 'Destroy', undefined}},
+ {1938, {wxListbook, new_0, 0}},
+ {1939, {wxListbook, new_3, 3}},
+ {1940, {wxListbook, addPage, 3}},
+ {1941, {wxListbook, advanceSelection, 1}},
+ {1942, {wxListbook, assignImageList, 1}},
+ {1943, {wxListbook, create, 3}},
+ {1944, {wxListbook, deleteAllPages, 0}},
+ {1945, {wxListbook, deletePage, 1}},
+ {1946, {wxListbook, removePage, 1}},
+ {1947, {wxListbook, getCurrentPage, 0}},
+ {1948, {wxListbook, getImageList, 0}},
+ {1950, {wxListbook, getPage, 1}},
+ {1951, {wxListbook, getPageCount, 0}},
+ {1952, {wxListbook, getPageImage, 1}},
+ {1953, {wxListbook, getPageText, 1}},
+ {1954, {wxListbook, getSelection, 0}},
+ {1956, {wxListbook, hitTest, 2}},
+ {1957, {wxListbook, insertPage, 4}},
+ {1958, {wxListbook, setImageList, 1}},
+ {1959, {wxListbook, setPageSize, 1}},
+ {1960, {wxListbook, setPageImage, 2}},
+ {1961, {wxListbook, setPageText, 2}},
+ {1962, {wxListbook, setSelection, 1}},
+ {1963, {wxListbook, changeSelection, 1}},
+ {1964, {wxListbook, 'Destroy', undefined}},
+ {1965, {wxTreebook, new_0, 0}},
+ {1966, {wxTreebook, new_3, 3}},
+ {1967, {wxTreebook, addPage, 3}},
+ {1968, {wxTreebook, advanceSelection, 1}},
+ {1969, {wxTreebook, assignImageList, 1}},
+ {1970, {wxTreebook, create, 3}},
+ {1971, {wxTreebook, deleteAllPages, 0}},
+ {1972, {wxTreebook, deletePage, 1}},
+ {1973, {wxTreebook, removePage, 1}},
+ {1974, {wxTreebook, getCurrentPage, 0}},
+ {1975, {wxTreebook, getImageList, 0}},
+ {1977, {wxTreebook, getPage, 1}},
+ {1978, {wxTreebook, getPageCount, 0}},
+ {1979, {wxTreebook, getPageImage, 1}},
+ {1980, {wxTreebook, getPageText, 1}},
+ {1981, {wxTreebook, getSelection, 0}},
+ {1982, {wxTreebook, expandNode, 2}},
+ {1983, {wxTreebook, isNodeExpanded, 1}},
+ {1985, {wxTreebook, hitTest, 2}},
+ {1986, {wxTreebook, insertPage, 4}},
+ {1987, {wxTreebook, insertSubPage, 4}},
+ {1988, {wxTreebook, setImageList, 1}},
+ {1989, {wxTreebook, setPageSize, 1}},
+ {1990, {wxTreebook, setPageImage, 2}},
+ {1991, {wxTreebook, setPageText, 2}},
+ {1992, {wxTreebook, setSelection, 1}},
+ {1993, {wxTreebook, changeSelection, 1}},
+ {1994, {wxTreebook, 'Destroy', undefined}},
+ {1997, {wxTreeCtrl, new_2, 2}},
+ {1998, {wxTreeCtrl, new_0, 0}},
+ {2000, {wxTreeCtrl, destruct, 0}},
+ {2001, {wxTreeCtrl, addRoot, 2}},
+ {2002, {wxTreeCtrl, appendItem, 3}},
+ {2003, {wxTreeCtrl, assignImageList, 1}},
+ {2004, {wxTreeCtrl, assignStateImageList, 1}},
+ {2005, {wxTreeCtrl, collapse, 1}},
+ {2006, {wxTreeCtrl, collapseAndReset, 1}},
+ {2007, {wxTreeCtrl, create, 2}},
+ {2008, {wxTreeCtrl, delete, 1}},
+ {2009, {wxTreeCtrl, deleteAllItems, 0}},
+ {2010, {wxTreeCtrl, deleteChildren, 1}},
+ {2011, {wxTreeCtrl, ensureVisible, 1}},
+ {2012, {wxTreeCtrl, expand, 1}},
+ {2013, {wxTreeCtrl, getBoundingRect, 3}},
+ {2015, {wxTreeCtrl, getChildrenCount, 2}},
+ {2016, {wxTreeCtrl, getCount, 0}},
+ {2017, {wxTreeCtrl, getEditControl, 0}},
+ {2018, {wxTreeCtrl, getFirstVisibleItem, 0}},
+ {2019, {wxTreeCtrl, getImageList, 0}},
+ {2020, {wxTreeCtrl, getIndent, 0}},
+ {2021, {wxTreeCtrl, getItemBackgroundColour, 1}},
+ {2022, {wxTreeCtrl, getItemData, 1}},
+ {2023, {wxTreeCtrl, getItemFont, 1}},
+ {2024, {wxTreeCtrl, getItemImage_1, 1}},
+ {2025, {wxTreeCtrl, getItemImage_2, 2}},
+ {2026, {wxTreeCtrl, getItemText, 1}},
+ {2027, {wxTreeCtrl, getItemTextColour, 1}},
+ {2028, {wxTreeCtrl, getLastChild, 1}},
+ {2029, {wxTreeCtrl, getNextSibling, 1}},
+ {2030, {wxTreeCtrl, getNextVisible, 1}},
+ {2031, {wxTreeCtrl, getItemParent, 1}},
+ {2032, {wxTreeCtrl, getPrevSibling, 1}},
+ {2033, {wxTreeCtrl, getPrevVisible, 1}},
+ {2034, {wxTreeCtrl, getRootItem, 0}},
+ {2035, {wxTreeCtrl, getSelection, 0}},
+ {2036, {wxTreeCtrl, getSelections, 1}},
+ {2037, {wxTreeCtrl, getStateImageList, 0}},
+ {2038, {wxTreeCtrl, hitTest, 1}},
+ {2039, {wxTreeCtrl, insertItem_4_1, 4}},
+ {2040, {wxTreeCtrl, insertItem_4_0, 4}},
+ {2041, {wxTreeCtrl, isBold, 1}},
+ {2042, {wxTreeCtrl, isExpanded, 1}},
+ {2043, {wxTreeCtrl, isSelected, 1}},
+ {2044, {wxTreeCtrl, isVisible, 1}},
+ {2045, {wxTreeCtrl, itemHasChildren, 1}},
+ {2046, {wxTreeCtrl, prependItem, 3}},
+ {2047, {wxTreeCtrl, scrollTo, 1}},
+ {2048, {wxTreeCtrl, selectItem_1, 1}},
+ {2049, {wxTreeCtrl, selectItem_2, 2}},
+ {2050, {wxTreeCtrl, setIndent, 1}},
+ {2051, {wxTreeCtrl, setImageList, 1}},
+ {2052, {wxTreeCtrl, setItemBackgroundColour, 2}},
+ {2053, {wxTreeCtrl, setItemBold, 2}},
+ {2054, {wxTreeCtrl, setItemData, 2}},
+ {2055, {wxTreeCtrl, setItemDropHighlight, 2}},
+ {2056, {wxTreeCtrl, setItemFont, 2}},
+ {2057, {wxTreeCtrl, setItemHasChildren, 2}},
+ {2058, {wxTreeCtrl, setItemImage_2, 2}},
+ {2059, {wxTreeCtrl, setItemImage_3, 3}},
+ {2060, {wxTreeCtrl, setItemText, 2}},
+ {2061, {wxTreeCtrl, setItemTextColour, 2}},
+ {2062, {wxTreeCtrl, setStateImageList, 1}},
+ {2063, {wxTreeCtrl, setWindowStyle, 1}},
+ {2064, {wxTreeCtrl, sortChildren, 1}},
+ {2065, {wxTreeCtrl, toggle, 1}},
+ {2066, {wxTreeCtrl, toggleItemSelection, 1}},
+ {2067, {wxTreeCtrl, unselect, 0}},
+ {2068, {wxTreeCtrl, unselectAll, 0}},
+ {2069, {wxTreeCtrl, unselectItem, 1}},
+ {2070, {wxScrollBar, new_0, 0}},
+ {2071, {wxScrollBar, new_3, 3}},
+ {2072, {wxScrollBar, destruct, 0}},
+ {2073, {wxScrollBar, create, 3}},
+ {2074, {wxScrollBar, getRange, 0}},
+ {2075, {wxScrollBar, getPageSize, 0}},
+ {2076, {wxScrollBar, getThumbPosition, 0}},
+ {2077, {wxScrollBar, getThumbSize, 0}},
+ {2078, {wxScrollBar, setThumbPosition, 1}},
+ {2079, {wxScrollBar, setScrollbar, 5}},
+ {2081, {wxSpinButton, new_2, 2}},
+ {2082, {wxSpinButton, new_0, 0}},
+ {2083, {wxSpinButton, create, 2}},
+ {2084, {wxSpinButton, getMax, 0}},
+ {2085, {wxSpinButton, getMin, 0}},
+ {2086, {wxSpinButton, getValue, 0}},
+ {2087, {wxSpinButton, setRange, 2}},
+ {2088, {wxSpinButton, setValue, 1}},
+ {2089, {wxSpinButton, 'Destroy', undefined}},
+ {2090, {wxSpinCtrl, new_0, 0}},
+ {2091, {wxSpinCtrl, new_2, 2}},
+ {2093, {wxSpinCtrl, create, 2}},
+ {2096, {wxSpinCtrl, setValue_1_1, 1}},
+ {2097, {wxSpinCtrl, setValue_1_0, 1}},
+ {2099, {wxSpinCtrl, getValue, 0}},
+ {2101, {wxSpinCtrl, setRange, 2}},
+ {2102, {wxSpinCtrl, setSelection, 2}},
+ {2104, {wxSpinCtrl, getMin, 0}},
+ {2106, {wxSpinCtrl, getMax, 0}},
+ {2107, {wxSpinCtrl, 'Destroy', undefined}},
+ {2108, {wxStaticText, new_0, 0}},
+ {2109, {wxStaticText, new_4, 4}},
+ {2110, {wxStaticText, create, 4}},
+ {2111, {wxStaticText, getLabel, 0}},
+ {2112, {wxStaticText, setLabel, 1}},
+ {2113, {wxStaticText, wrap, 1}},
+ {2114, {wxStaticText, 'Destroy', undefined}},
+ {2115, {wxStaticBitmap, new_0, 0}},
+ {2116, {wxStaticBitmap, new_4, 4}},
+ {2117, {wxStaticBitmap, create, 4}},
+ {2118, {wxStaticBitmap, getBitmap, 0}},
+ {2119, {wxStaticBitmap, setBitmap, 1}},
+ {2120, {wxStaticBitmap, 'Destroy', undefined}},
+ {2121, {wxRadioBox, new, 7}},
+ {2123, {wxRadioBox, destruct, 0}},
+ {2124, {wxRadioBox, create, 7}},
+ {2125, {wxRadioBox, enable_2, 2}},
+ {2126, {wxRadioBox, enable_1, 1}},
+ {2127, {wxRadioBox, getSelection, 0}},
+ {2128, {wxRadioBox, getString, 1}},
+ {2129, {wxRadioBox, setSelection, 1}},
+ {2130, {wxRadioBox, show_2, 2}},
+ {2131, {wxRadioBox, show_1, 1}},
+ {2132, {wxRadioBox, getColumnCount, 0}},
+ {2133, {wxRadioBox, getItemHelpText, 1}},
+ {2134, {wxRadioBox, getItemToolTip, 1}},
+ {2136, {wxRadioBox, getItemFromPoint, 1}},
+ {2137, {wxRadioBox, getRowCount, 0}},
+ {2138, {wxRadioBox, isItemEnabled, 1}},
+ {2139, {wxRadioBox, isItemShown, 1}},
+ {2140, {wxRadioBox, setItemHelpText, 2}},
+ {2141, {wxRadioBox, setItemToolTip, 2}},
+ {2142, {wxRadioButton, new_0, 0}},
+ {2143, {wxRadioButton, new_4, 4}},
+ {2144, {wxRadioButton, create, 4}},
+ {2145, {wxRadioButton, getValue, 0}},
+ {2146, {wxRadioButton, setValue, 1}},
+ {2147, {wxRadioButton, 'Destroy', undefined}},
+ {2149, {wxSlider, new_6, 6}},
+ {2150, {wxSlider, new_0, 0}},
+ {2151, {wxSlider, create, 6}},
+ {2152, {wxSlider, getLineSize, 0}},
+ {2153, {wxSlider, getMax, 0}},
+ {2154, {wxSlider, getMin, 0}},
+ {2155, {wxSlider, getPageSize, 0}},
+ {2156, {wxSlider, getThumbLength, 0}},
+ {2157, {wxSlider, getValue, 0}},
+ {2158, {wxSlider, setLineSize, 1}},
+ {2159, {wxSlider, setPageSize, 1}},
+ {2160, {wxSlider, setRange, 2}},
+ {2161, {wxSlider, setThumbLength, 1}},
+ {2162, {wxSlider, setValue, 1}},
+ {2163, {wxSlider, 'Destroy', undefined}},
+ {2165, {wxDialog, new_4, 4}},
+ {2166, {wxDialog, new_0, 0}},
+ {2168, {wxDialog, destruct, 0}},
+ {2169, {wxDialog, create, 4}},
+ {2170, {wxDialog, createButtonSizer, 1}},
+ {2171, {wxDialog, createStdDialogButtonSizer, 1}},
+ {2172, {wxDialog, endModal, 1}},
+ {2173, {wxDialog, getAffirmativeId, 0}},
+ {2174, {wxDialog, getReturnCode, 0}},
+ {2175, {wxDialog, isModal, 0}},
+ {2176, {wxDialog, setAffirmativeId, 1}},
+ {2177, {wxDialog, setReturnCode, 1}},
+ {2178, {wxDialog, show, 1}},
+ {2179, {wxDialog, showModal, 0}},
+ {2180, {wxColourDialog, new_0, 0}},
+ {2181, {wxColourDialog, new_2, 2}},
+ {2182, {wxColourDialog, destruct, 0}},
+ {2183, {wxColourDialog, create, 2}},
+ {2184, {wxColourDialog, getColourData, 0}},
+ {2185, {wxColourData, new_0, 0}},
+ {2186, {wxColourData, new_1, 1}},
+ {2187, {wxColourData, destruct, 0}},
+ {2188, {wxColourData, getChooseFull, 0}},
+ {2189, {wxColourData, getColour, 0}},
+ {2191, {wxColourData, getCustomColour, 1}},
+ {2192, {wxColourData, setChooseFull, 1}},
+ {2193, {wxColourData, setColour, 1}},
+ {2194, {wxColourData, setCustomColour, 2}},
+ {2195, {wxPalette, new_0, 0}},
+ {2196, {wxPalette, new_4, 4}},
+ {2198, {wxPalette, destruct, 0}},
+ {2199, {wxPalette, create, 4}},
+ {2200, {wxPalette, getColoursCount, 0}},
+ {2201, {wxPalette, getPixel, 3}},
+ {2202, {wxPalette, getRGB, 4}},
+ {2203, {wxPalette, isOk, 0}},
+ {2207, {wxDirDialog, new, 2}},
+ {2208, {wxDirDialog, destruct, 0}},
+ {2209, {wxDirDialog, getPath, 0}},
+ {2210, {wxDirDialog, getMessage, 0}},
+ {2211, {wxDirDialog, setMessage, 1}},
+ {2212, {wxDirDialog, setPath, 1}},
+ {2216, {wxFileDialog, new, 2}},
+ {2217, {wxFileDialog, destruct, 0}},
+ {2218, {wxFileDialog, getDirectory, 0}},
+ {2219, {wxFileDialog, getFilename, 0}},
+ {2220, {wxFileDialog, getFilenames, 1}},
+ {2221, {wxFileDialog, getFilterIndex, 0}},
+ {2222, {wxFileDialog, getMessage, 0}},
+ {2223, {wxFileDialog, getPath, 0}},
+ {2224, {wxFileDialog, getPaths, 1}},
+ {2225, {wxFileDialog, getWildcard, 0}},
+ {2226, {wxFileDialog, setDirectory, 1}},
+ {2227, {wxFileDialog, setFilename, 1}},
+ {2228, {wxFileDialog, setFilterIndex, 1}},
+ {2229, {wxFileDialog, setMessage, 1}},
+ {2230, {wxFileDialog, setPath, 1}},
+ {2231, {wxFileDialog, setWildcard, 1}},
+ {2232, {wxPickerBase, setInternalMargin, 1}},
+ {2233, {wxPickerBase, getInternalMargin, 0}},
+ {2234, {wxPickerBase, setTextCtrlProportion, 1}},
+ {2235, {wxPickerBase, setPickerCtrlProportion, 1}},
+ {2236, {wxPickerBase, getTextCtrlProportion, 0}},
+ {2237, {wxPickerBase, getPickerCtrlProportion, 0}},
+ {2238, {wxPickerBase, hasTextCtrl, 0}},
+ {2239, {wxPickerBase, getTextCtrl, 0}},
+ {2240, {wxPickerBase, isTextCtrlGrowable, 0}},
+ {2241, {wxPickerBase, setPickerCtrlGrowable, 1}},
+ {2242, {wxPickerBase, setTextCtrlGrowable, 1}},
+ {2243, {wxPickerBase, isPickerCtrlGrowable, 0}},
+ {2244, {wxFilePickerCtrl, new_0, 0}},
+ {2245, {wxFilePickerCtrl, new_3, 3}},
+ {2246, {wxFilePickerCtrl, create, 3}},
+ {2247, {wxFilePickerCtrl, getPath, 0}},
+ {2248, {wxFilePickerCtrl, setPath, 1}},
+ {2249, {wxFilePickerCtrl, 'Destroy', undefined}},
+ {2250, {wxDirPickerCtrl, new_0, 0}},
+ {2251, {wxDirPickerCtrl, new_3, 3}},
+ {2252, {wxDirPickerCtrl, create, 3}},
+ {2253, {wxDirPickerCtrl, getPath, 0}},
+ {2254, {wxDirPickerCtrl, setPath, 1}},
+ {2255, {wxDirPickerCtrl, 'Destroy', undefined}},
+ {2256, {wxColourPickerCtrl, new_0, 0}},
+ {2257, {wxColourPickerCtrl, new_3, 3}},
+ {2258, {wxColourPickerCtrl, create, 3}},
+ {2259, {wxColourPickerCtrl, getColour, 0}},
+ {2260, {wxColourPickerCtrl, setColour_1_1, 1}},
+ {2261, {wxColourPickerCtrl, setColour_1_0, 1}},
+ {2262, {wxColourPickerCtrl, 'Destroy', undefined}},
+ {2263, {wxDatePickerCtrl, new_0, 0}},
+ {2264, {wxDatePickerCtrl, new_3, 3}},
+ {2265, {wxDatePickerCtrl, getRange, 2}},
+ {2266, {wxDatePickerCtrl, getValue, 0}},
+ {2267, {wxDatePickerCtrl, setRange, 2}},
+ {2268, {wxDatePickerCtrl, setValue, 1}},
+ {2269, {wxDatePickerCtrl, 'Destroy', undefined}},
+ {2270, {wxFontPickerCtrl, new_0, 0}},
+ {2271, {wxFontPickerCtrl, new_3, 3}},
+ {2272, {wxFontPickerCtrl, create, 3}},
+ {2273, {wxFontPickerCtrl, getSelectedFont, 0}},
+ {2274, {wxFontPickerCtrl, setSelectedFont, 1}},
+ {2275, {wxFontPickerCtrl, getMaxPointSize, 0}},
+ {2276, {wxFontPickerCtrl, setMaxPointSize, 1}},
+ {2277, {wxFontPickerCtrl, 'Destroy', undefined}},
+ {2280, {wxFindReplaceDialog, new_0, 0}},
+ {2281, {wxFindReplaceDialog, new_4, 4}},
+ {2282, {wxFindReplaceDialog, destruct, 0}},
+ {2283, {wxFindReplaceDialog, create, 4}},
+ {2284, {wxFindReplaceDialog, getData, 0}},
+ {2285, {wxFindReplaceData, new_0, 0}},
+ {2286, {wxFindReplaceData, new_1, 1}},
+ {2287, {wxFindReplaceData, getFindString, 0}},
+ {2288, {wxFindReplaceData, getReplaceString, 0}},
+ {2289, {wxFindReplaceData, getFlags, 0}},
+ {2290, {wxFindReplaceData, setFlags, 1}},
+ {2291, {wxFindReplaceData, setFindString, 1}},
+ {2292, {wxFindReplaceData, setReplaceString, 1}},
+ {2293, {wxFindReplaceData, 'Destroy', undefined}},
+ {2294, {wxMultiChoiceDialog, new_0, 0}},
+ {2296, {wxMultiChoiceDialog, new_5, 5}},
+ {2297, {wxMultiChoiceDialog, getSelections, 0}},
+ {2298, {wxMultiChoiceDialog, setSelections, 1}},
+ {2299, {wxMultiChoiceDialog, 'Destroy', undefined}},
+ {2300, {wxSingleChoiceDialog, new_0, 0}},
+ {2302, {wxSingleChoiceDialog, new_5, 5}},
+ {2303, {wxSingleChoiceDialog, getSelection, 0}},
+ {2304, {wxSingleChoiceDialog, getStringSelection, 0}},
+ {2305, {wxSingleChoiceDialog, setSelection, 1}},
+ {2306, {wxSingleChoiceDialog, 'Destroy', undefined}},
+ {2307, {wxTextEntryDialog, new, 3}},
+ {2308, {wxTextEntryDialog, getValue, 0}},
+ {2309, {wxTextEntryDialog, setValue, 1}},
+ {2310, {wxTextEntryDialog, 'Destroy', undefined}},
+ {2311, {wxPasswordEntryDialog, new, 3}},
+ {2312, {wxPasswordEntryDialog, 'Destroy', undefined}},
+ {2313, {wxFontData, new_0, 0}},
+ {2314, {wxFontData, new_1, 1}},
+ {2315, {wxFontData, destruct, 0}},
+ {2316, {wxFontData, enableEffects, 1}},
+ {2317, {wxFontData, getAllowSymbols, 0}},
+ {2318, {wxFontData, getColour, 0}},
+ {2319, {wxFontData, getChosenFont, 0}},
+ {2320, {wxFontData, getEnableEffects, 0}},
+ {2321, {wxFontData, getInitialFont, 0}},
+ {2322, {wxFontData, getShowHelp, 0}},
+ {2323, {wxFontData, setAllowSymbols, 1}},
+ {2324, {wxFontData, setChosenFont, 1}},
+ {2325, {wxFontData, setColour, 1}},
+ {2326, {wxFontData, setInitialFont, 1}},
+ {2327, {wxFontData, setRange, 2}},
+ {2328, {wxFontData, setShowHelp, 1}},
+ {2332, {wxFontDialog, new_0, 0}},
+ {2334, {wxFontDialog, new_2, 2}},
+ {2336, {wxFontDialog, create, 2}},
+ {2337, {wxFontDialog, getFontData, 0}},
+ {2339, {wxFontDialog, 'Destroy', undefined}},
+ {2340, {wxProgressDialog, new, 3}},
+ {2341, {wxProgressDialog, destruct, 0}},
+ {2342, {wxProgressDialog, resume, 0}},
+ {2343, {wxProgressDialog, update_2, 2}},
+ {2344, {wxProgressDialog, update_0, 0}},
+ {2345, {wxMessageDialog, new, 3}},
+ {2346, {wxMessageDialog, destruct, 0}},
+ {2347, {wxPageSetupDialog, new, 2}},
+ {2348, {wxPageSetupDialog, destruct, 0}},
+ {2349, {wxPageSetupDialog, getPageSetupData, 0}},
+ {2350, {wxPageSetupDialog, showModal, 0}},
+ {2351, {wxPageSetupDialogData, new_0, 0}},
+ {2352, {wxPageSetupDialogData, new_1_0, 1}},
+ {2353, {wxPageSetupDialogData, new_1_1, 1}},
+ {2354, {wxPageSetupDialogData, destruct, 0}},
+ {2355, {wxPageSetupDialogData, enableHelp, 1}},
+ {2356, {wxPageSetupDialogData, enableMargins, 1}},
+ {2357, {wxPageSetupDialogData, enableOrientation, 1}},
+ {2358, {wxPageSetupDialogData, enablePaper, 1}},
+ {2359, {wxPageSetupDialogData, enablePrinter, 1}},
+ {2360, {wxPageSetupDialogData, getDefaultMinMargins, 0}},
+ {2361, {wxPageSetupDialogData, getEnableMargins, 0}},
+ {2362, {wxPageSetupDialogData, getEnableOrientation, 0}},
+ {2363, {wxPageSetupDialogData, getEnablePaper, 0}},
+ {2364, {wxPageSetupDialogData, getEnablePrinter, 0}},
+ {2365, {wxPageSetupDialogData, getEnableHelp, 0}},
+ {2366, {wxPageSetupDialogData, getDefaultInfo, 0}},
+ {2367, {wxPageSetupDialogData, getMarginTopLeft, 0}},
+ {2368, {wxPageSetupDialogData, getMarginBottomRight, 0}},
+ {2369, {wxPageSetupDialogData, getMinMarginTopLeft, 0}},
+ {2370, {wxPageSetupDialogData, getMinMarginBottomRight, 0}},
+ {2371, {wxPageSetupDialogData, getPaperId, 0}},
+ {2372, {wxPageSetupDialogData, getPaperSize, 0}},
+ {2374, {wxPageSetupDialogData, getPrintData, 0}},
+ {2375, {wxPageSetupDialogData, isOk, 0}},
+ {2376, {wxPageSetupDialogData, setDefaultInfo, 1}},
+ {2377, {wxPageSetupDialogData, setDefaultMinMargins, 1}},
+ {2378, {wxPageSetupDialogData, setMarginTopLeft, 1}},
+ {2379, {wxPageSetupDialogData, setMarginBottomRight, 1}},
+ {2380, {wxPageSetupDialogData, setMinMarginTopLeft, 1}},
+ {2381, {wxPageSetupDialogData, setMinMarginBottomRight, 1}},
+ {2382, {wxPageSetupDialogData, setPaperId, 1}},
+ {2383, {wxPageSetupDialogData, setPaperSize_1_1, 1}},
+ {2384, {wxPageSetupDialogData, setPaperSize_1_0, 1}},
+ {2385, {wxPageSetupDialogData, setPrintData, 1}},
+ {2386, {wxPrintDialog, new_2_0, 2}},
+ {2387, {wxPrintDialog, new_2_1, 2}},
+ {2388, {wxPrintDialog, destruct, 0}},
+ {2389, {wxPrintDialog, getPrintDialogData, 0}},
+ {2390, {wxPrintDialog, getPrintDC, 0}},
+ {2391, {wxPrintDialogData, new_0, 0}},
+ {2392, {wxPrintDialogData, new_1_1, 1}},
+ {2393, {wxPrintDialogData, new_1_0, 1}},
+ {2394, {wxPrintDialogData, destruct, 0}},
+ {2395, {wxPrintDialogData, enableHelp, 1}},
+ {2396, {wxPrintDialogData, enablePageNumbers, 1}},
+ {2397, {wxPrintDialogData, enablePrintToFile, 1}},
+ {2398, {wxPrintDialogData, enableSelection, 1}},
+ {2399, {wxPrintDialogData, getAllPages, 0}},
+ {2400, {wxPrintDialogData, getCollate, 0}},
+ {2401, {wxPrintDialogData, getFromPage, 0}},
+ {2402, {wxPrintDialogData, getMaxPage, 0}},
+ {2403, {wxPrintDialogData, getMinPage, 0}},
+ {2404, {wxPrintDialogData, getNoCopies, 0}},
+ {2405, {wxPrintDialogData, getPrintData, 0}},
+ {2406, {wxPrintDialogData, getPrintToFile, 0}},
+ {2407, {wxPrintDialogData, getSelection, 0}},
+ {2408, {wxPrintDialogData, getToPage, 0}},
+ {2409, {wxPrintDialogData, isOk, 0}},
+ {2410, {wxPrintDialogData, setCollate, 1}},
+ {2411, {wxPrintDialogData, setFromPage, 1}},
+ {2412, {wxPrintDialogData, setMaxPage, 1}},
+ {2413, {wxPrintDialogData, setMinPage, 1}},
+ {2414, {wxPrintDialogData, setNoCopies, 1}},
+ {2415, {wxPrintDialogData, setPrintData, 1}},
+ {2416, {wxPrintDialogData, setPrintToFile, 1}},
+ {2417, {wxPrintDialogData, setSelection, 1}},
+ {2418, {wxPrintDialogData, setToPage, 1}},
+ {2419, {wxPrintData, new_0, 0}},
+ {2420, {wxPrintData, new_1, 1}},
+ {2421, {wxPrintData, destruct, 0}},
+ {2422, {wxPrintData, getCollate, 0}},
+ {2423, {wxPrintData, getBin, 0}},
+ {2424, {wxPrintData, getColour, 0}},
+ {2425, {wxPrintData, getDuplex, 0}},
+ {2426, {wxPrintData, getNoCopies, 0}},
+ {2427, {wxPrintData, getOrientation, 0}},
+ {2428, {wxPrintData, getPaperId, 0}},
+ {2429, {wxPrintData, getPrinterName, 0}},
+ {2430, {wxPrintData, getQuality, 0}},
+ {2431, {wxPrintData, isOk, 0}},
+ {2432, {wxPrintData, setBin, 1}},
+ {2433, {wxPrintData, setCollate, 1}},
+ {2434, {wxPrintData, setColour, 1}},
+ {2435, {wxPrintData, setDuplex, 1}},
+ {2436, {wxPrintData, setNoCopies, 1}},
+ {2437, {wxPrintData, setOrientation, 1}},
+ {2438, {wxPrintData, setPaperId, 1}},
+ {2439, {wxPrintData, setPrinterName, 1}},
+ {2440, {wxPrintData, setQuality, 1}},
+ {2443, {wxPrintPreview, new_2, 2}},
+ {2444, {wxPrintPreview, new_3, 3}},
+ {2446, {wxPrintPreview, destruct, 0}},
+ {2447, {wxPrintPreview, getCanvas, 0}},
+ {2448, {wxPrintPreview, getCurrentPage, 0}},
+ {2449, {wxPrintPreview, getFrame, 0}},
+ {2450, {wxPrintPreview, getMaxPage, 0}},
+ {2451, {wxPrintPreview, getMinPage, 0}},
+ {2452, {wxPrintPreview, getPrintout, 0}},
+ {2453, {wxPrintPreview, getPrintoutForPrinting, 0}},
+ {2454, {wxPrintPreview, isOk, 0}},
+ {2455, {wxPrintPreview, paintPage, 2}},
+ {2456, {wxPrintPreview, print, 1}},
+ {2457, {wxPrintPreview, renderPage, 1}},
+ {2458, {wxPrintPreview, setCanvas, 1}},
+ {2459, {wxPrintPreview, setCurrentPage, 1}},
+ {2460, {wxPrintPreview, setFrame, 1}},
+ {2461, {wxPrintPreview, setPrintout, 1}},
+ {2462, {wxPrintPreview, setZoom, 1}},
+ {2463, {wxPreviewFrame, new, 3}},
+ {2464, {wxPreviewFrame, destruct, 0}},
+ {2465, {wxPreviewFrame, createControlBar, 0}},
+ {2466, {wxPreviewFrame, createCanvas, 0}},
+ {2467, {wxPreviewFrame, initialize, 0}},
+ {2468, {wxPreviewFrame, onCloseWindow, 1}},
+ {2469, {wxPreviewControlBar, new, 4}},
+ {2470, {wxPreviewControlBar, destruct, 0}},
+ {2471, {wxPreviewControlBar, createButtons, 0}},
+ {2472, {wxPreviewControlBar, getPrintPreview, 0}},
+ {2473, {wxPreviewControlBar, getZoomControl, 0}},
+ {2474, {wxPreviewControlBar, setZoomControl, 1}},
+ {2476, {wxPrinter, new, 1}},
+ {2477, {wxPrinter, createAbortWindow, 2}},
+ {2478, {wxPrinter, getAbort, 0}},
+ {2479, {wxPrinter, getLastError, 0}},
+ {2480, {wxPrinter, getPrintDialogData, 0}},
+ {2481, {wxPrinter, print, 3}},
+ {2482, {wxPrinter, printDialog, 1}},
+ {2483, {wxPrinter, reportError, 3}},
+ {2484, {wxPrinter, setup, 1}},
+ {2485, {wxPrinter, 'Destroy', undefined}},
+ {2486, {wxXmlResource, new_1, 1}},
+ {2487, {wxXmlResource, new_2, 2}},
+ {2488, {wxXmlResource, destruct, 0}},
+ {2489, {wxXmlResource, attachUnknownControl, 3}},
+ {2490, {wxXmlResource, clearHandlers, 0}},
+ {2491, {wxXmlResource, compareVersion, 4}},
+ {2492, {wxXmlResource, get, 0}},
+ {2493, {wxXmlResource, getFlags, 0}},
+ {2494, {wxXmlResource, getVersion, 0}},
+ {2495, {wxXmlResource, getXRCID, 2}},
+ {2496, {wxXmlResource, initAllHandlers, 0}},
+ {2497, {wxXmlResource, load, 1}},
+ {2498, {wxXmlResource, loadBitmap, 1}},
+ {2499, {wxXmlResource, loadDialog_2, 2}},
+ {2500, {wxXmlResource, loadDialog_3, 3}},
+ {2501, {wxXmlResource, loadFrame_2, 2}},
+ {2502, {wxXmlResource, loadFrame_3, 3}},
+ {2503, {wxXmlResource, loadIcon, 1}},
+ {2504, {wxXmlResource, loadMenu, 1}},
+ {2505, {wxXmlResource, loadMenuBar_2, 2}},
+ {2506, {wxXmlResource, loadMenuBar_1, 1}},
+ {2507, {wxXmlResource, loadPanel_2, 2}},
+ {2508, {wxXmlResource, loadPanel_3, 3}},
+ {2509, {wxXmlResource, loadToolBar, 2}},
+ {2510, {wxXmlResource, set, 1}},
+ {2511, {wxXmlResource, setFlags, 1}},
+ {2512, {wxXmlResource, unload, 1}},
+ {2513, {wxXmlResource, xrcctrl, 3}},
+ {2514, {wxHtmlEasyPrinting, new, 1}},
+ {2515, {wxHtmlEasyPrinting, destruct, 0}},
+ {2516, {wxHtmlEasyPrinting, getPrintData, 0}},
+ {2517, {wxHtmlEasyPrinting, getPageSetupData, 0}},
+ {2518, {wxHtmlEasyPrinting, previewFile, 1}},
+ {2519, {wxHtmlEasyPrinting, previewText, 2}},
+ {2520, {wxHtmlEasyPrinting, printFile, 1}},
+ {2521, {wxHtmlEasyPrinting, printText, 2}},
+ {2522, {wxHtmlEasyPrinting, pageSetup, 0}},
+ {2523, {wxHtmlEasyPrinting, setFonts, 3}},
+ {2524, {wxHtmlEasyPrinting, setHeader, 2}},
+ {2525, {wxHtmlEasyPrinting, setFooter, 2}},
+ {2527, {wxGLCanvas, new_2, 2}},
+ {2528, {wxGLCanvas, new_3_1, 3}},
+ {2529, {wxGLCanvas, new_3_0, 3}},
+ {2530, {wxGLCanvas, getContext, 0}},
+ {2532, {wxGLCanvas, setCurrent, 0}},
+ {2533, {wxGLCanvas, swapBuffers, 0}},
+ {2534, {wxGLCanvas, 'Destroy', undefined}},
+ {2535, {wxAuiManager, new, 1}},
+ {2536, {wxAuiManager, destruct, 0}},
+ {2537, {wxAuiManager, addPane_2_1, 2}},
+ {2538, {wxAuiManager, addPane_3, 3}},
+ {2539, {wxAuiManager, addPane_2_0, 2}},
+ {2540, {wxAuiManager, detachPane, 1}},
+ {2541, {wxAuiManager, getAllPanes, 0}},
+ {2542, {wxAuiManager, getArtProvider, 0}},
+ {2543, {wxAuiManager, getDockSizeConstraint, 2}},
+ {2544, {wxAuiManager, getFlags, 0}},
+ {2545, {wxAuiManager, getManagedWindow, 0}},
+ {2546, {wxAuiManager, getManager, 1}},
+ {2547, {wxAuiManager, getPane_1_1, 1}},
+ {2548, {wxAuiManager, getPane_1_0, 1}},
+ {2549, {wxAuiManager, hideHint, 0}},
+ {2550, {wxAuiManager, insertPane, 3}},
+ {2551, {wxAuiManager, loadPaneInfo, 2}},
+ {2552, {wxAuiManager, loadPerspective, 2}},
+ {2553, {wxAuiManager, savePaneInfo, 1}},
+ {2554, {wxAuiManager, savePerspective, 0}},
+ {2555, {wxAuiManager, setArtProvider, 1}},
+ {2556, {wxAuiManager, setDockSizeConstraint, 2}},
+ {2557, {wxAuiManager, setFlags, 1}},
+ {2558, {wxAuiManager, setManagedWindow, 1}},
+ {2559, {wxAuiManager, showHint, 1}},
+ {2560, {wxAuiManager, unInit, 0}},
+ {2561, {wxAuiManager, update, 0}},
+ {2562, {wxAuiPaneInfo, new_0, 0}},
+ {2563, {wxAuiPaneInfo, new_1, 1}},
+ {2564, {wxAuiPaneInfo, destruct, 0}},
+ {2565, {wxAuiPaneInfo, bestSize_1, 1}},
+ {2566, {wxAuiPaneInfo, bestSize_2, 2}},
+ {2567, {wxAuiPaneInfo, bottom, 0}},
+ {2568, {wxAuiPaneInfo, bottomDockable, 1}},
+ {2569, {wxAuiPaneInfo, caption, 1}},
+ {2570, {wxAuiPaneInfo, captionVisible, 1}},
+ {2571, {wxAuiPaneInfo, centre, 0}},
+ {2572, {wxAuiPaneInfo, centrePane, 0}},
+ {2573, {wxAuiPaneInfo, closeButton, 1}},
+ {2574, {wxAuiPaneInfo, defaultPane, 0}},
+ {2575, {wxAuiPaneInfo, destroyOnClose, 1}},
+ {2576, {wxAuiPaneInfo, direction, 1}},
+ {2577, {wxAuiPaneInfo, dock, 0}},
+ {2578, {wxAuiPaneInfo, dockable, 1}},
+ {2579, {wxAuiPaneInfo, fixed, 0}},
+ {2580, {wxAuiPaneInfo, float, 0}},
+ {2581, {wxAuiPaneInfo, floatable, 1}},
+ {2582, {wxAuiPaneInfo, floatingPosition_1, 1}},
+ {2583, {wxAuiPaneInfo, floatingPosition_2, 2}},
+ {2584, {wxAuiPaneInfo, floatingSize_1, 1}},
+ {2585, {wxAuiPaneInfo, floatingSize_2, 2}},
+ {2586, {wxAuiPaneInfo, gripper, 1}},
+ {2587, {wxAuiPaneInfo, gripperTop, 1}},
+ {2588, {wxAuiPaneInfo, hasBorder, 0}},
+ {2589, {wxAuiPaneInfo, hasCaption, 0}},
+ {2590, {wxAuiPaneInfo, hasCloseButton, 0}},
+ {2591, {wxAuiPaneInfo, hasFlag, 1}},
+ {2592, {wxAuiPaneInfo, hasGripper, 0}},
+ {2593, {wxAuiPaneInfo, hasGripperTop, 0}},
+ {2594, {wxAuiPaneInfo, hasMaximizeButton, 0}},
+ {2595, {wxAuiPaneInfo, hasMinimizeButton, 0}},
+ {2596, {wxAuiPaneInfo, hasPinButton, 0}},
+ {2597, {wxAuiPaneInfo, hide, 0}},
+ {2598, {wxAuiPaneInfo, isBottomDockable, 0}},
+ {2599, {wxAuiPaneInfo, isDocked, 0}},
+ {2600, {wxAuiPaneInfo, isFixed, 0}},
+ {2601, {wxAuiPaneInfo, isFloatable, 0}},
+ {2602, {wxAuiPaneInfo, isFloating, 0}},
+ {2603, {wxAuiPaneInfo, isLeftDockable, 0}},
+ {2604, {wxAuiPaneInfo, isMovable, 0}},
+ {2605, {wxAuiPaneInfo, isOk, 0}},
+ {2606, {wxAuiPaneInfo, isResizable, 0}},
+ {2607, {wxAuiPaneInfo, isRightDockable, 0}},
+ {2608, {wxAuiPaneInfo, isShown, 0}},
+ {2609, {wxAuiPaneInfo, isToolbar, 0}},
+ {2610, {wxAuiPaneInfo, isTopDockable, 0}},
+ {2611, {wxAuiPaneInfo, layer, 1}},
+ {2612, {wxAuiPaneInfo, left, 0}},
+ {2613, {wxAuiPaneInfo, leftDockable, 1}},
+ {2614, {wxAuiPaneInfo, maxSize_1, 1}},
+ {2615, {wxAuiPaneInfo, maxSize_2, 2}},
+ {2616, {wxAuiPaneInfo, maximizeButton, 1}},
+ {2617, {wxAuiPaneInfo, minSize_1, 1}},
+ {2618, {wxAuiPaneInfo, minSize_2, 2}},
+ {2619, {wxAuiPaneInfo, minimizeButton, 1}},
+ {2620, {wxAuiPaneInfo, movable, 1}},
+ {2621, {wxAuiPaneInfo, name, 1}},
+ {2622, {wxAuiPaneInfo, paneBorder, 1}},
+ {2623, {wxAuiPaneInfo, pinButton, 1}},
+ {2624, {wxAuiPaneInfo, position, 1}},
+ {2625, {wxAuiPaneInfo, resizable, 1}},
+ {2626, {wxAuiPaneInfo, right, 0}},
+ {2627, {wxAuiPaneInfo, rightDockable, 1}},
+ {2628, {wxAuiPaneInfo, row, 1}},
+ {2629, {wxAuiPaneInfo, safeSet, 1}},
+ {2630, {wxAuiPaneInfo, setFlag, 2}},
+ {2631, {wxAuiPaneInfo, show, 1}},
+ {2632, {wxAuiPaneInfo, toolbarPane, 0}},
+ {2633, {wxAuiPaneInfo, top, 0}},
+ {2634, {wxAuiPaneInfo, topDockable, 1}},
+ {2635, {wxAuiPaneInfo, window, 1}},
+ {2636, {wxAuiNotebook, new_0, 0}},
+ {2637, {wxAuiNotebook, new_2, 2}},
+ {2638, {wxAuiNotebook, addPage, 3}},
+ {2639, {wxAuiNotebook, create, 2}},
+ {2640, {wxAuiNotebook, deletePage, 1}},
+ {2641, {wxAuiNotebook, getArtProvider, 0}},
+ {2642, {wxAuiNotebook, getPage, 1}},
+ {2643, {wxAuiNotebook, getPageBitmap, 1}},
+ {2644, {wxAuiNotebook, getPageCount, 0}},
+ {2645, {wxAuiNotebook, getPageIndex, 1}},
+ {2646, {wxAuiNotebook, getPageText, 1}},
+ {2647, {wxAuiNotebook, getSelection, 0}},
+ {2648, {wxAuiNotebook, insertPage, 4}},
+ {2649, {wxAuiNotebook, removePage, 1}},
+ {2650, {wxAuiNotebook, setArtProvider, 1}},
+ {2651, {wxAuiNotebook, setFont, 1}},
+ {2652, {wxAuiNotebook, setPageBitmap, 2}},
+ {2653, {wxAuiNotebook, setPageText, 2}},
+ {2654, {wxAuiNotebook, setSelection, 1}},
+ {2655, {wxAuiNotebook, setTabCtrlHeight, 1}},
+ {2656, {wxAuiNotebook, setUniformBitmapSize, 1}},
+ {2657, {wxAuiNotebook, 'Destroy', undefined}},
+ {2658, {wxMDIParentFrame, new_0, 0}},
+ {2659, {wxMDIParentFrame, new_4, 4}},
+ {2660, {wxMDIParentFrame, destruct, 0}},
+ {2661, {wxMDIParentFrame, activateNext, 0}},
+ {2662, {wxMDIParentFrame, activatePrevious, 0}},
+ {2663, {wxMDIParentFrame, arrangeIcons, 0}},
+ {2664, {wxMDIParentFrame, cascade, 0}},
+ {2665, {wxMDIParentFrame, create, 4}},
+ {2666, {wxMDIParentFrame, getActiveChild, 0}},
+ {2667, {wxMDIParentFrame, getClientWindow, 0}},
+ {2668, {wxMDIParentFrame, tile, 1}},
+ {2669, {wxMDIChildFrame, new_0, 0}},
+ {2670, {wxMDIChildFrame, new_4, 4}},
+ {2671, {wxMDIChildFrame, destruct, 0}},
+ {2672, {wxMDIChildFrame, activate, 0}},
+ {2673, {wxMDIChildFrame, create, 4}},
+ {2674, {wxMDIChildFrame, maximize, 1}},
+ {2675, {wxMDIChildFrame, restore, 0}},
+ {2676, {wxMDIClientWindow, new_0, 0}},
+ {2677, {wxMDIClientWindow, new_2, 2}},
+ {2678, {wxMDIClientWindow, destruct, 0}},
+ {2679, {wxMDIClientWindow, createClient, 2}},
+ {2680, {wxLayoutAlgorithm, new, 0}},
+ {2681, {wxLayoutAlgorithm, layoutFrame, 2}},
+ {2682, {wxLayoutAlgorithm, layoutMDIFrame, 2}},
+ {2683, {wxLayoutAlgorithm, layoutWindow, 2}},
+ {2684, {wxLayoutAlgorithm, 'Destroy', undefined}},
+ {2685, {wxEvent, getId, 0}},
+ {2686, {wxEvent, getSkipped, 0}},
+ {2687, {wxEvent, getTimestamp, 0}},
+ {2688, {wxEvent, isCommandEvent, 0}},
+ {2689, {wxEvent, resumePropagation, 1}},
+ {2690, {wxEvent, shouldPropagate, 0}},
+ {2691, {wxEvent, skip, 1}},
+ {2692, {wxEvent, stopPropagation, 0}},
+ {2693, {wxCommandEvent, getClientData, 0}},
+ {2694, {wxCommandEvent, getExtraLong, 0}},
+ {2695, {wxCommandEvent, getInt, 0}},
+ {2696, {wxCommandEvent, getSelection, 0}},
+ {2697, {wxCommandEvent, getString, 0}},
+ {2698, {wxCommandEvent, isChecked, 0}},
+ {2699, {wxCommandEvent, isSelection, 0}},
+ {2700, {wxCommandEvent, setInt, 1}},
+ {2701, {wxCommandEvent, setString, 1}},
+ {2702, {wxScrollEvent, getOrientation, 0}},
+ {2703, {wxScrollEvent, getPosition, 0}},
+ {2704, {wxScrollWinEvent, getOrientation, 0}},
+ {2705, {wxScrollWinEvent, getPosition, 0}},
+ {2706, {wxMouseEvent, altDown, 0}},
+ {2707, {wxMouseEvent, button, 1}},
+ {2708, {wxMouseEvent, buttonDClick, 1}},
+ {2709, {wxMouseEvent, buttonDown, 1}},
+ {2710, {wxMouseEvent, buttonUp, 1}},
+ {2711, {wxMouseEvent, cmdDown, 0}},
+ {2712, {wxMouseEvent, controlDown, 0}},
+ {2713, {wxMouseEvent, dragging, 0}},
+ {2714, {wxMouseEvent, entering, 0}},
+ {2715, {wxMouseEvent, getButton, 0}},
+ {2718, {wxMouseEvent, getPosition, 0}},
+ {2719, {wxMouseEvent, getLogicalPosition, 1}},
+ {2720, {wxMouseEvent, getLinesPerAction, 0}},
+ {2721, {wxMouseEvent, getWheelRotation, 0}},
+ {2722, {wxMouseEvent, getWheelDelta, 0}},
+ {2723, {wxMouseEvent, getX, 0}},
+ {2724, {wxMouseEvent, getY, 0}},
+ {2725, {wxMouseEvent, isButton, 0}},
+ {2726, {wxMouseEvent, isPageScroll, 0}},
+ {2727, {wxMouseEvent, leaving, 0}},
+ {2728, {wxMouseEvent, leftDClick, 0}},
+ {2729, {wxMouseEvent, leftDown, 0}},
+ {2730, {wxMouseEvent, leftIsDown, 0}},
+ {2731, {wxMouseEvent, leftUp, 0}},
+ {2732, {wxMouseEvent, metaDown, 0}},
+ {2733, {wxMouseEvent, middleDClick, 0}},
+ {2734, {wxMouseEvent, middleDown, 0}},
+ {2735, {wxMouseEvent, middleIsDown, 0}},
+ {2736, {wxMouseEvent, middleUp, 0}},
+ {2737, {wxMouseEvent, moving, 0}},
+ {2738, {wxMouseEvent, rightDClick, 0}},
+ {2739, {wxMouseEvent, rightDown, 0}},
+ {2740, {wxMouseEvent, rightIsDown, 0}},
+ {2741, {wxMouseEvent, rightUp, 0}},
+ {2742, {wxMouseEvent, shiftDown, 0}},
+ {2743, {wxSetCursorEvent, getCursor, 0}},
+ {2744, {wxSetCursorEvent, getX, 0}},
+ {2745, {wxSetCursorEvent, getY, 0}},
+ {2746, {wxSetCursorEvent, hasCursor, 0}},
+ {2747, {wxSetCursorEvent, setCursor, 1}},
+ {2748, {wxKeyEvent, altDown, 0}},
+ {2749, {wxKeyEvent, cmdDown, 0}},
+ {2750, {wxKeyEvent, controlDown, 0}},
+ {2751, {wxKeyEvent, getKeyCode, 0}},
+ {2752, {wxKeyEvent, getModifiers, 0}},
+ {2755, {wxKeyEvent, getPosition, 0}},
+ {2756, {wxKeyEvent, getRawKeyCode, 0}},
+ {2757, {wxKeyEvent, getRawKeyFlags, 0}},
+ {2758, {wxKeyEvent, getUnicodeKey, 0}},
+ {2759, {wxKeyEvent, getX, 0}},
+ {2760, {wxKeyEvent, getY, 0}},
+ {2761, {wxKeyEvent, hasModifiers, 0}},
+ {2762, {wxKeyEvent, metaDown, 0}},
+ {2763, {wxKeyEvent, shiftDown, 0}},
+ {2764, {wxSizeEvent, getSize, 0}},
+ {2765, {wxMoveEvent, getPosition, 0}},
+ {2766, {wxEraseEvent, getDC, 0}},
+ {2767, {wxFocusEvent, getWindow, 0}},
+ {2768, {wxChildFocusEvent, getWindow, 0}},
+ {2769, {wxMenuEvent, getMenu, 0}},
+ {2770, {wxMenuEvent, getMenuId, 0}},
+ {2771, {wxMenuEvent, isPopup, 0}},
+ {2772, {wxCloseEvent, canVeto, 0}},
+ {2773, {wxCloseEvent, getLoggingOff, 0}},
+ {2774, {wxCloseEvent, setCanVeto, 1}},
+ {2775, {wxCloseEvent, setLoggingOff, 1}},
+ {2776, {wxCloseEvent, veto, 1}},
+ {2777, {wxShowEvent, setShow, 1}},
+ {2778, {wxShowEvent, getShow, 0}},
+ {2779, {wxIconizeEvent, iconized, 0}},
+ {2780, {wxJoystickEvent, buttonDown, 1}},
+ {2781, {wxJoystickEvent, buttonIsDown, 1}},
+ {2782, {wxJoystickEvent, buttonUp, 1}},
+ {2783, {wxJoystickEvent, getButtonChange, 0}},
+ {2784, {wxJoystickEvent, getButtonState, 0}},
+ {2785, {wxJoystickEvent, getJoystick, 0}},
+ {2786, {wxJoystickEvent, getPosition, 0}},
+ {2787, {wxJoystickEvent, getZPosition, 0}},
+ {2788, {wxJoystickEvent, isButton, 0}},
+ {2789, {wxJoystickEvent, isMove, 0}},
+ {2790, {wxJoystickEvent, isZMove, 0}},
+ {2791, {wxUpdateUIEvent, canUpdate, 1}},
+ {2792, {wxUpdateUIEvent, check, 1}},
+ {2793, {wxUpdateUIEvent, enable, 1}},
+ {2794, {wxUpdateUIEvent, show, 1}},
+ {2795, {wxUpdateUIEvent, getChecked, 0}},
+ {2796, {wxUpdateUIEvent, getEnabled, 0}},
+ {2797, {wxUpdateUIEvent, getShown, 0}},
+ {2798, {wxUpdateUIEvent, getSetChecked, 0}},
+ {2799, {wxUpdateUIEvent, getSetEnabled, 0}},
+ {2800, {wxUpdateUIEvent, getSetShown, 0}},
+ {2801, {wxUpdateUIEvent, getSetText, 0}},
+ {2802, {wxUpdateUIEvent, getText, 0}},
+ {2803, {wxUpdateUIEvent, getMode, 0}},
+ {2804, {wxUpdateUIEvent, getUpdateInterval, 0}},
+ {2805, {wxUpdateUIEvent, resetUpdateTime, 0}},
+ {2806, {wxUpdateUIEvent, setMode, 1}},
+ {2807, {wxUpdateUIEvent, setText, 1}},
+ {2808, {wxUpdateUIEvent, setUpdateInterval, 1}},
+ {2809, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}},
+ {2810, {wxPaletteChangedEvent, setChangedWindow, 1}},
+ {2811, {wxPaletteChangedEvent, getChangedWindow, 0}},
+ {2812, {wxQueryNewPaletteEvent, setPaletteRealized, 1}},
+ {2813, {wxQueryNewPaletteEvent, getPaletteRealized, 0}},
+ {2814, {wxNavigationKeyEvent, getDirection, 0}},
+ {2815, {wxNavigationKeyEvent, setDirection, 1}},
+ {2816, {wxNavigationKeyEvent, isWindowChange, 0}},
+ {2817, {wxNavigationKeyEvent, setWindowChange, 1}},
+ {2818, {wxNavigationKeyEvent, isFromTab, 0}},
+ {2819, {wxNavigationKeyEvent, setFromTab, 1}},
+ {2820, {wxNavigationKeyEvent, getCurrentFocus, 0}},
+ {2821, {wxNavigationKeyEvent, setCurrentFocus, 1}},
+ {2822, {wxHelpEvent, getOrigin, 0}},
+ {2823, {wxHelpEvent, getPosition, 0}},
+ {2824, {wxHelpEvent, setOrigin, 1}},
+ {2825, {wxHelpEvent, setPosition, 1}},
+ {2826, {wxContextMenuEvent, getPosition, 0}},
+ {2827, {wxContextMenuEvent, setPosition, 1}},
+ {2828, {wxIdleEvent, canSend, 1}},
+ {2829, {wxIdleEvent, getMode, 0}},
+ {2830, {wxIdleEvent, requestMore, 1}},
+ {2831, {wxIdleEvent, moreRequested, 0}},
+ {2832, {wxIdleEvent, setMode, 1}},
+ {2833, {wxGridEvent, altDown, 0}},
+ {2834, {wxGridEvent, controlDown, 0}},
+ {2835, {wxGridEvent, getCol, 0}},
+ {2836, {wxGridEvent, getPosition, 0}},
+ {2837, {wxGridEvent, getRow, 0}},
+ {2838, {wxGridEvent, metaDown, 0}},
+ {2839, {wxGridEvent, selecting, 0}},
+ {2840, {wxGridEvent, shiftDown, 0}},
+ {2841, {wxNotifyEvent, allow, 0}},
+ {2842, {wxNotifyEvent, isAllowed, 0}},
+ {2843, {wxNotifyEvent, veto, 0}},
+ {2844, {wxSashEvent, getEdge, 0}},
+ {2845, {wxSashEvent, getDragRect, 0}},
+ {2846, {wxSashEvent, getDragStatus, 0}},
+ {2847, {wxListEvent, getCacheFrom, 0}},
+ {2848, {wxListEvent, getCacheTo, 0}},
+ {2849, {wxListEvent, getKeyCode, 0}},
+ {2850, {wxListEvent, getIndex, 0}},
+ {2851, {wxListEvent, getColumn, 0}},
+ {2852, {wxListEvent, getPoint, 0}},
+ {2853, {wxListEvent, getLabel, 0}},
+ {2854, {wxListEvent, getText, 0}},
+ {2855, {wxListEvent, getImage, 0}},
+ {2856, {wxListEvent, getData, 0}},
+ {2857, {wxListEvent, getMask, 0}},
+ {2858, {wxListEvent, getItem, 0}},
+ {2859, {wxListEvent, isEditCancelled, 0}},
+ {2860, {wxDateEvent, getDate, 0}},
+ {2861, {wxCalendarEvent, getWeekDay, 0}},
+ {2862, {wxFileDirPickerEvent, getPath, 0}},
+ {2863, {wxColourPickerEvent, getColour, 0}},
+ {2864, {wxFontPickerEvent, getFont, 0}},
+ {2865, {wxStyledTextEvent, getPosition, 0}},
+ {2866, {wxStyledTextEvent, getKey, 0}},
+ {2867, {wxStyledTextEvent, getModifiers, 0}},
+ {2868, {wxStyledTextEvent, getModificationType, 0}},
+ {2869, {wxStyledTextEvent, getText, 0}},
+ {2870, {wxStyledTextEvent, getLength, 0}},
+ {2871, {wxStyledTextEvent, getLinesAdded, 0}},
+ {2872, {wxStyledTextEvent, getLine, 0}},
+ {2873, {wxStyledTextEvent, getFoldLevelNow, 0}},
+ {2874, {wxStyledTextEvent, getFoldLevelPrev, 0}},
+ {2875, {wxStyledTextEvent, getMargin, 0}},
+ {2876, {wxStyledTextEvent, getMessage, 0}},
+ {2877, {wxStyledTextEvent, getWParam, 0}},
+ {2878, {wxStyledTextEvent, getLParam, 0}},
+ {2879, {wxStyledTextEvent, getListType, 0}},
+ {2880, {wxStyledTextEvent, getX, 0}},
+ {2881, {wxStyledTextEvent, getY, 0}},
+ {2882, {wxStyledTextEvent, getDragText, 0}},
+ {2883, {wxStyledTextEvent, getDragAllowMove, 0}},
+ {2884, {wxStyledTextEvent, getDragResult, 0}},
+ {2885, {wxStyledTextEvent, getShift, 0}},
+ {2886, {wxStyledTextEvent, getControl, 0}},
+ {2887, {wxStyledTextEvent, getAlt, 0}},
+ {2888, {utils, getKeyState, 1}},
+ {2889, {utils, getMousePosition, 2}},
+ {2890, {utils, getMouseState, 0}},
+ {2891, {utils, setDetectableAutoRepeat, 1}},
+ {2892, {utils, bell, 0}},
+ {2893, {utils, findMenuItemId, 3}},
+ {2894, {utils, genericFindWindowAtPoint, 1}},
+ {2895, {utils, findWindowAtPoint, 1}},
+ {2896, {utils, beginBusyCursor, 1}},
+ {2897, {utils, endBusyCursor, 0}},
+ {2898, {utils, isBusy, 0}},
+ {2899, {utils, shutdown, 1}},
+ {2900, {utils, shell, 1}},
+ {2901, {utils, launchDefaultBrowser, 2}},
+ {2902, {utils, getEmailAddress, 0}},
+ {2903, {utils, getUserId, 0}},
+ {2904, {utils, getHomeDir, 0}},
+ {2905, {utils, newId, 0}},
+ {2906, {utils, registerId, 1}},
+ {2907, {utils, getCurrentId, 0}},
+ {2908, {utils, getOsDescription, 0}},
+ {2909, {utils, isPlatformLittleEndian, 0}},
+ {2910, {utils, isPlatform64Bit, 0}},
+ {2911, {wxPrintout, new, 1}},
+ {2912, {wxPrintout, destruct, 0}},
+ {2913, {wxPrintout, getDC, 0}},
+ {2914, {wxPrintout, getPageSizeMM, 2}},
+ {2915, {wxPrintout, getPageSizePixels, 2}},
+ {2916, {wxPrintout, getPaperRectPixels, 0}},
+ {2917, {wxPrintout, getPPIPrinter, 2}},
+ {2918, {wxPrintout, getPPIScreen, 2}},
+ {2919, {wxPrintout, getTitle, 0}},
+ {2920, {wxPrintout, isPreview, 0}},
+ {2921, {wxPrintout, fitThisSizeToPaper, 1}},
+ {2922, {wxPrintout, fitThisSizeToPage, 1}},
+ {2923, {wxPrintout, fitThisSizeToPageMargins, 2}},
+ {2924, {wxPrintout, mapScreenSizeToPaper, 0}},
+ {2925, {wxPrintout, mapScreenSizeToPage, 0}},
+ {2926, {wxPrintout, mapScreenSizeToPageMargins, 1}},
+ {2927, {wxPrintout, mapScreenSizeToDevice, 0}},
+ {2928, {wxPrintout, getLogicalPaperRect, 0}},
+ {2929, {wxPrintout, getLogicalPageRect, 0}},
+ {2930, {wxPrintout, getLogicalPageMarginsRect, 1}},
+ {2931, {wxPrintout, setLogicalOrigin, 2}},
+ {2932, {wxPrintout, offsetLogicalOrigin, 2}},
+ {2933, {wxStyledTextCtrl, new_2, 2}},
+ {2934, {wxStyledTextCtrl, new_0, 0}},
+ {2935, {wxStyledTextCtrl, destruct, 0}},
+ {2936, {wxStyledTextCtrl, create, 2}},
+ {2937, {wxStyledTextCtrl, addText, 1}},
+ {2938, {wxStyledTextCtrl, addStyledText, 1}},
+ {2939, {wxStyledTextCtrl, insertText, 2}},
+ {2940, {wxStyledTextCtrl, clearAll, 0}},
+ {2941, {wxStyledTextCtrl, clearDocumentStyle, 0}},
+ {2942, {wxStyledTextCtrl, getLength, 0}},
+ {2943, {wxStyledTextCtrl, getCharAt, 1}},
+ {2944, {wxStyledTextCtrl, getCurrentPos, 0}},
+ {2945, {wxStyledTextCtrl, getAnchor, 0}},
+ {2946, {wxStyledTextCtrl, getStyleAt, 1}},
+ {2947, {wxStyledTextCtrl, redo, 0}},
+ {2948, {wxStyledTextCtrl, setUndoCollection, 1}},
+ {2949, {wxStyledTextCtrl, selectAll, 0}},
+ {2950, {wxStyledTextCtrl, setSavePoint, 0}},
+ {2951, {wxStyledTextCtrl, getStyledText, 2}},
+ {2952, {wxStyledTextCtrl, canRedo, 0}},
+ {2953, {wxStyledTextCtrl, markerLineFromHandle, 1}},
+ {2954, {wxStyledTextCtrl, markerDeleteHandle, 1}},
+ {2955, {wxStyledTextCtrl, getUndoCollection, 0}},
+ {2956, {wxStyledTextCtrl, getViewWhiteSpace, 0}},
+ {2957, {wxStyledTextCtrl, setViewWhiteSpace, 1}},
+ {2958, {wxStyledTextCtrl, positionFromPoint, 1}},
+ {2959, {wxStyledTextCtrl, positionFromPointClose, 2}},
+ {2960, {wxStyledTextCtrl, gotoLine, 1}},
+ {2961, {wxStyledTextCtrl, gotoPos, 1}},
+ {2962, {wxStyledTextCtrl, setAnchor, 1}},
+ {2963, {wxStyledTextCtrl, getCurLine, 1}},
+ {2964, {wxStyledTextCtrl, getEndStyled, 0}},
+ {2965, {wxStyledTextCtrl, convertEOLs, 1}},
+ {2966, {wxStyledTextCtrl, getEOLMode, 0}},
+ {2967, {wxStyledTextCtrl, setEOLMode, 1}},
+ {2968, {wxStyledTextCtrl, startStyling, 2}},
+ {2969, {wxStyledTextCtrl, setStyling, 2}},
+ {2970, {wxStyledTextCtrl, getBufferedDraw, 0}},
+ {2971, {wxStyledTextCtrl, setBufferedDraw, 1}},
+ {2972, {wxStyledTextCtrl, setTabWidth, 1}},
+ {2973, {wxStyledTextCtrl, getTabWidth, 0}},
+ {2974, {wxStyledTextCtrl, setCodePage, 1}},
+ {2975, {wxStyledTextCtrl, markerDefine, 3}},
+ {2976, {wxStyledTextCtrl, markerSetForeground, 2}},
+ {2977, {wxStyledTextCtrl, markerSetBackground, 2}},
+ {2978, {wxStyledTextCtrl, markerAdd, 2}},
+ {2979, {wxStyledTextCtrl, markerDelete, 2}},
+ {2980, {wxStyledTextCtrl, markerDeleteAll, 1}},
+ {2981, {wxStyledTextCtrl, markerGet, 1}},
+ {2982, {wxStyledTextCtrl, markerNext, 2}},
+ {2983, {wxStyledTextCtrl, markerPrevious, 2}},
+ {2984, {wxStyledTextCtrl, markerDefineBitmap, 2}},
+ {2985, {wxStyledTextCtrl, markerAddSet, 2}},
+ {2986, {wxStyledTextCtrl, markerSetAlpha, 2}},
+ {2987, {wxStyledTextCtrl, setMarginType, 2}},
+ {2988, {wxStyledTextCtrl, getMarginType, 1}},
+ {2989, {wxStyledTextCtrl, setMarginWidth, 2}},
+ {2990, {wxStyledTextCtrl, getMarginWidth, 1}},
+ {2991, {wxStyledTextCtrl, setMarginMask, 2}},
+ {2992, {wxStyledTextCtrl, getMarginMask, 1}},
+ {2993, {wxStyledTextCtrl, setMarginSensitive, 2}},
+ {2994, {wxStyledTextCtrl, getMarginSensitive, 1}},
+ {2995, {wxStyledTextCtrl, styleClearAll, 0}},
+ {2996, {wxStyledTextCtrl, styleSetForeground, 2}},
+ {2997, {wxStyledTextCtrl, styleSetBackground, 2}},
+ {2998, {wxStyledTextCtrl, styleSetBold, 2}},
+ {2999, {wxStyledTextCtrl, styleSetItalic, 2}},
+ {3000, {wxStyledTextCtrl, styleSetSize, 2}},
+ {3001, {wxStyledTextCtrl, styleSetFaceName, 2}},
+ {3002, {wxStyledTextCtrl, styleSetEOLFilled, 2}},
+ {3003, {wxStyledTextCtrl, styleResetDefault, 0}},
+ {3004, {wxStyledTextCtrl, styleSetUnderline, 2}},
+ {3005, {wxStyledTextCtrl, styleSetCase, 2}},
+ {3006, {wxStyledTextCtrl, styleSetHotSpot, 2}},
+ {3007, {wxStyledTextCtrl, setSelForeground, 2}},
+ {3008, {wxStyledTextCtrl, setSelBackground, 2}},
+ {3009, {wxStyledTextCtrl, getSelAlpha, 0}},
+ {3010, {wxStyledTextCtrl, setSelAlpha, 1}},
+ {3011, {wxStyledTextCtrl, setCaretForeground, 1}},
+ {3012, {wxStyledTextCtrl, cmdKeyAssign, 3}},
+ {3013, {wxStyledTextCtrl, cmdKeyClear, 2}},
+ {3014, {wxStyledTextCtrl, cmdKeyClearAll, 0}},
+ {3015, {wxStyledTextCtrl, setStyleBytes, 2}},
+ {3016, {wxStyledTextCtrl, styleSetVisible, 2}},
+ {3017, {wxStyledTextCtrl, getCaretPeriod, 0}},
+ {3018, {wxStyledTextCtrl, setCaretPeriod, 1}},
+ {3019, {wxStyledTextCtrl, setWordChars, 1}},
+ {3020, {wxStyledTextCtrl, beginUndoAction, 0}},
+ {3021, {wxStyledTextCtrl, endUndoAction, 0}},
+ {3022, {wxStyledTextCtrl, indicatorSetStyle, 2}},
+ {3023, {wxStyledTextCtrl, indicatorGetStyle, 1}},
+ {3024, {wxStyledTextCtrl, indicatorSetForeground, 2}},
+ {3025, {wxStyledTextCtrl, indicatorGetForeground, 1}},
+ {3026, {wxStyledTextCtrl, setWhitespaceForeground, 2}},
+ {3027, {wxStyledTextCtrl, setWhitespaceBackground, 2}},
+ {3028, {wxStyledTextCtrl, getStyleBits, 0}},
+ {3029, {wxStyledTextCtrl, setLineState, 2}},
+ {3030, {wxStyledTextCtrl, getLineState, 1}},
+ {3031, {wxStyledTextCtrl, getMaxLineState, 0}},
+ {3032, {wxStyledTextCtrl, getCaretLineVisible, 0}},
+ {3033, {wxStyledTextCtrl, setCaretLineVisible, 1}},
+ {3034, {wxStyledTextCtrl, getCaretLineBackground, 0}},
+ {3035, {wxStyledTextCtrl, setCaretLineBackground, 1}},
+ {3036, {wxStyledTextCtrl, autoCompShow, 2}},
+ {3037, {wxStyledTextCtrl, autoCompCancel, 0}},
+ {3038, {wxStyledTextCtrl, autoCompActive, 0}},
+ {3039, {wxStyledTextCtrl, autoCompPosStart, 0}},
+ {3040, {wxStyledTextCtrl, autoCompComplete, 0}},
+ {3041, {wxStyledTextCtrl, autoCompStops, 1}},
+ {3042, {wxStyledTextCtrl, autoCompSetSeparator, 1}},
+ {3043, {wxStyledTextCtrl, autoCompGetSeparator, 0}},
+ {3044, {wxStyledTextCtrl, autoCompSelect, 1}},
+ {3045, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}},
+ {3046, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}},
+ {3047, {wxStyledTextCtrl, autoCompSetFillUps, 1}},
+ {3048, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}},
+ {3049, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}},
+ {3050, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}},
+ {3051, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}},
+ {3052, {wxStyledTextCtrl, userListShow, 2}},
+ {3053, {wxStyledTextCtrl, autoCompSetAutoHide, 1}},
+ {3054, {wxStyledTextCtrl, autoCompGetAutoHide, 0}},
+ {3055, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}},
+ {3056, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}},
+ {3057, {wxStyledTextCtrl, registerImage, 2}},
+ {3058, {wxStyledTextCtrl, clearRegisteredImages, 0}},
+ {3059, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}},
+ {3060, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}},
+ {3061, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}},
+ {3062, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}},
+ {3063, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}},
+ {3064, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}},
+ {3065, {wxStyledTextCtrl, setIndent, 1}},
+ {3066, {wxStyledTextCtrl, getIndent, 0}},
+ {3067, {wxStyledTextCtrl, setUseTabs, 1}},
+ {3068, {wxStyledTextCtrl, getUseTabs, 0}},
+ {3069, {wxStyledTextCtrl, setLineIndentation, 2}},
+ {3070, {wxStyledTextCtrl, getLineIndentation, 1}},
+ {3071, {wxStyledTextCtrl, getLineIndentPosition, 1}},
+ {3072, {wxStyledTextCtrl, getColumn, 1}},
+ {3073, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}},
+ {3074, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}},
+ {3075, {wxStyledTextCtrl, setIndentationGuides, 1}},
+ {3076, {wxStyledTextCtrl, getIndentationGuides, 0}},
+ {3077, {wxStyledTextCtrl, setHighlightGuide, 1}},
+ {3078, {wxStyledTextCtrl, getHighlightGuide, 0}},
+ {3079, {wxStyledTextCtrl, getLineEndPosition, 1}},
+ {3080, {wxStyledTextCtrl, getCodePage, 0}},
+ {3081, {wxStyledTextCtrl, getCaretForeground, 0}},
+ {3082, {wxStyledTextCtrl, getReadOnly, 0}},
+ {3083, {wxStyledTextCtrl, setCurrentPos, 1}},
+ {3084, {wxStyledTextCtrl, setSelectionStart, 1}},
+ {3085, {wxStyledTextCtrl, getSelectionStart, 0}},
+ {3086, {wxStyledTextCtrl, setSelectionEnd, 1}},
+ {3087, {wxStyledTextCtrl, getSelectionEnd, 0}},
+ {3088, {wxStyledTextCtrl, setPrintMagnification, 1}},
+ {3089, {wxStyledTextCtrl, getPrintMagnification, 0}},
+ {3090, {wxStyledTextCtrl, setPrintColourMode, 1}},
+ {3091, {wxStyledTextCtrl, getPrintColourMode, 0}},
+ {3092, {wxStyledTextCtrl, findText, 4}},
+ {3093, {wxStyledTextCtrl, formatRange, 7}},
+ {3094, {wxStyledTextCtrl, getFirstVisibleLine, 0}},
+ {3095, {wxStyledTextCtrl, getLine, 1}},
+ {3096, {wxStyledTextCtrl, getLineCount, 0}},
+ {3097, {wxStyledTextCtrl, setMarginLeft, 1}},
+ {3098, {wxStyledTextCtrl, getMarginLeft, 0}},
+ {3099, {wxStyledTextCtrl, setMarginRight, 1}},
+ {3100, {wxStyledTextCtrl, getMarginRight, 0}},
+ {3101, {wxStyledTextCtrl, getModify, 0}},
+ {3102, {wxStyledTextCtrl, setSelection, 2}},
+ {3103, {wxStyledTextCtrl, getSelectedText, 0}},
+ {3104, {wxStyledTextCtrl, getTextRange, 2}},
+ {3105, {wxStyledTextCtrl, hideSelection, 1}},
+ {3106, {wxStyledTextCtrl, lineFromPosition, 1}},
+ {3107, {wxStyledTextCtrl, positionFromLine, 1}},
+ {3108, {wxStyledTextCtrl, lineScroll, 2}},
+ {3109, {wxStyledTextCtrl, ensureCaretVisible, 0}},
+ {3110, {wxStyledTextCtrl, replaceSelection, 1}},
+ {3111, {wxStyledTextCtrl, setReadOnly, 1}},
+ {3112, {wxStyledTextCtrl, canPaste, 0}},
+ {3113, {wxStyledTextCtrl, canUndo, 0}},
+ {3114, {wxStyledTextCtrl, emptyUndoBuffer, 0}},
+ {3115, {wxStyledTextCtrl, undo, 0}},
+ {3116, {wxStyledTextCtrl, cut, 0}},
+ {3117, {wxStyledTextCtrl, copy, 0}},
+ {3118, {wxStyledTextCtrl, paste, 0}},
+ {3119, {wxStyledTextCtrl, clear, 0}},
+ {3120, {wxStyledTextCtrl, setText, 1}},
+ {3121, {wxStyledTextCtrl, getText, 0}},
+ {3122, {wxStyledTextCtrl, getTextLength, 0}},
+ {3123, {wxStyledTextCtrl, getOvertype, 0}},
+ {3124, {wxStyledTextCtrl, setCaretWidth, 1}},
+ {3125, {wxStyledTextCtrl, getCaretWidth, 0}},
+ {3126, {wxStyledTextCtrl, setTargetStart, 1}},
+ {3127, {wxStyledTextCtrl, getTargetStart, 0}},
+ {3128, {wxStyledTextCtrl, setTargetEnd, 1}},
+ {3129, {wxStyledTextCtrl, getTargetEnd, 0}},
+ {3130, {wxStyledTextCtrl, replaceTarget, 1}},
+ {3131, {wxStyledTextCtrl, searchInTarget, 1}},
+ {3132, {wxStyledTextCtrl, setSearchFlags, 1}},
+ {3133, {wxStyledTextCtrl, getSearchFlags, 0}},
+ {3134, {wxStyledTextCtrl, callTipShow, 2}},
+ {3135, {wxStyledTextCtrl, callTipCancel, 0}},
+ {3136, {wxStyledTextCtrl, callTipActive, 0}},
+ {3137, {wxStyledTextCtrl, callTipPosAtStart, 0}},
+ {3138, {wxStyledTextCtrl, callTipSetHighlight, 2}},
+ {3139, {wxStyledTextCtrl, callTipSetBackground, 1}},
+ {3140, {wxStyledTextCtrl, callTipSetForeground, 1}},
+ {3141, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}},
+ {3142, {wxStyledTextCtrl, callTipUseStyle, 1}},
+ {3143, {wxStyledTextCtrl, visibleFromDocLine, 1}},
+ {3144, {wxStyledTextCtrl, docLineFromVisible, 1}},
+ {3145, {wxStyledTextCtrl, wrapCount, 1}},
+ {3146, {wxStyledTextCtrl, setFoldLevel, 2}},
+ {3147, {wxStyledTextCtrl, getFoldLevel, 1}},
+ {3148, {wxStyledTextCtrl, getLastChild, 2}},
+ {3149, {wxStyledTextCtrl, getFoldParent, 1}},
+ {3150, {wxStyledTextCtrl, showLines, 2}},
+ {3151, {wxStyledTextCtrl, hideLines, 2}},
+ {3152, {wxStyledTextCtrl, getLineVisible, 1}},
+ {3153, {wxStyledTextCtrl, setFoldExpanded, 2}},
+ {3154, {wxStyledTextCtrl, getFoldExpanded, 1}},
+ {3155, {wxStyledTextCtrl, toggleFold, 1}},
+ {3156, {wxStyledTextCtrl, ensureVisible, 1}},
+ {3157, {wxStyledTextCtrl, setFoldFlags, 1}},
+ {3158, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}},
+ {3159, {wxStyledTextCtrl, setTabIndents, 1}},
+ {3160, {wxStyledTextCtrl, getTabIndents, 0}},
+ {3161, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}},
+ {3162, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}},
+ {3163, {wxStyledTextCtrl, setMouseDwellTime, 1}},
+ {3164, {wxStyledTextCtrl, getMouseDwellTime, 0}},
+ {3165, {wxStyledTextCtrl, wordStartPosition, 2}},
+ {3166, {wxStyledTextCtrl, wordEndPosition, 2}},
+ {3167, {wxStyledTextCtrl, setWrapMode, 1}},
+ {3168, {wxStyledTextCtrl, getWrapMode, 0}},
+ {3169, {wxStyledTextCtrl, setWrapVisualFlags, 1}},
+ {3170, {wxStyledTextCtrl, getWrapVisualFlags, 0}},
+ {3171, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}},
+ {3172, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}},
+ {3173, {wxStyledTextCtrl, setWrapStartIndent, 1}},
+ {3174, {wxStyledTextCtrl, getWrapStartIndent, 0}},
+ {3175, {wxStyledTextCtrl, setLayoutCache, 1}},
+ {3176, {wxStyledTextCtrl, getLayoutCache, 0}},
+ {3177, {wxStyledTextCtrl, setScrollWidth, 1}},
+ {3178, {wxStyledTextCtrl, getScrollWidth, 0}},
+ {3179, {wxStyledTextCtrl, textWidth, 2}},
+ {3180, {wxStyledTextCtrl, getEndAtLastLine, 0}},
+ {3181, {wxStyledTextCtrl, textHeight, 1}},
+ {3182, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}},
+ {3183, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}},
+ {3184, {wxStyledTextCtrl, appendText, 1}},
+ {3185, {wxStyledTextCtrl, getTwoPhaseDraw, 0}},
+ {3186, {wxStyledTextCtrl, setTwoPhaseDraw, 1}},
+ {3187, {wxStyledTextCtrl, targetFromSelection, 0}},
+ {3188, {wxStyledTextCtrl, linesJoin, 0}},
+ {3189, {wxStyledTextCtrl, linesSplit, 1}},
+ {3190, {wxStyledTextCtrl, setFoldMarginColour, 2}},
+ {3191, {wxStyledTextCtrl, setFoldMarginHiColour, 2}},
+ {3192, {wxStyledTextCtrl, lineDown, 0}},
+ {3193, {wxStyledTextCtrl, lineDownExtend, 0}},
+ {3194, {wxStyledTextCtrl, lineUp, 0}},
+ {3195, {wxStyledTextCtrl, lineUpExtend, 0}},
+ {3196, {wxStyledTextCtrl, charLeft, 0}},
+ {3197, {wxStyledTextCtrl, charLeftExtend, 0}},
+ {3198, {wxStyledTextCtrl, charRight, 0}},
+ {3199, {wxStyledTextCtrl, charRightExtend, 0}},
+ {3200, {wxStyledTextCtrl, wordLeft, 0}},
+ {3201, {wxStyledTextCtrl, wordLeftExtend, 0}},
+ {3202, {wxStyledTextCtrl, wordRight, 0}},
+ {3203, {wxStyledTextCtrl, wordRightExtend, 0}},
+ {3204, {wxStyledTextCtrl, home, 0}},
+ {3205, {wxStyledTextCtrl, homeExtend, 0}},
+ {3206, {wxStyledTextCtrl, lineEnd, 0}},
+ {3207, {wxStyledTextCtrl, lineEndExtend, 0}},
+ {3208, {wxStyledTextCtrl, documentStart, 0}},
+ {3209, {wxStyledTextCtrl, documentStartExtend, 0}},
+ {3210, {wxStyledTextCtrl, documentEnd, 0}},
+ {3211, {wxStyledTextCtrl, documentEndExtend, 0}},
+ {3212, {wxStyledTextCtrl, pageUp, 0}},
+ {3213, {wxStyledTextCtrl, pageUpExtend, 0}},
+ {3214, {wxStyledTextCtrl, pageDown, 0}},
+ {3215, {wxStyledTextCtrl, pageDownExtend, 0}},
+ {3216, {wxStyledTextCtrl, editToggleOvertype, 0}},
+ {3217, {wxStyledTextCtrl, cancel, 0}},
+ {3218, {wxStyledTextCtrl, deleteBack, 0}},
+ {3219, {wxStyledTextCtrl, tab, 0}},
+ {3220, {wxStyledTextCtrl, backTab, 0}},
+ {3221, {wxStyledTextCtrl, newLine, 0}},
+ {3222, {wxStyledTextCtrl, formFeed, 0}},
+ {3223, {wxStyledTextCtrl, vCHome, 0}},
+ {3224, {wxStyledTextCtrl, vCHomeExtend, 0}},
+ {3225, {wxStyledTextCtrl, zoomIn, 0}},
+ {3226, {wxStyledTextCtrl, zoomOut, 0}},
+ {3227, {wxStyledTextCtrl, delWordLeft, 0}},
+ {3228, {wxStyledTextCtrl, delWordRight, 0}},
+ {3229, {wxStyledTextCtrl, lineCut, 0}},
+ {3230, {wxStyledTextCtrl, lineDelete, 0}},
+ {3231, {wxStyledTextCtrl, lineTranspose, 0}},
+ {3232, {wxStyledTextCtrl, lineDuplicate, 0}},
+ {3233, {wxStyledTextCtrl, lowerCase, 0}},
+ {3234, {wxStyledTextCtrl, upperCase, 0}},
+ {3235, {wxStyledTextCtrl, lineScrollDown, 0}},
+ {3236, {wxStyledTextCtrl, lineScrollUp, 0}},
+ {3237, {wxStyledTextCtrl, deleteBackNotLine, 0}},
+ {3238, {wxStyledTextCtrl, homeDisplay, 0}},
+ {3239, {wxStyledTextCtrl, homeDisplayExtend, 0}},
+ {3240, {wxStyledTextCtrl, lineEndDisplay, 0}},
+ {3241, {wxStyledTextCtrl, lineEndDisplayExtend, 0}},
+ {3242, {wxStyledTextCtrl, homeWrapExtend, 0}},
+ {3243, {wxStyledTextCtrl, lineEndWrap, 0}},
+ {3244, {wxStyledTextCtrl, lineEndWrapExtend, 0}},
+ {3245, {wxStyledTextCtrl, vCHomeWrap, 0}},
+ {3246, {wxStyledTextCtrl, vCHomeWrapExtend, 0}},
+ {3247, {wxStyledTextCtrl, lineCopy, 0}},
+ {3248, {wxStyledTextCtrl, moveCaretInsideView, 0}},
+ {3249, {wxStyledTextCtrl, lineLength, 1}},
+ {3250, {wxStyledTextCtrl, braceHighlight, 2}},
+ {3251, {wxStyledTextCtrl, braceBadLight, 1}},
+ {3252, {wxStyledTextCtrl, braceMatch, 1}},
+ {3253, {wxStyledTextCtrl, getViewEOL, 0}},
+ {3254, {wxStyledTextCtrl, setViewEOL, 1}},
+ {3255, {wxStyledTextCtrl, setModEventMask, 1}},
+ {3256, {wxStyledTextCtrl, getEdgeColumn, 0}},
+ {3257, {wxStyledTextCtrl, setEdgeColumn, 1}},
+ {3258, {wxStyledTextCtrl, getEdgeMode, 0}},
+ {3259, {wxStyledTextCtrl, getEdgeColour, 0}},
+ {3260, {wxStyledTextCtrl, setEdgeColour, 1}},
+ {3261, {wxStyledTextCtrl, searchAnchor, 0}},
+ {3262, {wxStyledTextCtrl, searchNext, 2}},
+ {3263, {wxStyledTextCtrl, searchPrev, 2}},
+ {3264, {wxStyledTextCtrl, linesOnScreen, 0}},
+ {3265, {wxStyledTextCtrl, usePopUp, 1}},
+ {3266, {wxStyledTextCtrl, selectionIsRectangle, 0}},
+ {3267, {wxStyledTextCtrl, setZoom, 1}},
+ {3268, {wxStyledTextCtrl, getZoom, 0}},
+ {3269, {wxStyledTextCtrl, getModEventMask, 0}},
+ {3270, {wxStyledTextCtrl, setSTCFocus, 1}},
+ {3271, {wxStyledTextCtrl, getSTCFocus, 0}},
+ {3272, {wxStyledTextCtrl, setStatus, 1}},
+ {3273, {wxStyledTextCtrl, getStatus, 0}},
+ {3274, {wxStyledTextCtrl, setMouseDownCaptures, 1}},
+ {3275, {wxStyledTextCtrl, getMouseDownCaptures, 0}},
+ {3276, {wxStyledTextCtrl, setSTCCursor, 1}},
+ {3277, {wxStyledTextCtrl, getSTCCursor, 0}},
+ {3278, {wxStyledTextCtrl, setControlCharSymbol, 1}},
+ {3279, {wxStyledTextCtrl, getControlCharSymbol, 0}},
+ {3280, {wxStyledTextCtrl, wordPartLeft, 0}},
+ {3281, {wxStyledTextCtrl, wordPartLeftExtend, 0}},
+ {3282, {wxStyledTextCtrl, wordPartRight, 0}},
+ {3283, {wxStyledTextCtrl, wordPartRightExtend, 0}},
+ {3284, {wxStyledTextCtrl, setVisiblePolicy, 2}},
+ {3285, {wxStyledTextCtrl, delLineLeft, 0}},
+ {3286, {wxStyledTextCtrl, delLineRight, 0}},
+ {3287, {wxStyledTextCtrl, getXOffset, 0}},
+ {3288, {wxStyledTextCtrl, chooseCaretX, 0}},
+ {3289, {wxStyledTextCtrl, setXCaretPolicy, 2}},
+ {3290, {wxStyledTextCtrl, setYCaretPolicy, 2}},
+ {3291, {wxStyledTextCtrl, getPrintWrapMode, 0}},
+ {3292, {wxStyledTextCtrl, setHotspotActiveForeground, 2}},
+ {3293, {wxStyledTextCtrl, setHotspotActiveBackground, 2}},
+ {3294, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}},
+ {3295, {wxStyledTextCtrl, setHotspotSingleLine, 1}},
+ {3296, {wxStyledTextCtrl, paraDownExtend, 0}},
+ {3297, {wxStyledTextCtrl, paraUp, 0}},
+ {3298, {wxStyledTextCtrl, paraUpExtend, 0}},
+ {3299, {wxStyledTextCtrl, positionBefore, 1}},
+ {3300, {wxStyledTextCtrl, positionAfter, 1}},
+ {3301, {wxStyledTextCtrl, copyRange, 2}},
+ {3302, {wxStyledTextCtrl, copyText, 2}},
+ {3303, {wxStyledTextCtrl, setSelectionMode, 1}},
+ {3304, {wxStyledTextCtrl, getSelectionMode, 0}},
+ {3305, {wxStyledTextCtrl, lineDownRectExtend, 0}},
+ {3306, {wxStyledTextCtrl, lineUpRectExtend, 0}},
+ {3307, {wxStyledTextCtrl, charLeftRectExtend, 0}},
+ {3308, {wxStyledTextCtrl, charRightRectExtend, 0}},
+ {3309, {wxStyledTextCtrl, homeRectExtend, 0}},
+ {3310, {wxStyledTextCtrl, vCHomeRectExtend, 0}},
+ {3311, {wxStyledTextCtrl, lineEndRectExtend, 0}},
+ {3312, {wxStyledTextCtrl, pageUpRectExtend, 0}},
+ {3313, {wxStyledTextCtrl, pageDownRectExtend, 0}},
+ {3314, {wxStyledTextCtrl, stutteredPageUp, 0}},
+ {3315, {wxStyledTextCtrl, stutteredPageUpExtend, 0}},
+ {3316, {wxStyledTextCtrl, stutteredPageDown, 0}},
+ {3317, {wxStyledTextCtrl, stutteredPageDownExtend, 0}},
+ {3318, {wxStyledTextCtrl, wordLeftEnd, 0}},
+ {3319, {wxStyledTextCtrl, wordLeftEndExtend, 0}},
+ {3320, {wxStyledTextCtrl, wordRightEnd, 0}},
+ {3321, {wxStyledTextCtrl, wordRightEndExtend, 0}},
+ {3322, {wxStyledTextCtrl, setWhitespaceChars, 1}},
+ {3323, {wxStyledTextCtrl, setCharsDefault, 0}},
+ {3324, {wxStyledTextCtrl, autoCompGetCurrent, 0}},
+ {3325, {wxStyledTextCtrl, allocate, 1}},
+ {3326, {wxStyledTextCtrl, findColumn, 2}},
+ {3327, {wxStyledTextCtrl, getCaretSticky, 0}},
+ {3328, {wxStyledTextCtrl, setCaretSticky, 1}},
+ {3329, {wxStyledTextCtrl, toggleCaretSticky, 0}},
+ {3330, {wxStyledTextCtrl, setPasteConvertEndings, 1}},
+ {3331, {wxStyledTextCtrl, getPasteConvertEndings, 0}},
+ {3332, {wxStyledTextCtrl, selectionDuplicate, 0}},
+ {3333, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}},
+ {3334, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}},
+ {3335, {wxStyledTextCtrl, startRecord, 0}},
+ {3336, {wxStyledTextCtrl, stopRecord, 0}},
+ {3337, {wxStyledTextCtrl, setLexer, 1}},
+ {3338, {wxStyledTextCtrl, getLexer, 0}},
+ {3339, {wxStyledTextCtrl, colourise, 2}},
+ {3340, {wxStyledTextCtrl, setProperty, 2}},
+ {3341, {wxStyledTextCtrl, setKeyWords, 2}},
+ {3342, {wxStyledTextCtrl, setLexerLanguage, 1}},
+ {3343, {wxStyledTextCtrl, getProperty, 1}},
+ {3344, {wxStyledTextCtrl, getStyleBitsNeeded, 0}},
+ {3345, {wxStyledTextCtrl, getCurrentLine, 0}},
+ {3346, {wxStyledTextCtrl, styleSetSpec, 2}},
+ {3347, {wxStyledTextCtrl, styleSetFont, 2}},
+ {3348, {wxStyledTextCtrl, styleSetFontAttr, 7}},
+ {3349, {wxStyledTextCtrl, styleSetCharacterSet, 2}},
+ {3350, {wxStyledTextCtrl, styleSetFontEncoding, 2}},
+ {3351, {wxStyledTextCtrl, cmdKeyExecute, 1}},
+ {3352, {wxStyledTextCtrl, setMargins, 2}},
+ {3353, {wxStyledTextCtrl, getSelection, 2}},
+ {3354, {wxStyledTextCtrl, pointFromPosition, 1}},
+ {3355, {wxStyledTextCtrl, scrollToLine, 1}},
+ {3356, {wxStyledTextCtrl, scrollToColumn, 1}},
+ {3357, {wxStyledTextCtrl, sendMsg, 2}},
+ {3358, {wxStyledTextCtrl, setVScrollBar, 1}},
+ {3359, {wxStyledTextCtrl, setHScrollBar, 1}},
+ {3360, {wxStyledTextCtrl, getLastKeydownProcessed, 0}},
+ {3361, {wxStyledTextCtrl, setLastKeydownProcessed, 1}},
+ {3362, {wxStyledTextCtrl, saveFile, 1}},
+ {3363, {wxStyledTextCtrl, loadFile, 1}},
+ {3364, {wxStyledTextCtrl, doDragOver, 3}},
+ {3365, {wxStyledTextCtrl, doDropText, 3}},
+ {3366, {wxStyledTextCtrl, getUseAntiAliasing, 0}},
+ {3367, {wxStyledTextCtrl, addTextRaw, 1}},
+ {3368, {wxStyledTextCtrl, insertTextRaw, 2}},
+ {3369, {wxStyledTextCtrl, getCurLineRaw, 1}},
+ {3370, {wxStyledTextCtrl, getLineRaw, 1}},
+ {3371, {wxStyledTextCtrl, getSelectedTextRaw, 0}},
+ {3372, {wxStyledTextCtrl, getTextRangeRaw, 2}},
+ {3373, {wxStyledTextCtrl, setTextRaw, 1}},
+ {3374, {wxStyledTextCtrl, getTextRaw, 0}},
+ {3375, {wxStyledTextCtrl, appendTextRaw, 1}},
+ {3376, {wxArtProvider, getBitmap, 2}},
+ {3377, {wxArtProvider, getIcon, 2}},
+ {3378, {wxTreeEvent, getKeyCode, 0}},
+ {3379, {wxTreeEvent, getItem, 0}},
+ {3380, {wxTreeEvent, getKeyEvent, 0}},
+ {3381, {wxTreeEvent, getLabel, 0}},
+ {3382, {wxTreeEvent, getOldItem, 0}},
+ {3383, {wxTreeEvent, getPoint, 0}},
+ {3384, {wxTreeEvent, isEditCancelled, 0}},
+ {3385, {wxTreeEvent, setToolTip, 1}},
+ {3386, {wxNotebookEvent, getOldSelection, 0}},
+ {3387, {wxNotebookEvent, getSelection, 0}},
+ {3388, {wxNotebookEvent, setOldSelection, 1}},
+ {3389, {wxNotebookEvent, setSelection, 1}},
+ {3390, {wxFileDataObject, new, 0}},
+ {3391, {wxFileDataObject, addFile, 1}},
+ {3392, {wxFileDataObject, getFilenames, 0}},
+ {3393, {wxFileDataObject, 'Destroy', undefined}},
+ {3394, {wxTextDataObject, new, 1}},
+ {3395, {wxTextDataObject, getTextLength, 0}},
+ {3396, {wxTextDataObject, getText, 0}},
+ {3397, {wxTextDataObject, setText, 1}},
+ {3398, {wxTextDataObject, 'Destroy', undefined}},
+ {3399, {wxBitmapDataObject, new_1_1, 1}},
+ {3400, {wxBitmapDataObject, new_1_0, 1}},
+ {3401, {wxBitmapDataObject, getBitmap, 0}},
+ {3402, {wxBitmapDataObject, setBitmap, 1}},
+ {3403, {wxBitmapDataObject, 'Destroy', undefined}},
+ {3405, {wxClipboard, new, 0}},
+ {3406, {wxClipboard, destruct, 0}},
+ {3407, {wxClipboard, addData, 1}},
+ {3408, {wxClipboard, clear, 0}},
+ {3409, {wxClipboard, close, 0}},
+ {3410, {wxClipboard, flush, 0}},
+ {3411, {wxClipboard, getData, 1}},
+ {3412, {wxClipboard, isOpened, 0}},
+ {3413, {wxClipboard, open, 0}},
+ {3414, {wxClipboard, setData, 1}},
+ {3416, {wxClipboard, usePrimarySelection, 1}},
+ {3417, {wxClipboard, isSupported, 1}},
+ {3418, {wxClipboard, get, 0}},
+ {3419, {wxSpinEvent, getPosition, 0}},
+ {3420, {wxSpinEvent, setPosition, 1}},
+ {3421, {wxSplitterWindow, new_0, 0}},
+ {3422, {wxSplitterWindow, new_2, 2}},
+ {3423, {wxSplitterWindow, destruct, 0}},
+ {3424, {wxSplitterWindow, create, 2}},
+ {3425, {wxSplitterWindow, getMinimumPaneSize, 0}},
+ {3426, {wxSplitterWindow, getSashGravity, 0}},
+ {3427, {wxSplitterWindow, getSashPosition, 0}},
+ {3428, {wxSplitterWindow, getSplitMode, 0}},
+ {3429, {wxSplitterWindow, getWindow1, 0}},
+ {3430, {wxSplitterWindow, getWindow2, 0}},
+ {3431, {wxSplitterWindow, initialize, 1}},
+ {3432, {wxSplitterWindow, isSplit, 0}},
+ {3433, {wxSplitterWindow, replaceWindow, 2}},
+ {3434, {wxSplitterWindow, setSashGravity, 1}},
+ {3435, {wxSplitterWindow, setSashPosition, 2}},
+ {3436, {wxSplitterWindow, setSashSize, 1}},
+ {3437, {wxSplitterWindow, setMinimumPaneSize, 1}},
+ {3438, {wxSplitterWindow, setSplitMode, 1}},
+ {3439, {wxSplitterWindow, splitHorizontally, 3}},
+ {3440, {wxSplitterWindow, splitVertically, 3}},
+ {3441, {wxSplitterWindow, unsplit, 1}},
+ {3442, {wxSplitterWindow, updateSize, 0}},
+ {3443, {wxSplitterEvent, getSashPosition, 0}},
+ {3444, {wxSplitterEvent, getX, 0}},
+ {3445, {wxSplitterEvent, getY, 0}},
+ {3446, {wxSplitterEvent, getWindowBeingRemoved, 0}},
+ {3447, {wxSplitterEvent, setSashPosition, 1}},
+ {3448, {wxHtmlWindow, new_0, 0}},
+ {3449, {wxHtmlWindow, new_2, 2}},
+ {3450, {wxHtmlWindow, appendToPage, 1}},
+ {3451, {wxHtmlWindow, getOpenedAnchor, 0}},
+ {3452, {wxHtmlWindow, getOpenedPage, 0}},
+ {3453, {wxHtmlWindow, getOpenedPageTitle, 0}},
+ {3454, {wxHtmlWindow, getRelatedFrame, 0}},
+ {3455, {wxHtmlWindow, historyBack, 0}},
+ {3456, {wxHtmlWindow, historyCanBack, 0}},
+ {3457, {wxHtmlWindow, historyCanForward, 0}},
+ {3458, {wxHtmlWindow, historyClear, 0}},
+ {3459, {wxHtmlWindow, historyForward, 0}},
+ {3460, {wxHtmlWindow, loadFile, 1}},
+ {3461, {wxHtmlWindow, loadPage, 1}},
+ {3462, {wxHtmlWindow, selectAll, 0}},
+ {3463, {wxHtmlWindow, selectionToText, 0}},
+ {3464, {wxHtmlWindow, selectLine, 1}},
+ {3465, {wxHtmlWindow, selectWord, 1}},
+ {3466, {wxHtmlWindow, setBorders, 1}},
+ {3467, {wxHtmlWindow, setFonts, 3}},
+ {3468, {wxHtmlWindow, setPage, 1}},
+ {3469, {wxHtmlWindow, setRelatedFrame, 2}},
+ {3470, {wxHtmlWindow, setRelatedStatusBar, 1}},
+ {3471, {wxHtmlWindow, toText, 0}},
+ {3472, {wxHtmlWindow, 'Destroy', undefined}},
+ {3473, {wxHtmlLinkEvent, getLinkInfo, 0}},
+ {3474, {wxAuiNotebookEvent, setSelection, 1}},
+ {3475, {wxAuiNotebookEvent, getSelection, 0}},
+ {3476, {wxAuiNotebookEvent, setOldSelection, 1}},
+ {3477, {wxAuiNotebookEvent, getOldSelection, 0}},
+ {3478, {wxAuiNotebookEvent, setDragSource, 1}},
+ {3479, {wxAuiNotebookEvent, getDragSource, 0}},
+ {3480, {wxAuiManagerEvent, setManager, 1}},
+ {3481, {wxAuiManagerEvent, getManager, 0}},
+ {3482, {wxAuiManagerEvent, setPane, 1}},
+ {3483, {wxAuiManagerEvent, getPane, 0}},
+ {3484, {wxAuiManagerEvent, setButton, 1}},
+ {3485, {wxAuiManagerEvent, getButton, 0}},
+ {3486, {wxAuiManagerEvent, setDC, 1}},
+ {3487, {wxAuiManagerEvent, getDC, 0}},
+ {3488, {wxAuiManagerEvent, veto, 1}},
+ {3489, {wxAuiManagerEvent, getVeto, 0}},
+ {3490, {wxAuiManagerEvent, setCanVeto, 1}},
+ {3491, {wxAuiManagerEvent, canVeto, 0}},
+ {3492, {wxLogNull, new, 0}},
+ {3493, {wxLogNull, 'Destroy', undefined}},
+ {-1, {mod, func, -1}}
+].
+
diff --git a/lib/wx/src/gen/wxe_funcs.hrl b/lib/wx/src/gen/wxe_funcs.hrl
new file mode 100644
index 0000000000..eef90961db
--- /dev/null
+++ b/lib/wx/src/gen/wxe_funcs.hrl
@@ -0,0 +1,3273 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%% This file is generated DO NOT EDIT
+
+%% We define each id so we don't get huge diffs when adding new funcs/classes
+
+-define(wxEvtHandler_Connect, 100).
+-define(wxEvtHandler_Disconnect_2, 101).
+-define(wxEvtHandler_Disconnect_1, 102).
+-define(wxEvtHandler_Disconnect_0, 103).
+-define(wxWindow_new_0, 105).
+-define(wxWindow_new_3, 106).
+-define(wxWindow_destruct, 108).
+-define(wxWindow_CacheBestSize, 109).
+-define(wxWindow_CaptureMouse, 110).
+-define(wxWindow_Center, 111).
+-define(wxWindow_CenterOnParent, 112).
+-define(wxWindow_Centre, 113).
+-define(wxWindow_CentreOnParent, 114).
+-define(wxWindow_ClearBackground, 115).
+-define(wxWindow_ClientToScreen_2, 116).
+-define(wxWindow_ClientToScreen_1, 117).
+-define(wxWindow_Close, 118).
+-define(wxWindow_ConvertDialogToPixels, 120).
+-define(wxWindow_ConvertPixelsToDialog, 122).
+-define(wxWindow_Destroy, 123).
+-define(wxWindow_DestroyChildren, 124).
+-define(wxWindow_Disable, 125).
+-define(wxWindow_Enable, 126).
+-define(wxWindow_FindFocus, 127).
+-define(wxWindow_FindWindow_1_0, 128).
+-define(wxWindow_FindWindow_1_1, 129).
+-define(wxWindow_FindWindowById, 130).
+-define(wxWindow_FindWindowByName, 131).
+-define(wxWindow_FindWindowByLabel, 132).
+-define(wxWindow_Fit, 133).
+-define(wxWindow_FitInside, 134).
+-define(wxWindow_Freeze, 135).
+-define(wxWindow_GetAcceleratorTable, 136).
+-define(wxWindow_GetBackgroundColour, 137).
+-define(wxWindow_GetBackgroundStyle, 138).
+-define(wxWindow_GetBestSize, 139).
+-define(wxWindow_GetCaret, 141).
+-define(wxWindow_GetCapture, 142).
+-define(wxWindow_GetCharHeight, 143).
+-define(wxWindow_GetCharWidth, 144).
+-define(wxWindow_GetChildren, 145).
+-define(wxWindow_GetClientSize, 148).
+-define(wxWindow_GetContainingSizer, 149).
+-define(wxWindow_GetCursor, 150).
+-define(wxWindow_GetDropTarget, 151).
+-define(wxWindow_GetEventHandler, 152).
+-define(wxWindow_GetExtraStyle, 153).
+-define(wxWindow_GetFont, 154).
+-define(wxWindow_GetForegroundColour, 155).
+-define(wxWindow_GetGrandParent, 156).
+-define(wxWindow_GetHandle, 157).
+-define(wxWindow_GetHelpText, 158).
+-define(wxWindow_GetId, 159).
+-define(wxWindow_GetLabel, 160).
+-define(wxWindow_GetMaxSize, 161).
+-define(wxWindow_GetMinSize, 162).
+-define(wxWindow_GetName, 163).
+-define(wxWindow_GetParent, 164).
+-define(wxWindow_GetPosition, 166).
+-define(wxWindow_GetRect, 167).
+-define(wxWindow_GetScreenPosition, 169).
+-define(wxWindow_GetScreenRect, 170).
+-define(wxWindow_GetScrollPos, 171).
+-define(wxWindow_GetScrollRange, 172).
+-define(wxWindow_GetScrollThumb, 173).
+-define(wxWindow_GetSize, 175).
+-define(wxWindow_GetSizer, 176).
+-define(wxWindow_GetTextExtent, 177).
+-define(wxWindow_GetToolTip, 178).
+-define(wxWindow_GetUpdateRegion, 179).
+-define(wxWindow_GetVirtualSize, 181).
+-define(wxWindow_GetWindowStyleFlag, 183).
+-define(wxWindow_GetWindowVariant, 184).
+-define(wxWindow_HasCapture, 185).
+-define(wxWindow_HasScrollbar, 186).
+-define(wxWindow_HasTransparentBackground, 187).
+-define(wxWindow_Hide, 188).
+-define(wxWindow_InheritAttributes, 189).
+-define(wxWindow_InitDialog, 190).
+-define(wxWindow_InvalidateBestSize, 191).
+-define(wxWindow_IsEnabled, 192).
+-define(wxWindow_IsExposed_2, 193).
+-define(wxWindow_IsExposed_4, 194).
+-define(wxWindow_IsExposed_1_0, 195).
+-define(wxWindow_IsExposed_1_1, 196).
+-define(wxWindow_IsRetained, 197).
+-define(wxWindow_IsShown, 198).
+-define(wxWindow_IsTopLevel, 199).
+-define(wxWindow_Layout, 200).
+-define(wxWindow_LineDown, 201).
+-define(wxWindow_LineUp, 202).
+-define(wxWindow_Lower, 203).
+-define(wxWindow_MakeModal, 204).
+-define(wxWindow_Move_3, 205).
+-define(wxWindow_Move_2, 206).
+-define(wxWindow_MoveAfterInTabOrder, 207).
+-define(wxWindow_MoveBeforeInTabOrder, 208).
+-define(wxWindow_Navigate, 209).
+-define(wxWindow_PageDown, 210).
+-define(wxWindow_PageUp, 211).
+-define(wxWindow_PopEventHandler, 212).
+-define(wxWindow_PopupMenu_2, 213).
+-define(wxWindow_PopupMenu_3, 214).
+-define(wxWindow_Raise, 215).
+-define(wxWindow_Refresh, 216).
+-define(wxWindow_RefreshRect, 217).
+-define(wxWindow_ReleaseMouse, 218).
+-define(wxWindow_RemoveChild, 219).
+-define(wxWindow_Reparent, 220).
+-define(wxWindow_ScreenToClient_2, 221).
+-define(wxWindow_ScreenToClient_1, 222).
+-define(wxWindow_ScrollLines, 224).
+-define(wxWindow_ScrollPages, 226).
+-define(wxWindow_ScrollWindow, 227).
+-define(wxWindow_SetAcceleratorTable, 228).
+-define(wxWindow_SetAutoLayout, 229).
+-define(wxWindow_SetBackgroundColour, 230).
+-define(wxWindow_SetBackgroundStyle, 231).
+-define(wxWindow_SetCaret, 232).
+-define(wxWindow_SetClientSize_2, 233).
+-define(wxWindow_SetClientSize_1_0, 234).
+-define(wxWindow_SetClientSize_1_1, 235).
+-define(wxWindow_SetContainingSizer, 236).
+-define(wxWindow_SetCursor, 237).
+-define(wxWindow_SetMaxSize, 238).
+-define(wxWindow_SetMinSize, 239).
+-define(wxWindow_SetOwnBackgroundColour, 240).
+-define(wxWindow_SetOwnFont, 241).
+-define(wxWindow_SetOwnForegroundColour, 242).
+-define(wxWindow_SetDropTarget, 243).
+-define(wxWindow_SetExtraStyle, 244).
+-define(wxWindow_SetFocus, 245).
+-define(wxWindow_SetFocusFromKbd, 246).
+-define(wxWindow_SetFont, 247).
+-define(wxWindow_SetForegroundColour, 248).
+-define(wxWindow_SetHelpText, 249).
+-define(wxWindow_SetId, 250).
+-define(wxWindow_SetLabel, 252).
+-define(wxWindow_SetName, 253).
+-define(wxWindow_SetPalette, 254).
+-define(wxWindow_SetScrollbar, 255).
+-define(wxWindow_SetScrollPos, 256).
+-define(wxWindow_SetSize_5, 257).
+-define(wxWindow_SetSize_2_0, 258).
+-define(wxWindow_SetSize_1, 259).
+-define(wxWindow_SetSize_2_1, 260).
+-define(wxWindow_SetSizeHints_3, 261).
+-define(wxWindow_SetSizeHints_2, 262).
+-define(wxWindow_SetSizer, 263).
+-define(wxWindow_SetSizerAndFit, 264).
+-define(wxWindow_SetThemeEnabled, 265).
+-define(wxWindow_SetToolTip_1_0, 266).
+-define(wxWindow_SetToolTip_1_1, 267).
+-define(wxWindow_SetVirtualSize_1, 268).
+-define(wxWindow_SetVirtualSize_2, 269).
+-define(wxWindow_SetVirtualSizeHints_3, 270).
+-define(wxWindow_SetVirtualSizeHints_2, 271).
+-define(wxWindow_SetWindowStyle, 272).
+-define(wxWindow_SetWindowStyleFlag, 273).
+-define(wxWindow_SetWindowVariant, 274).
+-define(wxWindow_ShouldInheritColours, 275).
+-define(wxWindow_Show, 276).
+-define(wxWindow_Thaw, 277).
+-define(wxWindow_TransferDataFromWindow, 278).
+-define(wxWindow_TransferDataToWindow, 279).
+-define(wxWindow_Update, 280).
+-define(wxWindow_UpdateWindowUI, 281).
+-define(wxWindow_Validate, 282).
+-define(wxWindow_WarpPointer, 283).
+-define(wxTopLevelWindow_GetIcon, 284).
+-define(wxTopLevelWindow_GetIcons, 285).
+-define(wxTopLevelWindow_GetTitle, 286).
+-define(wxTopLevelWindow_IsActive, 287).
+-define(wxTopLevelWindow_Iconize, 288).
+-define(wxTopLevelWindow_IsFullScreen, 289).
+-define(wxTopLevelWindow_IsIconized, 290).
+-define(wxTopLevelWindow_IsMaximized, 291).
+-define(wxTopLevelWindow_Maximize, 292).
+-define(wxTopLevelWindow_RequestUserAttention, 293).
+-define(wxTopLevelWindow_SetIcon, 294).
+-define(wxTopLevelWindow_SetIcons, 295).
+-define(wxTopLevelWindow_CenterOnScreen, 296).
+-define(wxTopLevelWindow_CentreOnScreen, 297).
+-define(wxTopLevelWindow_SetShape, 299).
+-define(wxTopLevelWindow_SetTitle, 300).
+-define(wxTopLevelWindow_ShowFullScreen, 301).
+-define(wxFrame_new_4, 303).
+-define(wxFrame_new_0, 304).
+-define(wxFrame_destruct, 306).
+-define(wxFrame_Create, 307).
+-define(wxFrame_CreateStatusBar, 308).
+-define(wxFrame_CreateToolBar, 309).
+-define(wxFrame_GetClientAreaOrigin, 310).
+-define(wxFrame_GetMenuBar, 311).
+-define(wxFrame_GetStatusBar, 312).
+-define(wxFrame_GetStatusBarPane, 313).
+-define(wxFrame_GetToolBar, 314).
+-define(wxFrame_ProcessCommand, 315).
+-define(wxFrame_SendSizeEvent, 316).
+-define(wxFrame_SetMenuBar, 317).
+-define(wxFrame_SetStatusBar, 318).
+-define(wxFrame_SetStatusBarPane, 319).
+-define(wxFrame_SetStatusText, 320).
+-define(wxFrame_SetStatusWidths, 321).
+-define(wxFrame_SetToolBar, 322).
+-define(wxMiniFrame_new_0, 323).
+-define(wxMiniFrame_new_4, 324).
+-define(wxMiniFrame_Create, 325).
+-define(wxMiniFrame_destroy, 326).
+-define(wxSplashScreen_new_0, 327).
+-define(wxSplashScreen_new_6, 328).
+-define(wxSplashScreen_destruct, 329).
+-define(wxSplashScreen_GetSplashStyle, 330).
+-define(wxSplashScreen_GetTimeout, 331).
+-define(wxPanel_new_0, 332).
+-define(wxPanel_new_6, 333).
+-define(wxPanel_new_2, 334).
+-define(wxPanel_destruct, 335).
+-define(wxPanel_InitDialog, 336).
+-define(wxScrolledWindow_new_0, 337).
+-define(wxScrolledWindow_new_2, 338).
+-define(wxScrolledWindow_destruct, 339).
+-define(wxScrolledWindow_CalcScrolledPosition_4, 340).
+-define(wxScrolledWindow_CalcScrolledPosition_1, 341).
+-define(wxScrolledWindow_CalcUnscrolledPosition_4, 342).
+-define(wxScrolledWindow_CalcUnscrolledPosition_1, 343).
+-define(wxScrolledWindow_EnableScrolling, 344).
+-define(wxScrolledWindow_GetScrollPixelsPerUnit, 345).
+-define(wxScrolledWindow_GetViewStart, 346).
+-define(wxScrolledWindow_DoPrepareDC, 347).
+-define(wxScrolledWindow_PrepareDC, 348).
+-define(wxScrolledWindow_Scroll, 349).
+-define(wxScrolledWindow_SetScrollbars, 350).
+-define(wxScrolledWindow_SetScrollRate, 351).
+-define(wxScrolledWindow_SetTargetWindow, 352).
+-define(wxSashWindow_new_0, 353).
+-define(wxSashWindow_new_2, 354).
+-define(wxSashWindow_destruct, 355).
+-define(wxSashWindow_GetSashVisible, 356).
+-define(wxSashWindow_GetMaximumSizeX, 357).
+-define(wxSashWindow_GetMaximumSizeY, 358).
+-define(wxSashWindow_GetMinimumSizeX, 359).
+-define(wxSashWindow_GetMinimumSizeY, 360).
+-define(wxSashWindow_SetMaximumSizeX, 361).
+-define(wxSashWindow_SetMaximumSizeY, 362).
+-define(wxSashWindow_SetMinimumSizeX, 363).
+-define(wxSashWindow_SetMinimumSizeY, 364).
+-define(wxSashWindow_SetSashVisible, 365).
+-define(wxSashLayoutWindow_new_0, 366).
+-define(wxSashLayoutWindow_new_2, 367).
+-define(wxSashLayoutWindow_Create, 368).
+-define(wxSashLayoutWindow_GetAlignment, 369).
+-define(wxSashLayoutWindow_GetOrientation, 370).
+-define(wxSashLayoutWindow_SetAlignment, 371).
+-define(wxSashLayoutWindow_SetDefaultSize, 372).
+-define(wxSashLayoutWindow_SetOrientation, 373).
+-define(wxSashLayoutWindow_destroy, 374).
+-define(wxGrid_new_0, 375).
+-define(wxGrid_new_3, 376).
+-define(wxGrid_new_4, 377).
+-define(wxGrid_destruct, 378).
+-define(wxGrid_AppendCols, 379).
+-define(wxGrid_AppendRows, 380).
+-define(wxGrid_AutoSize, 381).
+-define(wxGrid_AutoSizeColumn, 382).
+-define(wxGrid_AutoSizeColumns, 383).
+-define(wxGrid_AutoSizeRow, 384).
+-define(wxGrid_AutoSizeRows, 385).
+-define(wxGrid_BeginBatch, 386).
+-define(wxGrid_BlockToDeviceRect, 387).
+-define(wxGrid_CanDragColSize, 388).
+-define(wxGrid_CanDragRowSize, 389).
+-define(wxGrid_CanDragGridSize, 390).
+-define(wxGrid_CanEnableCellControl, 391).
+-define(wxGrid_CellToRect_2, 392).
+-define(wxGrid_CellToRect_1, 393).
+-define(wxGrid_ClearGrid, 394).
+-define(wxGrid_ClearSelection, 395).
+-define(wxGrid_CreateGrid, 396).
+-define(wxGrid_DeleteCols, 397).
+-define(wxGrid_DeleteRows, 398).
+-define(wxGrid_DisableCellEditControl, 399).
+-define(wxGrid_DisableDragColSize, 400).
+-define(wxGrid_DisableDragGridSize, 401).
+-define(wxGrid_DisableDragRowSize, 402).
+-define(wxGrid_EnableCellEditControl, 403).
+-define(wxGrid_EnableDragColSize, 404).
+-define(wxGrid_EnableDragGridSize, 405).
+-define(wxGrid_EnableDragRowSize, 406).
+-define(wxGrid_EnableEditing, 407).
+-define(wxGrid_EnableGridLines, 408).
+-define(wxGrid_EndBatch, 409).
+-define(wxGrid_Fit, 410).
+-define(wxGrid_ForceRefresh, 411).
+-define(wxGrid_GetBatchCount, 412).
+-define(wxGrid_GetCellAlignment, 413).
+-define(wxGrid_GetCellBackgroundColour, 414).
+-define(wxGrid_GetCellEditor, 415).
+-define(wxGrid_GetCellFont, 416).
+-define(wxGrid_GetCellRenderer, 417).
+-define(wxGrid_GetCellTextColour, 418).
+-define(wxGrid_GetCellValue_2, 419).
+-define(wxGrid_GetCellValue_1, 420).
+-define(wxGrid_GetColLabelAlignment, 421).
+-define(wxGrid_GetColLabelSize, 422).
+-define(wxGrid_GetColLabelValue, 423).
+-define(wxGrid_GetColMinimalAcceptableWidth, 424).
+-define(wxGrid_GetDefaultCellAlignment, 425).
+-define(wxGrid_GetDefaultCellBackgroundColour, 426).
+-define(wxGrid_GetDefaultCellFont, 427).
+-define(wxGrid_GetDefaultCellTextColour, 428).
+-define(wxGrid_GetDefaultColLabelSize, 429).
+-define(wxGrid_GetDefaultColSize, 430).
+-define(wxGrid_GetDefaultEditor, 431).
+-define(wxGrid_GetDefaultEditorForCell_2, 432).
+-define(wxGrid_GetDefaultEditorForCell_1, 433).
+-define(wxGrid_GetDefaultEditorForType, 434).
+-define(wxGrid_GetDefaultRenderer, 435).
+-define(wxGrid_GetDefaultRendererForCell, 436).
+-define(wxGrid_GetDefaultRendererForType, 437).
+-define(wxGrid_GetDefaultRowLabelSize, 438).
+-define(wxGrid_GetDefaultRowSize, 439).
+-define(wxGrid_GetGridCursorCol, 440).
+-define(wxGrid_GetGridCursorRow, 441).
+-define(wxGrid_GetGridLineColour, 442).
+-define(wxGrid_GridLinesEnabled, 443).
+-define(wxGrid_GetLabelBackgroundColour, 444).
+-define(wxGrid_GetLabelFont, 445).
+-define(wxGrid_GetLabelTextColour, 446).
+-define(wxGrid_GetNumberCols, 447).
+-define(wxGrid_GetNumberRows, 448).
+-define(wxGrid_GetOrCreateCellAttr, 449).
+-define(wxGrid_GetRowMinimalAcceptableHeight, 450).
+-define(wxGrid_GetRowLabelAlignment, 451).
+-define(wxGrid_GetRowLabelSize, 452).
+-define(wxGrid_GetRowLabelValue, 453).
+-define(wxGrid_GetRowSize, 454).
+-define(wxGrid_GetScrollLineX, 455).
+-define(wxGrid_GetScrollLineY, 456).
+-define(wxGrid_GetSelectedCells, 457).
+-define(wxGrid_GetSelectedCols, 458).
+-define(wxGrid_GetSelectedRows, 459).
+-define(wxGrid_GetSelectionBackground, 460).
+-define(wxGrid_GetSelectionBlockTopLeft, 461).
+-define(wxGrid_GetSelectionBlockBottomRight, 462).
+-define(wxGrid_GetSelectionForeground, 463).
+-define(wxGrid_GetViewWidth, 464).
+-define(wxGrid_GetGridWindow, 465).
+-define(wxGrid_GetGridRowLabelWindow, 466).
+-define(wxGrid_GetGridColLabelWindow, 467).
+-define(wxGrid_GetGridCornerLabelWindow, 468).
+-define(wxGrid_HideCellEditControl, 469).
+-define(wxGrid_InsertCols, 470).
+-define(wxGrid_InsertRows, 471).
+-define(wxGrid_IsCellEditControlEnabled, 472).
+-define(wxGrid_IsCurrentCellReadOnly, 473).
+-define(wxGrid_IsEditable, 474).
+-define(wxGrid_IsInSelection_2, 475).
+-define(wxGrid_IsInSelection_1, 476).
+-define(wxGrid_IsReadOnly, 477).
+-define(wxGrid_IsSelection, 478).
+-define(wxGrid_IsVisible_3, 479).
+-define(wxGrid_IsVisible_2, 480).
+-define(wxGrid_MakeCellVisible_2, 481).
+-define(wxGrid_MakeCellVisible_1, 482).
+-define(wxGrid_MoveCursorDown, 483).
+-define(wxGrid_MoveCursorLeft, 484).
+-define(wxGrid_MoveCursorRight, 485).
+-define(wxGrid_MoveCursorUp, 486).
+-define(wxGrid_MoveCursorDownBlock, 487).
+-define(wxGrid_MoveCursorLeftBlock, 488).
+-define(wxGrid_MoveCursorRightBlock, 489).
+-define(wxGrid_MoveCursorUpBlock, 490).
+-define(wxGrid_MovePageDown, 491).
+-define(wxGrid_MovePageUp, 492).
+-define(wxGrid_RegisterDataType, 493).
+-define(wxGrid_SaveEditControlValue, 494).
+-define(wxGrid_SelectAll, 495).
+-define(wxGrid_SelectBlock_5, 496).
+-define(wxGrid_SelectBlock_3, 497).
+-define(wxGrid_SelectCol, 498).
+-define(wxGrid_SelectRow, 499).
+-define(wxGrid_SetCellAlignment_4, 500).
+-define(wxGrid_SetCellAlignment_3, 501).
+-define(wxGrid_SetCellAlignment_1, 502).
+-define(wxGrid_SetCellBackgroundColour_3_0, 503).
+-define(wxGrid_SetCellBackgroundColour_1, 504).
+-define(wxGrid_SetCellBackgroundColour_3_1, 505).
+-define(wxGrid_SetCellEditor, 506).
+-define(wxGrid_SetCellFont, 507).
+-define(wxGrid_SetCellRenderer, 508).
+-define(wxGrid_SetCellTextColour_3_0, 509).
+-define(wxGrid_SetCellTextColour_3_1, 510).
+-define(wxGrid_SetCellTextColour_1, 511).
+-define(wxGrid_SetCellValue_3_0, 512).
+-define(wxGrid_SetCellValue_2, 513).
+-define(wxGrid_SetCellValue_3_1, 514).
+-define(wxGrid_SetColAttr, 515).
+-define(wxGrid_SetColFormatBool, 516).
+-define(wxGrid_SetColFormatNumber, 517).
+-define(wxGrid_SetColFormatFloat, 518).
+-define(wxGrid_SetColFormatCustom, 519).
+-define(wxGrid_SetColLabelAlignment, 520).
+-define(wxGrid_SetColLabelSize, 521).
+-define(wxGrid_SetColLabelValue, 522).
+-define(wxGrid_SetColMinimalWidth, 523).
+-define(wxGrid_SetColMinimalAcceptableWidth, 524).
+-define(wxGrid_SetColSize, 525).
+-define(wxGrid_SetDefaultCellAlignment, 526).
+-define(wxGrid_SetDefaultCellBackgroundColour, 527).
+-define(wxGrid_SetDefaultCellFont, 528).
+-define(wxGrid_SetDefaultCellTextColour, 529).
+-define(wxGrid_SetDefaultEditor, 530).
+-define(wxGrid_SetDefaultRenderer, 531).
+-define(wxGrid_SetDefaultColSize, 532).
+-define(wxGrid_SetDefaultRowSize, 533).
+-define(wxGrid_SetGridCursor, 534).
+-define(wxGrid_SetGridLineColour, 535).
+-define(wxGrid_SetLabelBackgroundColour, 536).
+-define(wxGrid_SetLabelFont, 537).
+-define(wxGrid_SetLabelTextColour, 538).
+-define(wxGrid_SetMargins, 539).
+-define(wxGrid_SetReadOnly, 540).
+-define(wxGrid_SetRowAttr, 541).
+-define(wxGrid_SetRowLabelAlignment, 542).
+-define(wxGrid_SetRowLabelSize, 543).
+-define(wxGrid_SetRowLabelValue, 544).
+-define(wxGrid_SetRowMinimalHeight, 545).
+-define(wxGrid_SetRowMinimalAcceptableHeight, 546).
+-define(wxGrid_SetRowSize, 547).
+-define(wxGrid_SetScrollLineX, 548).
+-define(wxGrid_SetScrollLineY, 549).
+-define(wxGrid_SetSelectionBackground, 550).
+-define(wxGrid_SetSelectionForeground, 551).
+-define(wxGrid_SetSelectionMode, 552).
+-define(wxGrid_ShowCellEditControl, 553).
+-define(wxGrid_XToCol, 554).
+-define(wxGrid_XToEdgeOfCol, 555).
+-define(wxGrid_YToEdgeOfRow, 556).
+-define(wxGrid_YToRow, 557).
+-define(wxGridCellRenderer_Draw, 558).
+-define(wxGridCellRenderer_GetBestSize, 559).
+-define(wxGridCellEditor_Create, 560).
+-define(wxGridCellEditor_IsCreated, 561).
+-define(wxGridCellEditor_SetSize, 562).
+-define(wxGridCellEditor_Show, 563).
+-define(wxGridCellEditor_PaintBackground, 564).
+-define(wxGridCellEditor_BeginEdit, 565).
+-define(wxGridCellEditor_EndEdit, 566).
+-define(wxGridCellEditor_Reset, 567).
+-define(wxGridCellEditor_StartingKey, 568).
+-define(wxGridCellEditor_StartingClick, 569).
+-define(wxGridCellEditor_HandleReturn, 570).
+-define(wxGridCellBoolRenderer_new, 571).
+-define(wxGridCellBoolRenderer_destroy, 572).
+-define(wxGridCellBoolEditor_new, 573).
+-define(wxGridCellBoolEditor_IsTrueValue, 574).
+-define(wxGridCellBoolEditor_UseStringValues, 575).
+-define(wxGridCellBoolEditor_destroy, 576).
+-define(wxGridCellFloatRenderer_new, 577).
+-define(wxGridCellFloatRenderer_GetPrecision, 578).
+-define(wxGridCellFloatRenderer_GetWidth, 579).
+-define(wxGridCellFloatRenderer_SetParameters, 580).
+-define(wxGridCellFloatRenderer_SetPrecision, 581).
+-define(wxGridCellFloatRenderer_SetWidth, 582).
+-define(wxGridCellFloatRenderer_destroy, 583).
+-define(wxGridCellFloatEditor_new, 584).
+-define(wxGridCellFloatEditor_SetParameters, 585).
+-define(wxGridCellFloatEditor_destroy, 586).
+-define(wxGridCellStringRenderer_new, 587).
+-define(wxGridCellStringRenderer_destroy, 588).
+-define(wxGridCellTextEditor_new, 589).
+-define(wxGridCellTextEditor_SetParameters, 590).
+-define(wxGridCellTextEditor_destroy, 591).
+-define(wxGridCellChoiceEditor_new, 593).
+-define(wxGridCellChoiceEditor_SetParameters, 594).
+-define(wxGridCellChoiceEditor_destroy, 595).
+-define(wxGridCellNumberRenderer_new, 596).
+-define(wxGridCellNumberRenderer_destroy, 597).
+-define(wxGridCellNumberEditor_new, 598).
+-define(wxGridCellNumberEditor_GetValue, 599).
+-define(wxGridCellNumberEditor_SetParameters, 600).
+-define(wxGridCellNumberEditor_destroy, 601).
+-define(wxGridCellAttr_SetTextColour, 602).
+-define(wxGridCellAttr_SetBackgroundColour, 603).
+-define(wxGridCellAttr_SetFont, 604).
+-define(wxGridCellAttr_SetAlignment, 605).
+-define(wxGridCellAttr_SetReadOnly, 606).
+-define(wxGridCellAttr_SetRenderer, 607).
+-define(wxGridCellAttr_SetEditor, 608).
+-define(wxGridCellAttr_HasTextColour, 609).
+-define(wxGridCellAttr_HasBackgroundColour, 610).
+-define(wxGridCellAttr_HasFont, 611).
+-define(wxGridCellAttr_HasAlignment, 612).
+-define(wxGridCellAttr_HasRenderer, 613).
+-define(wxGridCellAttr_HasEditor, 614).
+-define(wxGridCellAttr_GetTextColour, 615).
+-define(wxGridCellAttr_GetBackgroundColour, 616).
+-define(wxGridCellAttr_GetFont, 617).
+-define(wxGridCellAttr_GetAlignment, 618).
+-define(wxGridCellAttr_GetRenderer, 619).
+-define(wxGridCellAttr_GetEditor, 620).
+-define(wxGridCellAttr_IsReadOnly, 621).
+-define(wxGridCellAttr_SetDefAttr, 622).
+-define(wxDC_Blit, 623).
+-define(wxDC_CalcBoundingBox, 624).
+-define(wxDC_Clear, 625).
+-define(wxDC_ComputeScaleAndOrigin, 626).
+-define(wxDC_CrossHair, 627).
+-define(wxDC_DestroyClippingRegion, 628).
+-define(wxDC_DeviceToLogicalX, 629).
+-define(wxDC_DeviceToLogicalXRel, 630).
+-define(wxDC_DeviceToLogicalY, 631).
+-define(wxDC_DeviceToLogicalYRel, 632).
+-define(wxDC_DrawArc, 633).
+-define(wxDC_DrawBitmap, 634).
+-define(wxDC_DrawCheckMark, 635).
+-define(wxDC_DrawCircle, 636).
+-define(wxDC_DrawEllipse_2, 638).
+-define(wxDC_DrawEllipse_1, 639).
+-define(wxDC_DrawEllipticArc, 640).
+-define(wxDC_DrawIcon, 641).
+-define(wxDC_DrawLabel, 642).
+-define(wxDC_DrawLine, 643).
+-define(wxDC_DrawLines, 644).
+-define(wxDC_DrawPolygon, 646).
+-define(wxDC_DrawPoint, 648).
+-define(wxDC_DrawRectangle_2, 650).
+-define(wxDC_DrawRectangle_1, 651).
+-define(wxDC_DrawRotatedText, 652).
+-define(wxDC_DrawRoundedRectangle_3, 654).
+-define(wxDC_DrawRoundedRectangle_2, 655).
+-define(wxDC_DrawText, 656).
+-define(wxDC_EndDoc, 657).
+-define(wxDC_EndPage, 658).
+-define(wxDC_FloodFill, 659).
+-define(wxDC_GetBackground, 660).
+-define(wxDC_GetBackgroundMode, 661).
+-define(wxDC_GetBrush, 662).
+-define(wxDC_GetCharHeight, 663).
+-define(wxDC_GetCharWidth, 664).
+-define(wxDC_GetClippingBox, 665).
+-define(wxDC_GetFont, 666).
+-define(wxDC_GetLayoutDirection, 667).
+-define(wxDC_GetLogicalFunction, 668).
+-define(wxDC_GetMapMode, 669).
+-define(wxDC_GetMultiLineTextExtent_4, 670).
+-define(wxDC_GetMultiLineTextExtent_1, 671).
+-define(wxDC_GetPartialTextExtents, 672).
+-define(wxDC_GetPen, 673).
+-define(wxDC_GetPixel, 674).
+-define(wxDC_GetPPI, 675).
+-define(wxDC_GetSize, 677).
+-define(wxDC_GetSizeMM, 679).
+-define(wxDC_GetTextBackground, 680).
+-define(wxDC_GetTextExtent_4, 681).
+-define(wxDC_GetTextExtent_1, 682).
+-define(wxDC_GetTextForeground, 684).
+-define(wxDC_GetUserScale, 685).
+-define(wxDC_GradientFillConcentric_3, 686).
+-define(wxDC_GradientFillConcentric_4, 687).
+-define(wxDC_GradientFillLinear, 688).
+-define(wxDC_LogicalToDeviceX, 689).
+-define(wxDC_LogicalToDeviceXRel, 690).
+-define(wxDC_LogicalToDeviceY, 691).
+-define(wxDC_LogicalToDeviceYRel, 692).
+-define(wxDC_MaxX, 693).
+-define(wxDC_MaxY, 694).
+-define(wxDC_MinX, 695).
+-define(wxDC_MinY, 696).
+-define(wxDC_IsOk, 697).
+-define(wxDC_ResetBoundingBox, 698).
+-define(wxDC_SetAxisOrientation, 699).
+-define(wxDC_SetBackground, 700).
+-define(wxDC_SetBackgroundMode, 701).
+-define(wxDC_SetBrush, 702).
+-define(wxDC_SetClippingRegion_2, 704).
+-define(wxDC_SetClippingRegion_1_1, 705).
+-define(wxDC_SetClippingRegion_1_0, 706).
+-define(wxDC_SetDeviceOrigin, 707).
+-define(wxDC_SetFont, 708).
+-define(wxDC_SetLayoutDirection, 709).
+-define(wxDC_SetLogicalFunction, 710).
+-define(wxDC_SetMapMode, 711).
+-define(wxDC_SetPalette, 712).
+-define(wxDC_SetPen, 713).
+-define(wxDC_SetTextBackground, 714).
+-define(wxDC_SetTextForeground, 715).
+-define(wxDC_SetUserScale, 716).
+-define(wxDC_StartDoc, 717).
+-define(wxDC_StartPage, 718).
+-define(wxMirrorDC_new, 719).
+-define(wxMirrorDC_destroy, 720).
+-define(wxScreenDC_new, 721).
+-define(wxScreenDC_destruct, 722).
+-define(wxPostScriptDC_new_0, 723).
+-define(wxPostScriptDC_new_1, 724).
+-define(wxPostScriptDC_destruct, 725).
+-define(wxPostScriptDC_SetResolution, 726).
+-define(wxPostScriptDC_GetResolution, 727).
+-define(wxWindowDC_new_0, 728).
+-define(wxWindowDC_new_1, 729).
+-define(wxWindowDC_destruct, 730).
+-define(wxClientDC_new_0, 731).
+-define(wxClientDC_new_1, 732).
+-define(wxClientDC_destroy, 733).
+-define(wxPaintDC_new_0, 734).
+-define(wxPaintDC_new_1, 735).
+-define(wxPaintDC_destroy, 736).
+-define(wxMemoryDC_new_1_0, 738).
+-define(wxMemoryDC_new_1_1, 739).
+-define(wxMemoryDC_new_0, 740).
+-define(wxMemoryDC_destruct, 742).
+-define(wxMemoryDC_SelectObject, 743).
+-define(wxMemoryDC_SelectObjectAsSource, 744).
+-define(wxBufferedDC_new_0, 745).
+-define(wxBufferedDC_new_2, 746).
+-define(wxBufferedDC_new_3, 747).
+-define(wxBufferedDC_destruct, 748).
+-define(wxBufferedDC_Init_2, 749).
+-define(wxBufferedDC_Init_3, 750).
+-define(wxBufferedPaintDC_new_3, 751).
+-define(wxBufferedPaintDC_new_2, 752).
+-define(wxBufferedPaintDC_destruct, 753).
+-define(wxGraphicsObject_GetRenderer, 754).
+-define(wxGraphicsObject_IsNull, 755).
+-define(wxGraphicsContext_Create_1_1, 756).
+-define(wxGraphicsContext_Create_1_0, 757).
+-define(wxGraphicsContext_Create_0, 758).
+-define(wxGraphicsContext_CreatePen, 759).
+-define(wxGraphicsContext_CreateBrush, 760).
+-define(wxGraphicsContext_CreateRadialGradientBrush, 761).
+-define(wxGraphicsContext_CreateLinearGradientBrush, 762).
+-define(wxGraphicsContext_CreateFont, 763).
+-define(wxGraphicsContext_CreateMatrix, 764).
+-define(wxGraphicsContext_CreatePath, 765).
+-define(wxGraphicsContext_Clip_1, 766).
+-define(wxGraphicsContext_Clip_4, 767).
+-define(wxGraphicsContext_ResetClip, 768).
+-define(wxGraphicsContext_DrawBitmap, 769).
+-define(wxGraphicsContext_DrawEllipse, 770).
+-define(wxGraphicsContext_DrawIcon, 771).
+-define(wxGraphicsContext_DrawLines, 772).
+-define(wxGraphicsContext_DrawPath, 773).
+-define(wxGraphicsContext_DrawRectangle, 774).
+-define(wxGraphicsContext_DrawRoundedRectangle, 775).
+-define(wxGraphicsContext_DrawText_3, 776).
+-define(wxGraphicsContext_DrawText_4_0, 777).
+-define(wxGraphicsContext_DrawText_4_1, 778).
+-define(wxGraphicsContext_DrawText_5, 779).
+-define(wxGraphicsContext_FillPath, 780).
+-define(wxGraphicsContext_StrokePath, 781).
+-define(wxGraphicsContext_GetNativeContext, 782).
+-define(wxGraphicsContext_GetPartialTextExtents, 783).
+-define(wxGraphicsContext_GetTextExtent, 784).
+-define(wxGraphicsContext_Rotate, 785).
+-define(wxGraphicsContext_Scale, 786).
+-define(wxGraphicsContext_Translate, 787).
+-define(wxGraphicsContext_GetTransform, 788).
+-define(wxGraphicsContext_SetTransform, 789).
+-define(wxGraphicsContext_ConcatTransform, 790).
+-define(wxGraphicsContext_SetBrush_1_1, 791).
+-define(wxGraphicsContext_SetBrush_1_0, 792).
+-define(wxGraphicsContext_SetFont_1, 793).
+-define(wxGraphicsContext_SetFont_2, 794).
+-define(wxGraphicsContext_SetPen_1_0, 795).
+-define(wxGraphicsContext_SetPen_1_1, 796).
+-define(wxGraphicsContext_StrokeLine, 797).
+-define(wxGraphicsContext_StrokeLines_2, 798).
+-define(wxGraphicsContext_StrokeLines_3, 799).
+-define(wxGraphicsMatrix_Concat, 800).
+-define(wxGraphicsMatrix_Get, 802).
+-define(wxGraphicsMatrix_GetNativeMatrix, 803).
+-define(wxGraphicsMatrix_Invert, 804).
+-define(wxGraphicsMatrix_IsEqual, 805).
+-define(wxGraphicsMatrix_IsIdentity, 807).
+-define(wxGraphicsMatrix_Rotate, 808).
+-define(wxGraphicsMatrix_Scale, 809).
+-define(wxGraphicsMatrix_Translate, 810).
+-define(wxGraphicsMatrix_Set, 811).
+-define(wxGraphicsMatrix_TransformPoint, 812).
+-define(wxGraphicsMatrix_TransformDistance, 813).
+-define(wxGraphicsPath_MoveToPoint_2, 814).
+-define(wxGraphicsPath_MoveToPoint_1, 815).
+-define(wxGraphicsPath_AddArc_6, 816).
+-define(wxGraphicsPath_AddArc_5, 817).
+-define(wxGraphicsPath_AddArcToPoint, 818).
+-define(wxGraphicsPath_AddCircle, 819).
+-define(wxGraphicsPath_AddCurveToPoint_6, 820).
+-define(wxGraphicsPath_AddCurveToPoint_3, 821).
+-define(wxGraphicsPath_AddEllipse, 822).
+-define(wxGraphicsPath_AddLineToPoint_2, 823).
+-define(wxGraphicsPath_AddLineToPoint_1, 824).
+-define(wxGraphicsPath_AddPath, 825).
+-define(wxGraphicsPath_AddQuadCurveToPoint, 826).
+-define(wxGraphicsPath_AddRectangle, 827).
+-define(wxGraphicsPath_AddRoundedRectangle, 828).
+-define(wxGraphicsPath_CloseSubpath, 829).
+-define(wxGraphicsPath_Contains_3, 830).
+-define(wxGraphicsPath_Contains_2, 831).
+-define(wxGraphicsPath_GetBox, 833).
+-define(wxGraphicsPath_GetCurrentPoint, 835).
+-define(wxGraphicsPath_Transform, 836).
+-define(wxGraphicsRenderer_GetDefaultRenderer, 837).
+-define(wxGraphicsRenderer_CreateContext_1_1, 838).
+-define(wxGraphicsRenderer_CreateContext_1_0, 839).
+-define(wxGraphicsRenderer_CreatePen, 840).
+-define(wxGraphicsRenderer_CreateBrush, 841).
+-define(wxGraphicsRenderer_CreateLinearGradientBrush, 842).
+-define(wxGraphicsRenderer_CreateRadialGradientBrush, 843).
+-define(wxGraphicsRenderer_CreateFont, 844).
+-define(wxGraphicsRenderer_CreateMatrix, 845).
+-define(wxGraphicsRenderer_CreatePath, 846).
+-define(wxMenuBar_new_1, 848).
+-define(wxMenuBar_new_0, 850).
+-define(wxMenuBar_destruct, 852).
+-define(wxMenuBar_Append, 853).
+-define(wxMenuBar_Check, 854).
+-define(wxMenuBar_Enable_2, 855).
+-define(wxMenuBar_Enable_1, 856).
+-define(wxMenuBar_EnableTop, 857).
+-define(wxMenuBar_FindMenu, 858).
+-define(wxMenuBar_FindMenuItem, 859).
+-define(wxMenuBar_FindItem, 860).
+-define(wxMenuBar_GetHelpString, 861).
+-define(wxMenuBar_GetLabel_1, 862).
+-define(wxMenuBar_GetLabel_0, 863).
+-define(wxMenuBar_GetLabelTop, 864).
+-define(wxMenuBar_GetMenu, 865).
+-define(wxMenuBar_GetMenuCount, 866).
+-define(wxMenuBar_Insert, 867).
+-define(wxMenuBar_IsChecked, 868).
+-define(wxMenuBar_IsEnabled_1, 869).
+-define(wxMenuBar_IsEnabled_0, 870).
+-define(wxMenuBar_Remove, 871).
+-define(wxMenuBar_Replace, 872).
+-define(wxMenuBar_SetHelpString, 873).
+-define(wxMenuBar_SetLabel_2, 874).
+-define(wxMenuBar_SetLabel_1, 875).
+-define(wxMenuBar_SetLabelTop, 876).
+-define(wxControl_GetLabel, 877).
+-define(wxControl_SetLabel, 878).
+-define(wxControlWithItems_Append_1, 879).
+-define(wxControlWithItems_Append_2, 880).
+-define(wxControlWithItems_appendStrings_1, 881).
+-define(wxControlWithItems_Clear, 882).
+-define(wxControlWithItems_Delete, 883).
+-define(wxControlWithItems_FindString, 884).
+-define(wxControlWithItems_getClientData, 886).
+-define(wxControlWithItems_setClientData, 888).
+-define(wxControlWithItems_GetCount, 889).
+-define(wxControlWithItems_GetSelection, 890).
+-define(wxControlWithItems_GetString, 891).
+-define(wxControlWithItems_GetStringSelection, 892).
+-define(wxControlWithItems_Insert_2, 893).
+-define(wxControlWithItems_Insert_3, 894).
+-define(wxControlWithItems_IsEmpty, 895).
+-define(wxControlWithItems_Select, 896).
+-define(wxControlWithItems_SetSelection, 897).
+-define(wxControlWithItems_SetString, 898).
+-define(wxControlWithItems_SetStringSelection, 899).
+-define(wxMenu_new_2, 902).
+-define(wxMenu_new_1, 903).
+-define(wxMenu_destruct, 905).
+-define(wxMenu_Append_3, 906).
+-define(wxMenu_Append_1, 907).
+-define(wxMenu_Append_4_0, 908).
+-define(wxMenu_Append_4_1, 909).
+-define(wxMenu_AppendCheckItem, 910).
+-define(wxMenu_AppendRadioItem, 911).
+-define(wxMenu_AppendSeparator, 912).
+-define(wxMenu_Break, 913).
+-define(wxMenu_Check, 914).
+-define(wxMenu_Delete_1_0, 915).
+-define(wxMenu_Delete_1_1, 916).
+-define(wxMenu_Destroy_1_0, 917).
+-define(wxMenu_Destroy_1_1, 918).
+-define(wxMenu_Enable, 919).
+-define(wxMenu_FindItem_1, 920).
+-define(wxMenu_FindItem_2, 921).
+-define(wxMenu_FindItemByPosition, 922).
+-define(wxMenu_GetHelpString, 923).
+-define(wxMenu_GetLabel, 924).
+-define(wxMenu_GetMenuItemCount, 925).
+-define(wxMenu_GetMenuItems, 926).
+-define(wxMenu_GetTitle, 928).
+-define(wxMenu_Insert_2, 929).
+-define(wxMenu_Insert_3, 930).
+-define(wxMenu_Insert_5_1, 931).
+-define(wxMenu_Insert_5_0, 932).
+-define(wxMenu_InsertCheckItem, 933).
+-define(wxMenu_InsertRadioItem, 934).
+-define(wxMenu_InsertSeparator, 935).
+-define(wxMenu_IsChecked, 936).
+-define(wxMenu_IsEnabled, 937).
+-define(wxMenu_Prepend_1, 938).
+-define(wxMenu_Prepend_2, 939).
+-define(wxMenu_Prepend_4_1, 940).
+-define(wxMenu_Prepend_4_0, 941).
+-define(wxMenu_PrependCheckItem, 942).
+-define(wxMenu_PrependRadioItem, 943).
+-define(wxMenu_PrependSeparator, 944).
+-define(wxMenu_Remove_1_0, 945).
+-define(wxMenu_Remove_1_1, 946).
+-define(wxMenu_SetHelpString, 947).
+-define(wxMenu_SetLabel, 948).
+-define(wxMenu_SetTitle, 949).
+-define(wxMenuItem_new, 950).
+-define(wxMenuItem_destruct, 952).
+-define(wxMenuItem_Check, 953).
+-define(wxMenuItem_Enable, 954).
+-define(wxMenuItem_GetBitmap, 955).
+-define(wxMenuItem_GetHelp, 956).
+-define(wxMenuItem_GetId, 957).
+-define(wxMenuItem_GetKind, 958).
+-define(wxMenuItem_GetLabel, 959).
+-define(wxMenuItem_GetLabelFromText, 960).
+-define(wxMenuItem_GetMenu, 961).
+-define(wxMenuItem_GetText, 962).
+-define(wxMenuItem_GetSubMenu, 963).
+-define(wxMenuItem_IsCheckable, 964).
+-define(wxMenuItem_IsChecked, 965).
+-define(wxMenuItem_IsEnabled, 966).
+-define(wxMenuItem_IsSeparator, 967).
+-define(wxMenuItem_IsSubMenu, 968).
+-define(wxMenuItem_SetBitmap, 969).
+-define(wxMenuItem_SetHelp, 970).
+-define(wxMenuItem_SetMenu, 971).
+-define(wxMenuItem_SetSubMenu, 972).
+-define(wxMenuItem_SetText, 973).
+-define(wxToolBar_AddControl, 974).
+-define(wxToolBar_AddSeparator, 975).
+-define(wxToolBar_AddTool_5, 976).
+-define(wxToolBar_AddTool_4_0, 977).
+-define(wxToolBar_AddTool_1, 978).
+-define(wxToolBar_AddTool_4_1, 979).
+-define(wxToolBar_AddTool_3, 980).
+-define(wxToolBar_AddTool_6, 981).
+-define(wxToolBar_AddCheckTool, 982).
+-define(wxToolBar_AddRadioTool, 983).
+-define(wxToolBar_DeleteTool, 984).
+-define(wxToolBar_DeleteToolByPos, 985).
+-define(wxToolBar_EnableTool, 986).
+-define(wxToolBar_FindById, 987).
+-define(wxToolBar_FindControl, 988).
+-define(wxToolBar_FindToolForPosition, 989).
+-define(wxToolBar_GetToolSize, 990).
+-define(wxToolBar_GetToolBitmapSize, 991).
+-define(wxToolBar_GetMargins, 992).
+-define(wxToolBar_GetToolEnabled, 993).
+-define(wxToolBar_GetToolLongHelp, 994).
+-define(wxToolBar_GetToolPacking, 995).
+-define(wxToolBar_GetToolPos, 996).
+-define(wxToolBar_GetToolSeparation, 997).
+-define(wxToolBar_GetToolShortHelp, 998).
+-define(wxToolBar_GetToolState, 999).
+-define(wxToolBar_InsertControl, 1000).
+-define(wxToolBar_InsertSeparator, 1001).
+-define(wxToolBar_InsertTool_5, 1002).
+-define(wxToolBar_InsertTool_2, 1003).
+-define(wxToolBar_InsertTool_4, 1004).
+-define(wxToolBar_Realize, 1005).
+-define(wxToolBar_RemoveTool, 1006).
+-define(wxToolBar_SetMargins, 1007).
+-define(wxToolBar_SetToolBitmapSize, 1008).
+-define(wxToolBar_SetToolLongHelp, 1009).
+-define(wxToolBar_SetToolPacking, 1010).
+-define(wxToolBar_SetToolShortHelp, 1011).
+-define(wxToolBar_SetToolSeparation, 1012).
+-define(wxToolBar_ToggleTool, 1013).
+-define(wxStatusBar_new_0, 1015).
+-define(wxStatusBar_new_2, 1016).
+-define(wxStatusBar_destruct, 1018).
+-define(wxStatusBar_Create, 1019).
+-define(wxStatusBar_GetFieldRect, 1020).
+-define(wxStatusBar_GetFieldsCount, 1021).
+-define(wxStatusBar_GetStatusText, 1022).
+-define(wxStatusBar_PopStatusText, 1023).
+-define(wxStatusBar_PushStatusText, 1024).
+-define(wxStatusBar_SetFieldsCount, 1025).
+-define(wxStatusBar_SetMinHeight, 1026).
+-define(wxStatusBar_SetStatusText, 1027).
+-define(wxStatusBar_SetStatusWidths, 1028).
+-define(wxStatusBar_SetStatusStyles, 1029).
+-define(wxBitmap_new_0, 1030).
+-define(wxBitmap_new_3, 1031).
+-define(wxBitmap_new_4, 1032).
+-define(wxBitmap_new_2_0, 1033).
+-define(wxBitmap_new_2_1, 1034).
+-define(wxBitmap_destruct, 1035).
+-define(wxBitmap_ConvertToImage, 1036).
+-define(wxBitmap_CopyFromIcon, 1037).
+-define(wxBitmap_Create, 1038).
+-define(wxBitmap_GetDepth, 1039).
+-define(wxBitmap_GetHeight, 1040).
+-define(wxBitmap_GetPalette, 1041).
+-define(wxBitmap_GetMask, 1042).
+-define(wxBitmap_GetWidth, 1043).
+-define(wxBitmap_GetSubBitmap, 1044).
+-define(wxBitmap_LoadFile, 1045).
+-define(wxBitmap_Ok, 1046).
+-define(wxBitmap_SaveFile, 1047).
+-define(wxBitmap_SetDepth, 1048).
+-define(wxBitmap_SetHeight, 1049).
+-define(wxBitmap_SetMask, 1050).
+-define(wxBitmap_SetPalette, 1051).
+-define(wxBitmap_SetWidth, 1052).
+-define(wxIcon_new_0, 1053).
+-define(wxIcon_new_2, 1054).
+-define(wxIcon_new_1, 1055).
+-define(wxIcon_CopyFromBitmap, 1056).
+-define(wxIcon_destroy, 1057).
+-define(wxIconBundle_new_0, 1058).
+-define(wxIconBundle_new_2, 1059).
+-define(wxIconBundle_new_1_0, 1060).
+-define(wxIconBundle_new_1_1, 1061).
+-define(wxIconBundle_destruct, 1062).
+-define(wxIconBundle_AddIcon_2, 1063).
+-define(wxIconBundle_AddIcon_1, 1064).
+-define(wxIconBundle_GetIcon_1_1, 1065).
+-define(wxIconBundle_GetIcon_1_0, 1066).
+-define(wxCursor_new_0, 1067).
+-define(wxCursor_new_1_0, 1068).
+-define(wxCursor_new_1_1, 1069).
+-define(wxCursor_new_4, 1070).
+-define(wxCursor_destruct, 1071).
+-define(wxCursor_Ok, 1072).
+-define(wxMask_new_0, 1073).
+-define(wxMask_new_2_1, 1074).
+-define(wxMask_new_2_0, 1075).
+-define(wxMask_new_1, 1076).
+-define(wxMask_destruct, 1077).
+-define(wxMask_Create_2_1, 1078).
+-define(wxMask_Create_2_0, 1079).
+-define(wxMask_Create_1, 1080).
+-define(wxImage_new_0, 1081).
+-define(wxImage_new_3_0, 1082).
+-define(wxImage_new_4, 1083).
+-define(wxImage_new_5, 1084).
+-define(wxImage_new_2, 1085).
+-define(wxImage_new_3_1, 1086).
+-define(wxImage_Blur, 1087).
+-define(wxImage_BlurHorizontal, 1088).
+-define(wxImage_BlurVertical, 1089).
+-define(wxImage_ConvertAlphaToMask, 1090).
+-define(wxImage_ConvertToGreyscale, 1091).
+-define(wxImage_ConvertToMono, 1092).
+-define(wxImage_Copy, 1093).
+-define(wxImage_Create_3, 1094).
+-define(wxImage_Create_4, 1095).
+-define(wxImage_Create_5, 1096).
+-define(wxImage_Destroy, 1097).
+-define(wxImage_FindFirstUnusedColour, 1098).
+-define(wxImage_GetImageExtWildcard, 1099).
+-define(wxImage_GetAlpha_2, 1100).
+-define(wxImage_GetAlpha_0, 1101).
+-define(wxImage_GetBlue, 1102).
+-define(wxImage_GetData, 1103).
+-define(wxImage_GetGreen, 1104).
+-define(wxImage_GetImageCount, 1105).
+-define(wxImage_GetHeight, 1106).
+-define(wxImage_GetMaskBlue, 1107).
+-define(wxImage_GetMaskGreen, 1108).
+-define(wxImage_GetMaskRed, 1109).
+-define(wxImage_GetOrFindMaskColour, 1110).
+-define(wxImage_GetPalette, 1111).
+-define(wxImage_GetRed, 1112).
+-define(wxImage_GetSubImage, 1113).
+-define(wxImage_GetWidth, 1114).
+-define(wxImage_HasAlpha, 1115).
+-define(wxImage_HasMask, 1116).
+-define(wxImage_GetOption, 1117).
+-define(wxImage_GetOptionInt, 1118).
+-define(wxImage_HasOption, 1119).
+-define(wxImage_InitAlpha, 1120).
+-define(wxImage_InitStandardHandlers, 1121).
+-define(wxImage_IsTransparent, 1122).
+-define(wxImage_LoadFile_2, 1123).
+-define(wxImage_LoadFile_3, 1124).
+-define(wxImage_Ok, 1125).
+-define(wxImage_RemoveHandler, 1126).
+-define(wxImage_Mirror, 1127).
+-define(wxImage_Replace, 1128).
+-define(wxImage_Rescale, 1129).
+-define(wxImage_Resize, 1130).
+-define(wxImage_Rotate, 1131).
+-define(wxImage_RotateHue, 1132).
+-define(wxImage_Rotate90, 1133).
+-define(wxImage_SaveFile_1, 1134).
+-define(wxImage_SaveFile_2_0, 1135).
+-define(wxImage_SaveFile_2_1, 1136).
+-define(wxImage_Scale, 1137).
+-define(wxImage_Size, 1138).
+-define(wxImage_SetAlpha_3, 1139).
+-define(wxImage_SetAlpha_2, 1140).
+-define(wxImage_SetData_2, 1141).
+-define(wxImage_SetData_4, 1142).
+-define(wxImage_SetMask, 1143).
+-define(wxImage_SetMaskColour, 1144).
+-define(wxImage_SetMaskFromImage, 1145).
+-define(wxImage_SetOption_2_1, 1146).
+-define(wxImage_SetOption_2_0, 1147).
+-define(wxImage_SetPalette, 1148).
+-define(wxImage_SetRGB_5, 1149).
+-define(wxImage_SetRGB_4, 1150).
+-define(wxImage_destroy, 1151).
+-define(wxBrush_new_0, 1152).
+-define(wxBrush_new_2, 1153).
+-define(wxBrush_new_1, 1154).
+-define(wxBrush_destruct, 1156).
+-define(wxBrush_GetColour, 1157).
+-define(wxBrush_GetStipple, 1158).
+-define(wxBrush_GetStyle, 1159).
+-define(wxBrush_IsHatch, 1160).
+-define(wxBrush_IsOk, 1161).
+-define(wxBrush_SetColour_1, 1162).
+-define(wxBrush_SetColour_3, 1163).
+-define(wxBrush_SetStipple, 1164).
+-define(wxBrush_SetStyle, 1165).
+-define(wxPen_new_0, 1166).
+-define(wxPen_new_2, 1167).
+-define(wxPen_destruct, 1168).
+-define(wxPen_GetCap, 1169).
+-define(wxPen_GetColour, 1170).
+-define(wxPen_GetJoin, 1171).
+-define(wxPen_GetStyle, 1172).
+-define(wxPen_GetWidth, 1173).
+-define(wxPen_IsOk, 1174).
+-define(wxPen_SetCap, 1175).
+-define(wxPen_SetColour_1, 1176).
+-define(wxPen_SetColour_3, 1177).
+-define(wxPen_SetJoin, 1178).
+-define(wxPen_SetStyle, 1179).
+-define(wxPen_SetWidth, 1180).
+-define(wxRegion_new_0, 1181).
+-define(wxRegion_new_4, 1182).
+-define(wxRegion_new_2, 1183).
+-define(wxRegion_new_1_1, 1184).
+-define(wxRegion_new_1_0, 1186).
+-define(wxRegion_destruct, 1188).
+-define(wxRegion_Clear, 1189).
+-define(wxRegion_Contains_2, 1190).
+-define(wxRegion_Contains_1_0, 1191).
+-define(wxRegion_Contains_4, 1192).
+-define(wxRegion_Contains_1_1, 1193).
+-define(wxRegion_ConvertToBitmap, 1194).
+-define(wxRegion_GetBox, 1195).
+-define(wxRegion_Intersect_4, 1196).
+-define(wxRegion_Intersect_1_1, 1197).
+-define(wxRegion_Intersect_1_0, 1198).
+-define(wxRegion_IsEmpty, 1199).
+-define(wxRegion_Subtract_4, 1200).
+-define(wxRegion_Subtract_1_1, 1201).
+-define(wxRegion_Subtract_1_0, 1202).
+-define(wxRegion_Offset_2, 1203).
+-define(wxRegion_Offset_1, 1204).
+-define(wxRegion_Union_4, 1205).
+-define(wxRegion_Union_1_2, 1206).
+-define(wxRegion_Union_1_1, 1207).
+-define(wxRegion_Union_1_0, 1208).
+-define(wxRegion_Union_3, 1209).
+-define(wxRegion_Xor_4, 1210).
+-define(wxRegion_Xor_1_1, 1211).
+-define(wxRegion_Xor_1_0, 1212).
+-define(wxAcceleratorTable_new_0, 1213).
+-define(wxAcceleratorTable_new_2, 1214).
+-define(wxAcceleratorTable_destruct, 1215).
+-define(wxAcceleratorTable_Ok, 1216).
+-define(wxAcceleratorEntry_new_1_0, 1217).
+-define(wxAcceleratorEntry_new_1_1, 1218).
+-define(wxAcceleratorEntry_GetCommand, 1219).
+-define(wxAcceleratorEntry_GetFlags, 1220).
+-define(wxAcceleratorEntry_GetKeyCode, 1221).
+-define(wxAcceleratorEntry_Set, 1222).
+-define(wxAcceleratorEntry_destroy, 1223).
+-define(wxCaret_new_3, 1228).
+-define(wxCaret_new_2, 1229).
+-define(wxCaret_destruct, 1231).
+-define(wxCaret_Create_3, 1232).
+-define(wxCaret_Create_2, 1233).
+-define(wxCaret_GetBlinkTime, 1234).
+-define(wxCaret_GetPosition, 1236).
+-define(wxCaret_GetSize, 1238).
+-define(wxCaret_GetWindow, 1239).
+-define(wxCaret_Hide, 1240).
+-define(wxCaret_IsOk, 1241).
+-define(wxCaret_IsVisible, 1242).
+-define(wxCaret_Move_2, 1243).
+-define(wxCaret_Move_1, 1244).
+-define(wxCaret_SetBlinkTime, 1245).
+-define(wxCaret_SetSize_2, 1246).
+-define(wxCaret_SetSize_1, 1247).
+-define(wxCaret_Show, 1248).
+-define(wxSizer_Add_2_1, 1249).
+-define(wxSizer_Add_2_0, 1250).
+-define(wxSizer_Add_3, 1251).
+-define(wxSizer_Add_2_3, 1252).
+-define(wxSizer_Add_2_2, 1253).
+-define(wxSizer_AddSpacer, 1254).
+-define(wxSizer_AddStretchSpacer, 1255).
+-define(wxSizer_CalcMin, 1256).
+-define(wxSizer_Clear, 1257).
+-define(wxSizer_Detach_1_2, 1258).
+-define(wxSizer_Detach_1_1, 1259).
+-define(wxSizer_Detach_1_0, 1260).
+-define(wxSizer_Fit, 1261).
+-define(wxSizer_FitInside, 1262).
+-define(wxSizer_GetChildren, 1263).
+-define(wxSizer_GetItem_2_1, 1264).
+-define(wxSizer_GetItem_2_0, 1265).
+-define(wxSizer_GetItem_1, 1266).
+-define(wxSizer_GetSize, 1267).
+-define(wxSizer_GetPosition, 1268).
+-define(wxSizer_GetMinSize, 1269).
+-define(wxSizer_Hide_2_0, 1270).
+-define(wxSizer_Hide_2_1, 1271).
+-define(wxSizer_Hide_1, 1272).
+-define(wxSizer_Insert_3_1, 1273).
+-define(wxSizer_Insert_3_0, 1274).
+-define(wxSizer_Insert_4, 1275).
+-define(wxSizer_Insert_3_3, 1276).
+-define(wxSizer_Insert_3_2, 1277).
+-define(wxSizer_Insert_2, 1278).
+-define(wxSizer_InsertSpacer, 1279).
+-define(wxSizer_InsertStretchSpacer, 1280).
+-define(wxSizer_IsShown_1_2, 1281).
+-define(wxSizer_IsShown_1_1, 1282).
+-define(wxSizer_IsShown_1_0, 1283).
+-define(wxSizer_Layout, 1284).
+-define(wxSizer_Prepend_2_1, 1285).
+-define(wxSizer_Prepend_2_0, 1286).
+-define(wxSizer_Prepend_3, 1287).
+-define(wxSizer_Prepend_2_3, 1288).
+-define(wxSizer_Prepend_2_2, 1289).
+-define(wxSizer_Prepend_1, 1290).
+-define(wxSizer_PrependSpacer, 1291).
+-define(wxSizer_PrependStretchSpacer, 1292).
+-define(wxSizer_RecalcSizes, 1293).
+-define(wxSizer_Remove_1_1, 1294).
+-define(wxSizer_Remove_1_0, 1295).
+-define(wxSizer_Replace_3_1, 1296).
+-define(wxSizer_Replace_3_0, 1297).
+-define(wxSizer_Replace_2, 1298).
+-define(wxSizer_SetDimension, 1299).
+-define(wxSizer_SetMinSize_2, 1300).
+-define(wxSizer_SetMinSize_1, 1301).
+-define(wxSizer_SetItemMinSize_3_2, 1302).
+-define(wxSizer_SetItemMinSize_2_2, 1303).
+-define(wxSizer_SetItemMinSize_3_1, 1304).
+-define(wxSizer_SetItemMinSize_2_1, 1305).
+-define(wxSizer_SetItemMinSize_3_0, 1306).
+-define(wxSizer_SetItemMinSize_2_0, 1307).
+-define(wxSizer_SetSizeHints, 1308).
+-define(wxSizer_SetVirtualSizeHints, 1309).
+-define(wxSizer_Show_2_2, 1310).
+-define(wxSizer_Show_2_1, 1311).
+-define(wxSizer_Show_2_0, 1312).
+-define(wxSizer_Show_1, 1313).
+-define(wxSizerFlags_new, 1314).
+-define(wxSizerFlags_Align, 1315).
+-define(wxSizerFlags_Border_2, 1316).
+-define(wxSizerFlags_Border_1, 1317).
+-define(wxSizerFlags_Center, 1318).
+-define(wxSizerFlags_Centre, 1319).
+-define(wxSizerFlags_Expand, 1320).
+-define(wxSizerFlags_Left, 1321).
+-define(wxSizerFlags_Proportion, 1322).
+-define(wxSizerFlags_Right, 1323).
+-define(wxSizerFlags_destroy, 1324).
+-define(wxSizerItem_new_5_1, 1325).
+-define(wxSizerItem_new_2_1, 1326).
+-define(wxSizerItem_new_5_0, 1327).
+-define(wxSizerItem_new_2_0, 1328).
+-define(wxSizerItem_new_6, 1329).
+-define(wxSizerItem_new_3, 1330).
+-define(wxSizerItem_new_0, 1331).
+-define(wxSizerItem_destruct, 1332).
+-define(wxSizerItem_CalcMin, 1333).
+-define(wxSizerItem_DeleteWindows, 1334).
+-define(wxSizerItem_DetachSizer, 1335).
+-define(wxSizerItem_GetBorder, 1336).
+-define(wxSizerItem_GetFlag, 1337).
+-define(wxSizerItem_GetMinSize, 1338).
+-define(wxSizerItem_GetPosition, 1339).
+-define(wxSizerItem_GetProportion, 1340).
+-define(wxSizerItem_GetRatio, 1341).
+-define(wxSizerItem_GetRect, 1342).
+-define(wxSizerItem_GetSize, 1343).
+-define(wxSizerItem_GetSizer, 1344).
+-define(wxSizerItem_GetSpacer, 1345).
+-define(wxSizerItem_GetUserData, 1346).
+-define(wxSizerItem_GetWindow, 1347).
+-define(wxSizerItem_IsSizer, 1348).
+-define(wxSizerItem_IsShown, 1349).
+-define(wxSizerItem_IsSpacer, 1350).
+-define(wxSizerItem_IsWindow, 1351).
+-define(wxSizerItem_SetBorder, 1352).
+-define(wxSizerItem_SetDimension, 1353).
+-define(wxSizerItem_SetFlag, 1354).
+-define(wxSizerItem_SetInitSize, 1355).
+-define(wxSizerItem_SetMinSize_1, 1356).
+-define(wxSizerItem_SetMinSize_2, 1357).
+-define(wxSizerItem_SetProportion, 1358).
+-define(wxSizerItem_SetRatio_2, 1359).
+-define(wxSizerItem_SetRatio_1_1, 1360).
+-define(wxSizerItem_SetRatio_1_0, 1361).
+-define(wxSizerItem_SetSizer, 1362).
+-define(wxSizerItem_SetSpacer_1, 1363).
+-define(wxSizerItem_SetSpacer_2, 1364).
+-define(wxSizerItem_SetWindow, 1365).
+-define(wxSizerItem_Show, 1366).
+-define(wxBoxSizer_new, 1367).
+-define(wxBoxSizer_GetOrientation, 1368).
+-define(wxBoxSizer_destroy, 1369).
+-define(wxStaticBoxSizer_new_2, 1370).
+-define(wxStaticBoxSizer_new_3, 1371).
+-define(wxStaticBoxSizer_GetStaticBox, 1372).
+-define(wxStaticBoxSizer_destroy, 1373).
+-define(wxGridSizer_new_4, 1374).
+-define(wxGridSizer_new_2, 1375).
+-define(wxGridSizer_GetCols, 1376).
+-define(wxGridSizer_GetHGap, 1377).
+-define(wxGridSizer_GetRows, 1378).
+-define(wxGridSizer_GetVGap, 1379).
+-define(wxGridSizer_SetCols, 1380).
+-define(wxGridSizer_SetHGap, 1381).
+-define(wxGridSizer_SetRows, 1382).
+-define(wxGridSizer_SetVGap, 1383).
+-define(wxGridSizer_destroy, 1384).
+-define(wxFlexGridSizer_new_4, 1385).
+-define(wxFlexGridSizer_new_2, 1386).
+-define(wxFlexGridSizer_AddGrowableCol, 1387).
+-define(wxFlexGridSizer_AddGrowableRow, 1388).
+-define(wxFlexGridSizer_GetFlexibleDirection, 1389).
+-define(wxFlexGridSizer_GetNonFlexibleGrowMode, 1390).
+-define(wxFlexGridSizer_RemoveGrowableCol, 1391).
+-define(wxFlexGridSizer_RemoveGrowableRow, 1392).
+-define(wxFlexGridSizer_SetFlexibleDirection, 1393).
+-define(wxFlexGridSizer_SetNonFlexibleGrowMode, 1394).
+-define(wxFlexGridSizer_destroy, 1395).
+-define(wxGridBagSizer_new, 1396).
+-define(wxGridBagSizer_Add_3_2, 1397).
+-define(wxGridBagSizer_Add_3_1, 1398).
+-define(wxGridBagSizer_Add_4, 1399).
+-define(wxGridBagSizer_Add_1_0, 1400).
+-define(wxGridBagSizer_Add_2_1, 1401).
+-define(wxGridBagSizer_Add_2_0, 1402).
+-define(wxGridBagSizer_Add_3_0, 1403).
+-define(wxGridBagSizer_Add_1_1, 1404).
+-define(wxGridBagSizer_CalcMin, 1405).
+-define(wxGridBagSizer_CheckForIntersection_2, 1406).
+-define(wxGridBagSizer_CheckForIntersection_3, 1407).
+-define(wxGridBagSizer_FindItem_1_1, 1408).
+-define(wxGridBagSizer_FindItem_1_0, 1409).
+-define(wxGridBagSizer_FindItemAtPoint, 1410).
+-define(wxGridBagSizer_FindItemAtPosition, 1411).
+-define(wxGridBagSizer_FindItemWithData, 1412).
+-define(wxGridBagSizer_GetCellSize, 1413).
+-define(wxGridBagSizer_GetEmptyCellSize, 1414).
+-define(wxGridBagSizer_GetItemPosition_1_2, 1415).
+-define(wxGridBagSizer_GetItemPosition_1_1, 1416).
+-define(wxGridBagSizer_GetItemPosition_1_0, 1417).
+-define(wxGridBagSizer_GetItemSpan_1_2, 1418).
+-define(wxGridBagSizer_GetItemSpan_1_1, 1419).
+-define(wxGridBagSizer_GetItemSpan_1_0, 1420).
+-define(wxGridBagSizer_SetEmptyCellSize, 1421).
+-define(wxGridBagSizer_SetItemPosition_2_2, 1422).
+-define(wxGridBagSizer_SetItemPosition_2_1, 1423).
+-define(wxGridBagSizer_SetItemPosition_2_0, 1424).
+-define(wxGridBagSizer_SetItemSpan_2_2, 1425).
+-define(wxGridBagSizer_SetItemSpan_2_1, 1426).
+-define(wxGridBagSizer_SetItemSpan_2_0, 1427).
+-define(wxGridBagSizer_destroy, 1428).
+-define(wxStdDialogButtonSizer_new, 1429).
+-define(wxStdDialogButtonSizer_AddButton, 1430).
+-define(wxStdDialogButtonSizer_Realize, 1431).
+-define(wxStdDialogButtonSizer_SetAffirmativeButton, 1432).
+-define(wxStdDialogButtonSizer_SetCancelButton, 1433).
+-define(wxStdDialogButtonSizer_SetNegativeButton, 1434).
+-define(wxStdDialogButtonSizer_destroy, 1435).
+-define(wxFont_new_0, 1436).
+-define(wxFont_new_1, 1437).
+-define(wxFont_new_5, 1438).
+-define(wxFont_destruct, 1440).
+-define(wxFont_IsFixedWidth, 1441).
+-define(wxFont_GetDefaultEncoding, 1442).
+-define(wxFont_GetFaceName, 1443).
+-define(wxFont_GetFamily, 1444).
+-define(wxFont_GetNativeFontInfoDesc, 1445).
+-define(wxFont_GetNativeFontInfoUserDesc, 1446).
+-define(wxFont_GetPointSize, 1447).
+-define(wxFont_GetStyle, 1448).
+-define(wxFont_GetUnderlined, 1449).
+-define(wxFont_GetWeight, 1450).
+-define(wxFont_Ok, 1451).
+-define(wxFont_SetDefaultEncoding, 1452).
+-define(wxFont_SetFaceName, 1453).
+-define(wxFont_SetFamily, 1454).
+-define(wxFont_SetPointSize, 1455).
+-define(wxFont_SetStyle, 1456).
+-define(wxFont_SetUnderlined, 1457).
+-define(wxFont_SetWeight, 1458).
+-define(wxToolTip_Enable, 1459).
+-define(wxToolTip_SetDelay, 1460).
+-define(wxToolTip_new, 1461).
+-define(wxToolTip_SetTip, 1462).
+-define(wxToolTip_GetTip, 1463).
+-define(wxToolTip_GetWindow, 1464).
+-define(wxToolTip_destroy, 1465).
+-define(wxButton_new_3, 1467).
+-define(wxButton_new_0, 1468).
+-define(wxButton_destruct, 1469).
+-define(wxButton_Create, 1470).
+-define(wxButton_GetDefaultSize, 1471).
+-define(wxButton_SetDefault, 1472).
+-define(wxButton_SetLabel, 1473).
+-define(wxBitmapButton_new_4, 1475).
+-define(wxBitmapButton_new_0, 1476).
+-define(wxBitmapButton_Create, 1477).
+-define(wxBitmapButton_GetBitmapDisabled, 1478).
+-define(wxBitmapButton_GetBitmapFocus, 1480).
+-define(wxBitmapButton_GetBitmapLabel, 1482).
+-define(wxBitmapButton_GetBitmapSelected, 1484).
+-define(wxBitmapButton_SetBitmapDisabled, 1486).
+-define(wxBitmapButton_SetBitmapFocus, 1487).
+-define(wxBitmapButton_SetBitmapLabel, 1488).
+-define(wxBitmapButton_SetBitmapSelected, 1489).
+-define(wxBitmapButton_destroy, 1490).
+-define(wxToggleButton_new_0, 1491).
+-define(wxToggleButton_new_4, 1492).
+-define(wxToggleButton_Create, 1493).
+-define(wxToggleButton_GetValue, 1494).
+-define(wxToggleButton_SetValue, 1495).
+-define(wxToggleButton_destroy, 1496).
+-define(wxCalendarCtrl_new_0, 1497).
+-define(wxCalendarCtrl_new_3, 1498).
+-define(wxCalendarCtrl_Create, 1499).
+-define(wxCalendarCtrl_destruct, 1500).
+-define(wxCalendarCtrl_SetDate, 1501).
+-define(wxCalendarCtrl_GetDate, 1502).
+-define(wxCalendarCtrl_EnableYearChange, 1503).
+-define(wxCalendarCtrl_EnableMonthChange, 1504).
+-define(wxCalendarCtrl_EnableHolidayDisplay, 1505).
+-define(wxCalendarCtrl_SetHeaderColours, 1506).
+-define(wxCalendarCtrl_GetHeaderColourFg, 1507).
+-define(wxCalendarCtrl_GetHeaderColourBg, 1508).
+-define(wxCalendarCtrl_SetHighlightColours, 1509).
+-define(wxCalendarCtrl_GetHighlightColourFg, 1510).
+-define(wxCalendarCtrl_GetHighlightColourBg, 1511).
+-define(wxCalendarCtrl_SetHolidayColours, 1512).
+-define(wxCalendarCtrl_GetHolidayColourFg, 1513).
+-define(wxCalendarCtrl_GetHolidayColourBg, 1514).
+-define(wxCalendarCtrl_GetAttr, 1515).
+-define(wxCalendarCtrl_SetAttr, 1516).
+-define(wxCalendarCtrl_SetHoliday, 1517).
+-define(wxCalendarCtrl_ResetAttr, 1518).
+-define(wxCalendarCtrl_HitTest, 1519).
+-define(wxCalendarDateAttr_new_0, 1520).
+-define(wxCalendarDateAttr_new_2_1, 1521).
+-define(wxCalendarDateAttr_new_2_0, 1522).
+-define(wxCalendarDateAttr_SetTextColour, 1523).
+-define(wxCalendarDateAttr_SetBackgroundColour, 1524).
+-define(wxCalendarDateAttr_SetBorderColour, 1525).
+-define(wxCalendarDateAttr_SetFont, 1526).
+-define(wxCalendarDateAttr_SetBorder, 1527).
+-define(wxCalendarDateAttr_SetHoliday, 1528).
+-define(wxCalendarDateAttr_HasTextColour, 1529).
+-define(wxCalendarDateAttr_HasBackgroundColour, 1530).
+-define(wxCalendarDateAttr_HasBorderColour, 1531).
+-define(wxCalendarDateAttr_HasFont, 1532).
+-define(wxCalendarDateAttr_HasBorder, 1533).
+-define(wxCalendarDateAttr_IsHoliday, 1534).
+-define(wxCalendarDateAttr_GetTextColour, 1535).
+-define(wxCalendarDateAttr_GetBackgroundColour, 1536).
+-define(wxCalendarDateAttr_GetBorderColour, 1537).
+-define(wxCalendarDateAttr_GetFont, 1538).
+-define(wxCalendarDateAttr_GetBorder, 1539).
+-define(wxCalendarDateAttr_destroy, 1540).
+-define(wxCheckBox_new_4, 1542).
+-define(wxCheckBox_new_0, 1543).
+-define(wxCheckBox_Create, 1544).
+-define(wxCheckBox_GetValue, 1545).
+-define(wxCheckBox_Get3StateValue, 1546).
+-define(wxCheckBox_Is3rdStateAllowedForUser, 1547).
+-define(wxCheckBox_Is3State, 1548).
+-define(wxCheckBox_IsChecked, 1549).
+-define(wxCheckBox_SetValue, 1550).
+-define(wxCheckBox_Set3StateValue, 1551).
+-define(wxCheckBox_destroy, 1552).
+-define(wxCheckListBox_new_0, 1553).
+-define(wxCheckListBox_new_3, 1555).
+-define(wxCheckListBox_Check, 1556).
+-define(wxCheckListBox_IsChecked, 1557).
+-define(wxCheckListBox_destroy, 1558).
+-define(wxChoice_new_3, 1561).
+-define(wxChoice_new_0, 1562).
+-define(wxChoice_destruct, 1564).
+-define(wxChoice_Create, 1566).
+-define(wxChoice_Delete, 1567).
+-define(wxChoice_GetColumns, 1568).
+-define(wxChoice_SetColumns, 1569).
+-define(wxComboBox_new_0, 1570).
+-define(wxComboBox_new_3, 1572).
+-define(wxComboBox_destruct, 1573).
+-define(wxComboBox_Create, 1575).
+-define(wxComboBox_CanCopy, 1576).
+-define(wxComboBox_CanCut, 1577).
+-define(wxComboBox_CanPaste, 1578).
+-define(wxComboBox_CanRedo, 1579).
+-define(wxComboBox_CanUndo, 1580).
+-define(wxComboBox_Copy, 1581).
+-define(wxComboBox_Cut, 1582).
+-define(wxComboBox_GetInsertionPoint, 1583).
+-define(wxComboBox_GetLastPosition, 1584).
+-define(wxComboBox_GetValue, 1585).
+-define(wxComboBox_Paste, 1586).
+-define(wxComboBox_Redo, 1587).
+-define(wxComboBox_Replace, 1588).
+-define(wxComboBox_Remove, 1589).
+-define(wxComboBox_SetInsertionPoint, 1590).
+-define(wxComboBox_SetInsertionPointEnd, 1591).
+-define(wxComboBox_SetSelection_1, 1592).
+-define(wxComboBox_SetSelection_2, 1593).
+-define(wxComboBox_SetValue, 1594).
+-define(wxComboBox_Undo, 1595).
+-define(wxGauge_new_0, 1596).
+-define(wxGauge_new_4, 1597).
+-define(wxGauge_Create, 1598).
+-define(wxGauge_GetBezelFace, 1599).
+-define(wxGauge_GetRange, 1600).
+-define(wxGauge_GetShadowWidth, 1601).
+-define(wxGauge_GetValue, 1602).
+-define(wxGauge_IsVertical, 1603).
+-define(wxGauge_SetBezelFace, 1604).
+-define(wxGauge_SetRange, 1605).
+-define(wxGauge_SetShadowWidth, 1606).
+-define(wxGauge_SetValue, 1607).
+-define(wxGauge_Pulse, 1608).
+-define(wxGauge_destroy, 1609).
+-define(wxGenericDirCtrl_new_0, 1610).
+-define(wxGenericDirCtrl_new_2, 1611).
+-define(wxGenericDirCtrl_destruct, 1612).
+-define(wxGenericDirCtrl_Create, 1613).
+-define(wxGenericDirCtrl_Init, 1614).
+-define(wxGenericDirCtrl_CollapseTree, 1615).
+-define(wxGenericDirCtrl_ExpandPath, 1616).
+-define(wxGenericDirCtrl_GetDefaultPath, 1617).
+-define(wxGenericDirCtrl_GetPath, 1618).
+-define(wxGenericDirCtrl_GetFilePath, 1619).
+-define(wxGenericDirCtrl_GetFilter, 1620).
+-define(wxGenericDirCtrl_GetFilterIndex, 1621).
+-define(wxGenericDirCtrl_GetRootId, 1622).
+-define(wxGenericDirCtrl_GetTreeCtrl, 1623).
+-define(wxGenericDirCtrl_ReCreateTree, 1624).
+-define(wxGenericDirCtrl_SetDefaultPath, 1625).
+-define(wxGenericDirCtrl_SetFilter, 1626).
+-define(wxGenericDirCtrl_SetFilterIndex, 1627).
+-define(wxGenericDirCtrl_SetPath, 1628).
+-define(wxStaticBox_new_4, 1630).
+-define(wxStaticBox_new_0, 1631).
+-define(wxStaticBox_Create, 1632).
+-define(wxStaticBox_destroy, 1633).
+-define(wxStaticLine_new_2, 1635).
+-define(wxStaticLine_new_0, 1636).
+-define(wxStaticLine_Create, 1637).
+-define(wxStaticLine_IsVertical, 1638).
+-define(wxStaticLine_GetDefaultSize, 1639).
+-define(wxStaticLine_destroy, 1640).
+-define(wxListBox_new_3, 1643).
+-define(wxListBox_new_0, 1644).
+-define(wxListBox_destruct, 1646).
+-define(wxListBox_Create, 1648).
+-define(wxListBox_Deselect, 1649).
+-define(wxListBox_GetSelections, 1650).
+-define(wxListBox_InsertItems, 1651).
+-define(wxListBox_IsSelected, 1652).
+-define(wxListBox_Set, 1654).
+-define(wxListBox_HitTest, 1655).
+-define(wxListBox_SetFirstItem_1_0, 1656).
+-define(wxListBox_SetFirstItem_1_1, 1657).
+-define(wxListCtrl_new_0, 1658).
+-define(wxListCtrl_new_2, 1659).
+-define(wxListCtrl_Arrange, 1660).
+-define(wxListCtrl_AssignImageList, 1661).
+-define(wxListCtrl_ClearAll, 1662).
+-define(wxListCtrl_Create, 1663).
+-define(wxListCtrl_DeleteAllItems, 1664).
+-define(wxListCtrl_DeleteColumn, 1665).
+-define(wxListCtrl_DeleteItem, 1666).
+-define(wxListCtrl_EditLabel, 1667).
+-define(wxListCtrl_EnsureVisible, 1668).
+-define(wxListCtrl_FindItem_3_0, 1669).
+-define(wxListCtrl_FindItem_3_1, 1670).
+-define(wxListCtrl_GetColumn, 1671).
+-define(wxListCtrl_GetColumnCount, 1672).
+-define(wxListCtrl_GetColumnWidth, 1673).
+-define(wxListCtrl_GetCountPerPage, 1674).
+-define(wxListCtrl_GetImageList, 1675).
+-define(wxListCtrl_GetItem, 1676).
+-define(wxListCtrl_GetItemBackgroundColour, 1677).
+-define(wxListCtrl_GetItemCount, 1678).
+-define(wxListCtrl_GetItemData, 1679).
+-define(wxListCtrl_GetItemFont, 1680).
+-define(wxListCtrl_GetItemPosition, 1681).
+-define(wxListCtrl_GetItemRect, 1682).
+-define(wxListCtrl_GetItemSpacing, 1683).
+-define(wxListCtrl_GetItemState, 1684).
+-define(wxListCtrl_GetItemText, 1685).
+-define(wxListCtrl_GetItemTextColour, 1686).
+-define(wxListCtrl_GetNextItem, 1687).
+-define(wxListCtrl_GetSelectedItemCount, 1688).
+-define(wxListCtrl_GetTextColour, 1689).
+-define(wxListCtrl_GetTopItem, 1690).
+-define(wxListCtrl_GetViewRect, 1691).
+-define(wxListCtrl_HitTest, 1692).
+-define(wxListCtrl_InsertColumn_2, 1693).
+-define(wxListCtrl_InsertColumn_3, 1694).
+-define(wxListCtrl_InsertItem_1, 1695).
+-define(wxListCtrl_InsertItem_2_1, 1696).
+-define(wxListCtrl_InsertItem_2_0, 1697).
+-define(wxListCtrl_InsertItem_3, 1698).
+-define(wxListCtrl_RefreshItem, 1699).
+-define(wxListCtrl_RefreshItems, 1700).
+-define(wxListCtrl_ScrollList, 1701).
+-define(wxListCtrl_SetBackgroundColour, 1702).
+-define(wxListCtrl_SetColumn, 1703).
+-define(wxListCtrl_SetColumnWidth, 1704).
+-define(wxListCtrl_SetImageList, 1705).
+-define(wxListCtrl_SetItem_1, 1706).
+-define(wxListCtrl_SetItem_4, 1707).
+-define(wxListCtrl_SetItemBackgroundColour, 1708).
+-define(wxListCtrl_SetItemCount, 1709).
+-define(wxListCtrl_SetItemData, 1710).
+-define(wxListCtrl_SetItemFont, 1711).
+-define(wxListCtrl_SetItemImage, 1712).
+-define(wxListCtrl_SetItemColumnImage, 1713).
+-define(wxListCtrl_SetItemPosition, 1714).
+-define(wxListCtrl_SetItemState, 1715).
+-define(wxListCtrl_SetItemText, 1716).
+-define(wxListCtrl_SetItemTextColour, 1717).
+-define(wxListCtrl_SetSingleStyle, 1718).
+-define(wxListCtrl_SetTextColour, 1719).
+-define(wxListCtrl_SetWindowStyleFlag, 1720).
+-define(wxListCtrl_SortItems, 1721).
+-define(wxListCtrl_destroy, 1722).
+-define(wxListView_ClearColumnImage, 1723).
+-define(wxListView_Focus, 1724).
+-define(wxListView_GetFirstSelected, 1725).
+-define(wxListView_GetFocusedItem, 1726).
+-define(wxListView_GetNextSelected, 1727).
+-define(wxListView_IsSelected, 1728).
+-define(wxListView_Select, 1729).
+-define(wxListView_SetColumnImage, 1730).
+-define(wxListItem_new_0, 1731).
+-define(wxListItem_new_1, 1732).
+-define(wxListItem_destruct, 1733).
+-define(wxListItem_Clear, 1734).
+-define(wxListItem_GetAlign, 1735).
+-define(wxListItem_GetBackgroundColour, 1736).
+-define(wxListItem_GetColumn, 1737).
+-define(wxListItem_GetFont, 1738).
+-define(wxListItem_GetId, 1739).
+-define(wxListItem_GetImage, 1740).
+-define(wxListItem_GetMask, 1741).
+-define(wxListItem_GetState, 1742).
+-define(wxListItem_GetText, 1743).
+-define(wxListItem_GetTextColour, 1744).
+-define(wxListItem_GetWidth, 1745).
+-define(wxListItem_SetAlign, 1746).
+-define(wxListItem_SetBackgroundColour, 1747).
+-define(wxListItem_SetColumn, 1748).
+-define(wxListItem_SetFont, 1749).
+-define(wxListItem_SetId, 1750).
+-define(wxListItem_SetImage, 1751).
+-define(wxListItem_SetMask, 1752).
+-define(wxListItem_SetState, 1753).
+-define(wxListItem_SetStateMask, 1754).
+-define(wxListItem_SetText, 1755).
+-define(wxListItem_SetTextColour, 1756).
+-define(wxListItem_SetWidth, 1757).
+-define(wxImageList_new_0, 1758).
+-define(wxImageList_new_3, 1759).
+-define(wxImageList_Add_1, 1760).
+-define(wxImageList_Add_2_0, 1761).
+-define(wxImageList_Add_2_1, 1762).
+-define(wxImageList_Create, 1763).
+-define(wxImageList_Draw, 1765).
+-define(wxImageList_GetBitmap, 1766).
+-define(wxImageList_GetIcon, 1767).
+-define(wxImageList_GetImageCount, 1768).
+-define(wxImageList_GetSize, 1769).
+-define(wxImageList_Remove, 1770).
+-define(wxImageList_RemoveAll, 1771).
+-define(wxImageList_Replace_2, 1772).
+-define(wxImageList_Replace_3, 1773).
+-define(wxImageList_destroy, 1774).
+-define(wxTextAttr_new_0, 1775).
+-define(wxTextAttr_new_2, 1776).
+-define(wxTextAttr_GetAlignment, 1777).
+-define(wxTextAttr_GetBackgroundColour, 1778).
+-define(wxTextAttr_GetFont, 1779).
+-define(wxTextAttr_GetLeftIndent, 1780).
+-define(wxTextAttr_GetLeftSubIndent, 1781).
+-define(wxTextAttr_GetRightIndent, 1782).
+-define(wxTextAttr_GetTabs, 1783).
+-define(wxTextAttr_GetTextColour, 1784).
+-define(wxTextAttr_HasBackgroundColour, 1785).
+-define(wxTextAttr_HasFont, 1786).
+-define(wxTextAttr_HasTextColour, 1787).
+-define(wxTextAttr_GetFlags, 1788).
+-define(wxTextAttr_IsDefault, 1789).
+-define(wxTextAttr_SetAlignment, 1790).
+-define(wxTextAttr_SetBackgroundColour, 1791).
+-define(wxTextAttr_SetFlags, 1792).
+-define(wxTextAttr_SetFont, 1793).
+-define(wxTextAttr_SetLeftIndent, 1794).
+-define(wxTextAttr_SetRightIndent, 1795).
+-define(wxTextAttr_SetTabs, 1796).
+-define(wxTextAttr_SetTextColour, 1797).
+-define(wxTextAttr_destroy, 1798).
+-define(wxTextCtrl_new_3, 1800).
+-define(wxTextCtrl_new_0, 1801).
+-define(wxTextCtrl_destruct, 1803).
+-define(wxTextCtrl_AppendText, 1804).
+-define(wxTextCtrl_CanCopy, 1805).
+-define(wxTextCtrl_CanCut, 1806).
+-define(wxTextCtrl_CanPaste, 1807).
+-define(wxTextCtrl_CanRedo, 1808).
+-define(wxTextCtrl_CanUndo, 1809).
+-define(wxTextCtrl_Clear, 1810).
+-define(wxTextCtrl_Copy, 1811).
+-define(wxTextCtrl_Create, 1812).
+-define(wxTextCtrl_Cut, 1813).
+-define(wxTextCtrl_DiscardEdits, 1814).
+-define(wxTextCtrl_EmulateKeyPress, 1815).
+-define(wxTextCtrl_GetDefaultStyle, 1816).
+-define(wxTextCtrl_GetInsertionPoint, 1817).
+-define(wxTextCtrl_GetLastPosition, 1818).
+-define(wxTextCtrl_GetLineLength, 1819).
+-define(wxTextCtrl_GetLineText, 1820).
+-define(wxTextCtrl_GetNumberOfLines, 1821).
+-define(wxTextCtrl_GetRange, 1822).
+-define(wxTextCtrl_GetSelection, 1823).
+-define(wxTextCtrl_GetStringSelection, 1824).
+-define(wxTextCtrl_GetStyle, 1825).
+-define(wxTextCtrl_GetValue, 1826).
+-define(wxTextCtrl_IsEditable, 1827).
+-define(wxTextCtrl_IsModified, 1828).
+-define(wxTextCtrl_IsMultiLine, 1829).
+-define(wxTextCtrl_IsSingleLine, 1830).
+-define(wxTextCtrl_LoadFile, 1831).
+-define(wxTextCtrl_MarkDirty, 1832).
+-define(wxTextCtrl_Paste, 1833).
+-define(wxTextCtrl_PositionToXY, 1834).
+-define(wxTextCtrl_Redo, 1835).
+-define(wxTextCtrl_Remove, 1836).
+-define(wxTextCtrl_Replace, 1837).
+-define(wxTextCtrl_SaveFile, 1838).
+-define(wxTextCtrl_SetDefaultStyle, 1839).
+-define(wxTextCtrl_SetEditable, 1840).
+-define(wxTextCtrl_SetInsertionPoint, 1841).
+-define(wxTextCtrl_SetInsertionPointEnd, 1842).
+-define(wxTextCtrl_SetMaxLength, 1844).
+-define(wxTextCtrl_SetSelection, 1845).
+-define(wxTextCtrl_SetStyle, 1846).
+-define(wxTextCtrl_SetValue, 1847).
+-define(wxTextCtrl_ShowPosition, 1848).
+-define(wxTextCtrl_Undo, 1849).
+-define(wxTextCtrl_WriteText, 1850).
+-define(wxTextCtrl_XYToPosition, 1851).
+-define(wxNotebook_new_0, 1854).
+-define(wxNotebook_new_3, 1855).
+-define(wxNotebook_destruct, 1856).
+-define(wxNotebook_AddPage, 1857).
+-define(wxNotebook_AdvanceSelection, 1858).
+-define(wxNotebook_AssignImageList, 1859).
+-define(wxNotebook_Create, 1860).
+-define(wxNotebook_DeleteAllPages, 1861).
+-define(wxNotebook_DeletePage, 1862).
+-define(wxNotebook_RemovePage, 1863).
+-define(wxNotebook_GetCurrentPage, 1864).
+-define(wxNotebook_GetImageList, 1865).
+-define(wxNotebook_GetPage, 1867).
+-define(wxNotebook_GetPageCount, 1868).
+-define(wxNotebook_GetPageImage, 1869).
+-define(wxNotebook_GetPageText, 1870).
+-define(wxNotebook_GetRowCount, 1871).
+-define(wxNotebook_GetSelection, 1872).
+-define(wxNotebook_GetThemeBackgroundColour, 1873).
+-define(wxNotebook_HitTest, 1875).
+-define(wxNotebook_InsertPage, 1877).
+-define(wxNotebook_SetImageList, 1878).
+-define(wxNotebook_SetPadding, 1879).
+-define(wxNotebook_SetPageSize, 1880).
+-define(wxNotebook_SetPageImage, 1881).
+-define(wxNotebook_SetPageText, 1882).
+-define(wxNotebook_SetSelection, 1883).
+-define(wxNotebook_ChangeSelection, 1884).
+-define(wxChoicebook_new_0, 1885).
+-define(wxChoicebook_new_3, 1886).
+-define(wxChoicebook_AddPage, 1887).
+-define(wxChoicebook_AdvanceSelection, 1888).
+-define(wxChoicebook_AssignImageList, 1889).
+-define(wxChoicebook_Create, 1890).
+-define(wxChoicebook_DeleteAllPages, 1891).
+-define(wxChoicebook_DeletePage, 1892).
+-define(wxChoicebook_RemovePage, 1893).
+-define(wxChoicebook_GetCurrentPage, 1894).
+-define(wxChoicebook_GetImageList, 1895).
+-define(wxChoicebook_GetPage, 1897).
+-define(wxChoicebook_GetPageCount, 1898).
+-define(wxChoicebook_GetPageImage, 1899).
+-define(wxChoicebook_GetPageText, 1900).
+-define(wxChoicebook_GetSelection, 1901).
+-define(wxChoicebook_HitTest, 1902).
+-define(wxChoicebook_InsertPage, 1903).
+-define(wxChoicebook_SetImageList, 1904).
+-define(wxChoicebook_SetPageSize, 1905).
+-define(wxChoicebook_SetPageImage, 1906).
+-define(wxChoicebook_SetPageText, 1907).
+-define(wxChoicebook_SetSelection, 1908).
+-define(wxChoicebook_ChangeSelection, 1909).
+-define(wxChoicebook_destroy, 1910).
+-define(wxToolbook_new_0, 1911).
+-define(wxToolbook_new_3, 1912).
+-define(wxToolbook_AddPage, 1913).
+-define(wxToolbook_AdvanceSelection, 1914).
+-define(wxToolbook_AssignImageList, 1915).
+-define(wxToolbook_Create, 1916).
+-define(wxToolbook_DeleteAllPages, 1917).
+-define(wxToolbook_DeletePage, 1918).
+-define(wxToolbook_RemovePage, 1919).
+-define(wxToolbook_GetCurrentPage, 1920).
+-define(wxToolbook_GetImageList, 1921).
+-define(wxToolbook_GetPage, 1923).
+-define(wxToolbook_GetPageCount, 1924).
+-define(wxToolbook_GetPageImage, 1925).
+-define(wxToolbook_GetPageText, 1926).
+-define(wxToolbook_GetSelection, 1927).
+-define(wxToolbook_HitTest, 1929).
+-define(wxToolbook_InsertPage, 1930).
+-define(wxToolbook_SetImageList, 1931).
+-define(wxToolbook_SetPageSize, 1932).
+-define(wxToolbook_SetPageImage, 1933).
+-define(wxToolbook_SetPageText, 1934).
+-define(wxToolbook_SetSelection, 1935).
+-define(wxToolbook_ChangeSelection, 1936).
+-define(wxToolbook_destroy, 1937).
+-define(wxListbook_new_0, 1938).
+-define(wxListbook_new_3, 1939).
+-define(wxListbook_AddPage, 1940).
+-define(wxListbook_AdvanceSelection, 1941).
+-define(wxListbook_AssignImageList, 1942).
+-define(wxListbook_Create, 1943).
+-define(wxListbook_DeleteAllPages, 1944).
+-define(wxListbook_DeletePage, 1945).
+-define(wxListbook_RemovePage, 1946).
+-define(wxListbook_GetCurrentPage, 1947).
+-define(wxListbook_GetImageList, 1948).
+-define(wxListbook_GetPage, 1950).
+-define(wxListbook_GetPageCount, 1951).
+-define(wxListbook_GetPageImage, 1952).
+-define(wxListbook_GetPageText, 1953).
+-define(wxListbook_GetSelection, 1954).
+-define(wxListbook_HitTest, 1956).
+-define(wxListbook_InsertPage, 1957).
+-define(wxListbook_SetImageList, 1958).
+-define(wxListbook_SetPageSize, 1959).
+-define(wxListbook_SetPageImage, 1960).
+-define(wxListbook_SetPageText, 1961).
+-define(wxListbook_SetSelection, 1962).
+-define(wxListbook_ChangeSelection, 1963).
+-define(wxListbook_destroy, 1964).
+-define(wxTreebook_new_0, 1965).
+-define(wxTreebook_new_3, 1966).
+-define(wxTreebook_AddPage, 1967).
+-define(wxTreebook_AdvanceSelection, 1968).
+-define(wxTreebook_AssignImageList, 1969).
+-define(wxTreebook_Create, 1970).
+-define(wxTreebook_DeleteAllPages, 1971).
+-define(wxTreebook_DeletePage, 1972).
+-define(wxTreebook_RemovePage, 1973).
+-define(wxTreebook_GetCurrentPage, 1974).
+-define(wxTreebook_GetImageList, 1975).
+-define(wxTreebook_GetPage, 1977).
+-define(wxTreebook_GetPageCount, 1978).
+-define(wxTreebook_GetPageImage, 1979).
+-define(wxTreebook_GetPageText, 1980).
+-define(wxTreebook_GetSelection, 1981).
+-define(wxTreebook_ExpandNode, 1982).
+-define(wxTreebook_IsNodeExpanded, 1983).
+-define(wxTreebook_HitTest, 1985).
+-define(wxTreebook_InsertPage, 1986).
+-define(wxTreebook_InsertSubPage, 1987).
+-define(wxTreebook_SetImageList, 1988).
+-define(wxTreebook_SetPageSize, 1989).
+-define(wxTreebook_SetPageImage, 1990).
+-define(wxTreebook_SetPageText, 1991).
+-define(wxTreebook_SetSelection, 1992).
+-define(wxTreebook_ChangeSelection, 1993).
+-define(wxTreebook_destroy, 1994).
+-define(wxTreeCtrl_new_2, 1997).
+-define(wxTreeCtrl_new_0, 1998).
+-define(wxTreeCtrl_destruct, 2000).
+-define(wxTreeCtrl_AddRoot, 2001).
+-define(wxTreeCtrl_AppendItem, 2002).
+-define(wxTreeCtrl_AssignImageList, 2003).
+-define(wxTreeCtrl_AssignStateImageList, 2004).
+-define(wxTreeCtrl_Collapse, 2005).
+-define(wxTreeCtrl_CollapseAndReset, 2006).
+-define(wxTreeCtrl_Create, 2007).
+-define(wxTreeCtrl_Delete, 2008).
+-define(wxTreeCtrl_DeleteAllItems, 2009).
+-define(wxTreeCtrl_DeleteChildren, 2010).
+-define(wxTreeCtrl_EnsureVisible, 2011).
+-define(wxTreeCtrl_Expand, 2012).
+-define(wxTreeCtrl_GetBoundingRect, 2013).
+-define(wxTreeCtrl_GetChildrenCount, 2015).
+-define(wxTreeCtrl_GetCount, 2016).
+-define(wxTreeCtrl_GetEditControl, 2017).
+-define(wxTreeCtrl_GetFirstVisibleItem, 2018).
+-define(wxTreeCtrl_GetImageList, 2019).
+-define(wxTreeCtrl_GetIndent, 2020).
+-define(wxTreeCtrl_GetItemBackgroundColour, 2021).
+-define(wxTreeCtrl_GetItemData, 2022).
+-define(wxTreeCtrl_GetItemFont, 2023).
+-define(wxTreeCtrl_GetItemImage_1, 2024).
+-define(wxTreeCtrl_GetItemImage_2, 2025).
+-define(wxTreeCtrl_GetItemText, 2026).
+-define(wxTreeCtrl_GetItemTextColour, 2027).
+-define(wxTreeCtrl_GetLastChild, 2028).
+-define(wxTreeCtrl_GetNextSibling, 2029).
+-define(wxTreeCtrl_GetNextVisible, 2030).
+-define(wxTreeCtrl_GetItemParent, 2031).
+-define(wxTreeCtrl_GetPrevSibling, 2032).
+-define(wxTreeCtrl_GetPrevVisible, 2033).
+-define(wxTreeCtrl_GetRootItem, 2034).
+-define(wxTreeCtrl_GetSelection, 2035).
+-define(wxTreeCtrl_GetSelections, 2036).
+-define(wxTreeCtrl_GetStateImageList, 2037).
+-define(wxTreeCtrl_HitTest, 2038).
+-define(wxTreeCtrl_InsertItem_4_1, 2039).
+-define(wxTreeCtrl_InsertItem_4_0, 2040).
+-define(wxTreeCtrl_IsBold, 2041).
+-define(wxTreeCtrl_IsExpanded, 2042).
+-define(wxTreeCtrl_IsSelected, 2043).
+-define(wxTreeCtrl_IsVisible, 2044).
+-define(wxTreeCtrl_ItemHasChildren, 2045).
+-define(wxTreeCtrl_PrependItem, 2046).
+-define(wxTreeCtrl_ScrollTo, 2047).
+-define(wxTreeCtrl_SelectItem_1, 2048).
+-define(wxTreeCtrl_SelectItem_2, 2049).
+-define(wxTreeCtrl_SetIndent, 2050).
+-define(wxTreeCtrl_SetImageList, 2051).
+-define(wxTreeCtrl_SetItemBackgroundColour, 2052).
+-define(wxTreeCtrl_SetItemBold, 2053).
+-define(wxTreeCtrl_SetItemData, 2054).
+-define(wxTreeCtrl_SetItemDropHighlight, 2055).
+-define(wxTreeCtrl_SetItemFont, 2056).
+-define(wxTreeCtrl_SetItemHasChildren, 2057).
+-define(wxTreeCtrl_SetItemImage_2, 2058).
+-define(wxTreeCtrl_SetItemImage_3, 2059).
+-define(wxTreeCtrl_SetItemText, 2060).
+-define(wxTreeCtrl_SetItemTextColour, 2061).
+-define(wxTreeCtrl_SetStateImageList, 2062).
+-define(wxTreeCtrl_SetWindowStyle, 2063).
+-define(wxTreeCtrl_SortChildren, 2064).
+-define(wxTreeCtrl_Toggle, 2065).
+-define(wxTreeCtrl_ToggleItemSelection, 2066).
+-define(wxTreeCtrl_Unselect, 2067).
+-define(wxTreeCtrl_UnselectAll, 2068).
+-define(wxTreeCtrl_UnselectItem, 2069).
+-define(wxScrollBar_new_0, 2070).
+-define(wxScrollBar_new_3, 2071).
+-define(wxScrollBar_destruct, 2072).
+-define(wxScrollBar_Create, 2073).
+-define(wxScrollBar_GetRange, 2074).
+-define(wxScrollBar_GetPageSize, 2075).
+-define(wxScrollBar_GetThumbPosition, 2076).
+-define(wxScrollBar_GetThumbSize, 2077).
+-define(wxScrollBar_SetThumbPosition, 2078).
+-define(wxScrollBar_SetScrollbar, 2079).
+-define(wxSpinButton_new_2, 2081).
+-define(wxSpinButton_new_0, 2082).
+-define(wxSpinButton_Create, 2083).
+-define(wxSpinButton_GetMax, 2084).
+-define(wxSpinButton_GetMin, 2085).
+-define(wxSpinButton_GetValue, 2086).
+-define(wxSpinButton_SetRange, 2087).
+-define(wxSpinButton_SetValue, 2088).
+-define(wxSpinButton_destroy, 2089).
+-define(wxSpinCtrl_new_0, 2090).
+-define(wxSpinCtrl_new_2, 2091).
+-define(wxSpinCtrl_Create, 2093).
+-define(wxSpinCtrl_SetValue_1_1, 2096).
+-define(wxSpinCtrl_SetValue_1_0, 2097).
+-define(wxSpinCtrl_GetValue, 2099).
+-define(wxSpinCtrl_SetRange, 2101).
+-define(wxSpinCtrl_SetSelection, 2102).
+-define(wxSpinCtrl_GetMin, 2104).
+-define(wxSpinCtrl_GetMax, 2106).
+-define(wxSpinCtrl_destroy, 2107).
+-define(wxStaticText_new_0, 2108).
+-define(wxStaticText_new_4, 2109).
+-define(wxStaticText_Create, 2110).
+-define(wxStaticText_GetLabel, 2111).
+-define(wxStaticText_SetLabel, 2112).
+-define(wxStaticText_Wrap, 2113).
+-define(wxStaticText_destroy, 2114).
+-define(wxStaticBitmap_new_0, 2115).
+-define(wxStaticBitmap_new_4, 2116).
+-define(wxStaticBitmap_Create, 2117).
+-define(wxStaticBitmap_GetBitmap, 2118).
+-define(wxStaticBitmap_SetBitmap, 2119).
+-define(wxStaticBitmap_destroy, 2120).
+-define(wxRadioBox_new, 2121).
+-define(wxRadioBox_destruct, 2123).
+-define(wxRadioBox_Create, 2124).
+-define(wxRadioBox_Enable_2, 2125).
+-define(wxRadioBox_Enable_1, 2126).
+-define(wxRadioBox_GetSelection, 2127).
+-define(wxRadioBox_GetString, 2128).
+-define(wxRadioBox_SetSelection, 2129).
+-define(wxRadioBox_Show_2, 2130).
+-define(wxRadioBox_Show_1, 2131).
+-define(wxRadioBox_GetColumnCount, 2132).
+-define(wxRadioBox_GetItemHelpText, 2133).
+-define(wxRadioBox_GetItemToolTip, 2134).
+-define(wxRadioBox_GetItemFromPoint, 2136).
+-define(wxRadioBox_GetRowCount, 2137).
+-define(wxRadioBox_IsItemEnabled, 2138).
+-define(wxRadioBox_IsItemShown, 2139).
+-define(wxRadioBox_SetItemHelpText, 2140).
+-define(wxRadioBox_SetItemToolTip, 2141).
+-define(wxRadioButton_new_0, 2142).
+-define(wxRadioButton_new_4, 2143).
+-define(wxRadioButton_Create, 2144).
+-define(wxRadioButton_GetValue, 2145).
+-define(wxRadioButton_SetValue, 2146).
+-define(wxRadioButton_destroy, 2147).
+-define(wxSlider_new_6, 2149).
+-define(wxSlider_new_0, 2150).
+-define(wxSlider_Create, 2151).
+-define(wxSlider_GetLineSize, 2152).
+-define(wxSlider_GetMax, 2153).
+-define(wxSlider_GetMin, 2154).
+-define(wxSlider_GetPageSize, 2155).
+-define(wxSlider_GetThumbLength, 2156).
+-define(wxSlider_GetValue, 2157).
+-define(wxSlider_SetLineSize, 2158).
+-define(wxSlider_SetPageSize, 2159).
+-define(wxSlider_SetRange, 2160).
+-define(wxSlider_SetThumbLength, 2161).
+-define(wxSlider_SetValue, 2162).
+-define(wxSlider_destroy, 2163).
+-define(wxDialog_new_4, 2165).
+-define(wxDialog_new_0, 2166).
+-define(wxDialog_destruct, 2168).
+-define(wxDialog_Create, 2169).
+-define(wxDialog_CreateButtonSizer, 2170).
+-define(wxDialog_CreateStdDialogButtonSizer, 2171).
+-define(wxDialog_EndModal, 2172).
+-define(wxDialog_GetAffirmativeId, 2173).
+-define(wxDialog_GetReturnCode, 2174).
+-define(wxDialog_IsModal, 2175).
+-define(wxDialog_SetAffirmativeId, 2176).
+-define(wxDialog_SetReturnCode, 2177).
+-define(wxDialog_Show, 2178).
+-define(wxDialog_ShowModal, 2179).
+-define(wxColourDialog_new_0, 2180).
+-define(wxColourDialog_new_2, 2181).
+-define(wxColourDialog_destruct, 2182).
+-define(wxColourDialog_Create, 2183).
+-define(wxColourDialog_GetColourData, 2184).
+-define(wxColourData_new_0, 2185).
+-define(wxColourData_new_1, 2186).
+-define(wxColourData_destruct, 2187).
+-define(wxColourData_GetChooseFull, 2188).
+-define(wxColourData_GetColour, 2189).
+-define(wxColourData_GetCustomColour, 2191).
+-define(wxColourData_SetChooseFull, 2192).
+-define(wxColourData_SetColour, 2193).
+-define(wxColourData_SetCustomColour, 2194).
+-define(wxPalette_new_0, 2195).
+-define(wxPalette_new_4, 2196).
+-define(wxPalette_destruct, 2198).
+-define(wxPalette_Create, 2199).
+-define(wxPalette_GetColoursCount, 2200).
+-define(wxPalette_GetPixel, 2201).
+-define(wxPalette_GetRGB, 2202).
+-define(wxPalette_IsOk, 2203).
+-define(wxDirDialog_new, 2207).
+-define(wxDirDialog_destruct, 2208).
+-define(wxDirDialog_GetPath, 2209).
+-define(wxDirDialog_GetMessage, 2210).
+-define(wxDirDialog_SetMessage, 2211).
+-define(wxDirDialog_SetPath, 2212).
+-define(wxFileDialog_new, 2216).
+-define(wxFileDialog_destruct, 2217).
+-define(wxFileDialog_GetDirectory, 2218).
+-define(wxFileDialog_GetFilename, 2219).
+-define(wxFileDialog_GetFilenames, 2220).
+-define(wxFileDialog_GetFilterIndex, 2221).
+-define(wxFileDialog_GetMessage, 2222).
+-define(wxFileDialog_GetPath, 2223).
+-define(wxFileDialog_GetPaths, 2224).
+-define(wxFileDialog_GetWildcard, 2225).
+-define(wxFileDialog_SetDirectory, 2226).
+-define(wxFileDialog_SetFilename, 2227).
+-define(wxFileDialog_SetFilterIndex, 2228).
+-define(wxFileDialog_SetMessage, 2229).
+-define(wxFileDialog_SetPath, 2230).
+-define(wxFileDialog_SetWildcard, 2231).
+-define(wxPickerBase_SetInternalMargin, 2232).
+-define(wxPickerBase_GetInternalMargin, 2233).
+-define(wxPickerBase_SetTextCtrlProportion, 2234).
+-define(wxPickerBase_SetPickerCtrlProportion, 2235).
+-define(wxPickerBase_GetTextCtrlProportion, 2236).
+-define(wxPickerBase_GetPickerCtrlProportion, 2237).
+-define(wxPickerBase_HasTextCtrl, 2238).
+-define(wxPickerBase_GetTextCtrl, 2239).
+-define(wxPickerBase_IsTextCtrlGrowable, 2240).
+-define(wxPickerBase_SetPickerCtrlGrowable, 2241).
+-define(wxPickerBase_SetTextCtrlGrowable, 2242).
+-define(wxPickerBase_IsPickerCtrlGrowable, 2243).
+-define(wxFilePickerCtrl_new_0, 2244).
+-define(wxFilePickerCtrl_new_3, 2245).
+-define(wxFilePickerCtrl_Create, 2246).
+-define(wxFilePickerCtrl_GetPath, 2247).
+-define(wxFilePickerCtrl_SetPath, 2248).
+-define(wxFilePickerCtrl_destroy, 2249).
+-define(wxDirPickerCtrl_new_0, 2250).
+-define(wxDirPickerCtrl_new_3, 2251).
+-define(wxDirPickerCtrl_Create, 2252).
+-define(wxDirPickerCtrl_GetPath, 2253).
+-define(wxDirPickerCtrl_SetPath, 2254).
+-define(wxDirPickerCtrl_destroy, 2255).
+-define(wxColourPickerCtrl_new_0, 2256).
+-define(wxColourPickerCtrl_new_3, 2257).
+-define(wxColourPickerCtrl_Create, 2258).
+-define(wxColourPickerCtrl_GetColour, 2259).
+-define(wxColourPickerCtrl_SetColour_1_1, 2260).
+-define(wxColourPickerCtrl_SetColour_1_0, 2261).
+-define(wxColourPickerCtrl_destroy, 2262).
+-define(wxDatePickerCtrl_new_0, 2263).
+-define(wxDatePickerCtrl_new_3, 2264).
+-define(wxDatePickerCtrl_GetRange, 2265).
+-define(wxDatePickerCtrl_GetValue, 2266).
+-define(wxDatePickerCtrl_SetRange, 2267).
+-define(wxDatePickerCtrl_SetValue, 2268).
+-define(wxDatePickerCtrl_destroy, 2269).
+-define(wxFontPickerCtrl_new_0, 2270).
+-define(wxFontPickerCtrl_new_3, 2271).
+-define(wxFontPickerCtrl_Create, 2272).
+-define(wxFontPickerCtrl_GetSelectedFont, 2273).
+-define(wxFontPickerCtrl_SetSelectedFont, 2274).
+-define(wxFontPickerCtrl_GetMaxPointSize, 2275).
+-define(wxFontPickerCtrl_SetMaxPointSize, 2276).
+-define(wxFontPickerCtrl_destroy, 2277).
+-define(wxFindReplaceDialog_new_0, 2280).
+-define(wxFindReplaceDialog_new_4, 2281).
+-define(wxFindReplaceDialog_destruct, 2282).
+-define(wxFindReplaceDialog_Create, 2283).
+-define(wxFindReplaceDialog_GetData, 2284).
+-define(wxFindReplaceData_new_0, 2285).
+-define(wxFindReplaceData_new_1, 2286).
+-define(wxFindReplaceData_GetFindString, 2287).
+-define(wxFindReplaceData_GetReplaceString, 2288).
+-define(wxFindReplaceData_GetFlags, 2289).
+-define(wxFindReplaceData_SetFlags, 2290).
+-define(wxFindReplaceData_SetFindString, 2291).
+-define(wxFindReplaceData_SetReplaceString, 2292).
+-define(wxFindReplaceData_destroy, 2293).
+-define(wxMultiChoiceDialog_new_0, 2294).
+-define(wxMultiChoiceDialog_new_5, 2296).
+-define(wxMultiChoiceDialog_GetSelections, 2297).
+-define(wxMultiChoiceDialog_SetSelections, 2298).
+-define(wxMultiChoiceDialog_destroy, 2299).
+-define(wxSingleChoiceDialog_new_0, 2300).
+-define(wxSingleChoiceDialog_new_5, 2302).
+-define(wxSingleChoiceDialog_GetSelection, 2303).
+-define(wxSingleChoiceDialog_GetStringSelection, 2304).
+-define(wxSingleChoiceDialog_SetSelection, 2305).
+-define(wxSingleChoiceDialog_destroy, 2306).
+-define(wxTextEntryDialog_new, 2307).
+-define(wxTextEntryDialog_GetValue, 2308).
+-define(wxTextEntryDialog_SetValue, 2309).
+-define(wxTextEntryDialog_destroy, 2310).
+-define(wxPasswordEntryDialog_new, 2311).
+-define(wxPasswordEntryDialog_destroy, 2312).
+-define(wxFontData_new_0, 2313).
+-define(wxFontData_new_1, 2314).
+-define(wxFontData_destruct, 2315).
+-define(wxFontData_EnableEffects, 2316).
+-define(wxFontData_GetAllowSymbols, 2317).
+-define(wxFontData_GetColour, 2318).
+-define(wxFontData_GetChosenFont, 2319).
+-define(wxFontData_GetEnableEffects, 2320).
+-define(wxFontData_GetInitialFont, 2321).
+-define(wxFontData_GetShowHelp, 2322).
+-define(wxFontData_SetAllowSymbols, 2323).
+-define(wxFontData_SetChosenFont, 2324).
+-define(wxFontData_SetColour, 2325).
+-define(wxFontData_SetInitialFont, 2326).
+-define(wxFontData_SetRange, 2327).
+-define(wxFontData_SetShowHelp, 2328).
+-define(wxFontDialog_new_0, 2332).
+-define(wxFontDialog_new_2, 2334).
+-define(wxFontDialog_Create, 2336).
+-define(wxFontDialog_GetFontData, 2337).
+-define(wxFontDialog_destroy, 2339).
+-define(wxProgressDialog_new, 2340).
+-define(wxProgressDialog_destruct, 2341).
+-define(wxProgressDialog_Resume, 2342).
+-define(wxProgressDialog_Update_2, 2343).
+-define(wxProgressDialog_Update_0, 2344).
+-define(wxMessageDialog_new, 2345).
+-define(wxMessageDialog_destruct, 2346).
+-define(wxPageSetupDialog_new, 2347).
+-define(wxPageSetupDialog_destruct, 2348).
+-define(wxPageSetupDialog_GetPageSetupData, 2349).
+-define(wxPageSetupDialog_ShowModal, 2350).
+-define(wxPageSetupDialogData_new_0, 2351).
+-define(wxPageSetupDialogData_new_1_0, 2352).
+-define(wxPageSetupDialogData_new_1_1, 2353).
+-define(wxPageSetupDialogData_destruct, 2354).
+-define(wxPageSetupDialogData_EnableHelp, 2355).
+-define(wxPageSetupDialogData_EnableMargins, 2356).
+-define(wxPageSetupDialogData_EnableOrientation, 2357).
+-define(wxPageSetupDialogData_EnablePaper, 2358).
+-define(wxPageSetupDialogData_EnablePrinter, 2359).
+-define(wxPageSetupDialogData_GetDefaultMinMargins, 2360).
+-define(wxPageSetupDialogData_GetEnableMargins, 2361).
+-define(wxPageSetupDialogData_GetEnableOrientation, 2362).
+-define(wxPageSetupDialogData_GetEnablePaper, 2363).
+-define(wxPageSetupDialogData_GetEnablePrinter, 2364).
+-define(wxPageSetupDialogData_GetEnableHelp, 2365).
+-define(wxPageSetupDialogData_GetDefaultInfo, 2366).
+-define(wxPageSetupDialogData_GetMarginTopLeft, 2367).
+-define(wxPageSetupDialogData_GetMarginBottomRight, 2368).
+-define(wxPageSetupDialogData_GetMinMarginTopLeft, 2369).
+-define(wxPageSetupDialogData_GetMinMarginBottomRight, 2370).
+-define(wxPageSetupDialogData_GetPaperId, 2371).
+-define(wxPageSetupDialogData_GetPaperSize, 2372).
+-define(wxPageSetupDialogData_GetPrintData, 2374).
+-define(wxPageSetupDialogData_IsOk, 2375).
+-define(wxPageSetupDialogData_SetDefaultInfo, 2376).
+-define(wxPageSetupDialogData_SetDefaultMinMargins, 2377).
+-define(wxPageSetupDialogData_SetMarginTopLeft, 2378).
+-define(wxPageSetupDialogData_SetMarginBottomRight, 2379).
+-define(wxPageSetupDialogData_SetMinMarginTopLeft, 2380).
+-define(wxPageSetupDialogData_SetMinMarginBottomRight, 2381).
+-define(wxPageSetupDialogData_SetPaperId, 2382).
+-define(wxPageSetupDialogData_SetPaperSize_1_1, 2383).
+-define(wxPageSetupDialogData_SetPaperSize_1_0, 2384).
+-define(wxPageSetupDialogData_SetPrintData, 2385).
+-define(wxPrintDialog_new_2_0, 2386).
+-define(wxPrintDialog_new_2_1, 2387).
+-define(wxPrintDialog_destruct, 2388).
+-define(wxPrintDialog_GetPrintDialogData, 2389).
+-define(wxPrintDialog_GetPrintDC, 2390).
+-define(wxPrintDialogData_new_0, 2391).
+-define(wxPrintDialogData_new_1_1, 2392).
+-define(wxPrintDialogData_new_1_0, 2393).
+-define(wxPrintDialogData_destruct, 2394).
+-define(wxPrintDialogData_EnableHelp, 2395).
+-define(wxPrintDialogData_EnablePageNumbers, 2396).
+-define(wxPrintDialogData_EnablePrintToFile, 2397).
+-define(wxPrintDialogData_EnableSelection, 2398).
+-define(wxPrintDialogData_GetAllPages, 2399).
+-define(wxPrintDialogData_GetCollate, 2400).
+-define(wxPrintDialogData_GetFromPage, 2401).
+-define(wxPrintDialogData_GetMaxPage, 2402).
+-define(wxPrintDialogData_GetMinPage, 2403).
+-define(wxPrintDialogData_GetNoCopies, 2404).
+-define(wxPrintDialogData_GetPrintData, 2405).
+-define(wxPrintDialogData_GetPrintToFile, 2406).
+-define(wxPrintDialogData_GetSelection, 2407).
+-define(wxPrintDialogData_GetToPage, 2408).
+-define(wxPrintDialogData_IsOk, 2409).
+-define(wxPrintDialogData_SetCollate, 2410).
+-define(wxPrintDialogData_SetFromPage, 2411).
+-define(wxPrintDialogData_SetMaxPage, 2412).
+-define(wxPrintDialogData_SetMinPage, 2413).
+-define(wxPrintDialogData_SetNoCopies, 2414).
+-define(wxPrintDialogData_SetPrintData, 2415).
+-define(wxPrintDialogData_SetPrintToFile, 2416).
+-define(wxPrintDialogData_SetSelection, 2417).
+-define(wxPrintDialogData_SetToPage, 2418).
+-define(wxPrintData_new_0, 2419).
+-define(wxPrintData_new_1, 2420).
+-define(wxPrintData_destruct, 2421).
+-define(wxPrintData_GetCollate, 2422).
+-define(wxPrintData_GetBin, 2423).
+-define(wxPrintData_GetColour, 2424).
+-define(wxPrintData_GetDuplex, 2425).
+-define(wxPrintData_GetNoCopies, 2426).
+-define(wxPrintData_GetOrientation, 2427).
+-define(wxPrintData_GetPaperId, 2428).
+-define(wxPrintData_GetPrinterName, 2429).
+-define(wxPrintData_GetQuality, 2430).
+-define(wxPrintData_IsOk, 2431).
+-define(wxPrintData_SetBin, 2432).
+-define(wxPrintData_SetCollate, 2433).
+-define(wxPrintData_SetColour, 2434).
+-define(wxPrintData_SetDuplex, 2435).
+-define(wxPrintData_SetNoCopies, 2436).
+-define(wxPrintData_SetOrientation, 2437).
+-define(wxPrintData_SetPaperId, 2438).
+-define(wxPrintData_SetPrinterName, 2439).
+-define(wxPrintData_SetQuality, 2440).
+-define(wxPrintPreview_new_2, 2443).
+-define(wxPrintPreview_new_3, 2444).
+-define(wxPrintPreview_destruct, 2446).
+-define(wxPrintPreview_GetCanvas, 2447).
+-define(wxPrintPreview_GetCurrentPage, 2448).
+-define(wxPrintPreview_GetFrame, 2449).
+-define(wxPrintPreview_GetMaxPage, 2450).
+-define(wxPrintPreview_GetMinPage, 2451).
+-define(wxPrintPreview_GetPrintout, 2452).
+-define(wxPrintPreview_GetPrintoutForPrinting, 2453).
+-define(wxPrintPreview_IsOk, 2454).
+-define(wxPrintPreview_PaintPage, 2455).
+-define(wxPrintPreview_Print, 2456).
+-define(wxPrintPreview_RenderPage, 2457).
+-define(wxPrintPreview_SetCanvas, 2458).
+-define(wxPrintPreview_SetCurrentPage, 2459).
+-define(wxPrintPreview_SetFrame, 2460).
+-define(wxPrintPreview_SetPrintout, 2461).
+-define(wxPrintPreview_SetZoom, 2462).
+-define(wxPreviewFrame_new, 2463).
+-define(wxPreviewFrame_destruct, 2464).
+-define(wxPreviewFrame_CreateControlBar, 2465).
+-define(wxPreviewFrame_CreateCanvas, 2466).
+-define(wxPreviewFrame_Initialize, 2467).
+-define(wxPreviewFrame_OnCloseWindow, 2468).
+-define(wxPreviewControlBar_new, 2469).
+-define(wxPreviewControlBar_destruct, 2470).
+-define(wxPreviewControlBar_CreateButtons, 2471).
+-define(wxPreviewControlBar_GetPrintPreview, 2472).
+-define(wxPreviewControlBar_GetZoomControl, 2473).
+-define(wxPreviewControlBar_SetZoomControl, 2474).
+-define(wxPrinter_new, 2476).
+-define(wxPrinter_CreateAbortWindow, 2477).
+-define(wxPrinter_GetAbort, 2478).
+-define(wxPrinter_GetLastError, 2479).
+-define(wxPrinter_GetPrintDialogData, 2480).
+-define(wxPrinter_Print, 2481).
+-define(wxPrinter_PrintDialog, 2482).
+-define(wxPrinter_ReportError, 2483).
+-define(wxPrinter_Setup, 2484).
+-define(wxPrinter_destroy, 2485).
+-define(wxXmlResource_new_1, 2486).
+-define(wxXmlResource_new_2, 2487).
+-define(wxXmlResource_destruct, 2488).
+-define(wxXmlResource_AttachUnknownControl, 2489).
+-define(wxXmlResource_ClearHandlers, 2490).
+-define(wxXmlResource_CompareVersion, 2491).
+-define(wxXmlResource_Get, 2492).
+-define(wxXmlResource_GetFlags, 2493).
+-define(wxXmlResource_GetVersion, 2494).
+-define(wxXmlResource_GetXRCID, 2495).
+-define(wxXmlResource_InitAllHandlers, 2496).
+-define(wxXmlResource_Load, 2497).
+-define(wxXmlResource_LoadBitmap, 2498).
+-define(wxXmlResource_LoadDialog_2, 2499).
+-define(wxXmlResource_LoadDialog_3, 2500).
+-define(wxXmlResource_LoadFrame_2, 2501).
+-define(wxXmlResource_LoadFrame_3, 2502).
+-define(wxXmlResource_LoadIcon, 2503).
+-define(wxXmlResource_LoadMenu, 2504).
+-define(wxXmlResource_LoadMenuBar_2, 2505).
+-define(wxXmlResource_LoadMenuBar_1, 2506).
+-define(wxXmlResource_LoadPanel_2, 2507).
+-define(wxXmlResource_LoadPanel_3, 2508).
+-define(wxXmlResource_LoadToolBar, 2509).
+-define(wxXmlResource_Set, 2510).
+-define(wxXmlResource_SetFlags, 2511).
+-define(wxXmlResource_Unload, 2512).
+-define(wxXmlResource_xrcctrl, 2513).
+-define(wxHtmlEasyPrinting_new, 2514).
+-define(wxHtmlEasyPrinting_destruct, 2515).
+-define(wxHtmlEasyPrinting_GetPrintData, 2516).
+-define(wxHtmlEasyPrinting_GetPageSetupData, 2517).
+-define(wxHtmlEasyPrinting_PreviewFile, 2518).
+-define(wxHtmlEasyPrinting_PreviewText, 2519).
+-define(wxHtmlEasyPrinting_PrintFile, 2520).
+-define(wxHtmlEasyPrinting_PrintText, 2521).
+-define(wxHtmlEasyPrinting_PageSetup, 2522).
+-define(wxHtmlEasyPrinting_SetFonts, 2523).
+-define(wxHtmlEasyPrinting_SetHeader, 2524).
+-define(wxHtmlEasyPrinting_SetFooter, 2525).
+-define(wxGLCanvas_new_2, 2527).
+-define(wxGLCanvas_new_3_1, 2528).
+-define(wxGLCanvas_new_3_0, 2529).
+-define(wxGLCanvas_GetContext, 2530).
+-define(wxGLCanvas_SetCurrent, 2532).
+-define(wxGLCanvas_SwapBuffers, 2533).
+-define(wxGLCanvas_destroy, 2534).
+-define(wxAuiManager_new, 2535).
+-define(wxAuiManager_destruct, 2536).
+-define(wxAuiManager_AddPane_2_1, 2537).
+-define(wxAuiManager_AddPane_3, 2538).
+-define(wxAuiManager_AddPane_2_0, 2539).
+-define(wxAuiManager_DetachPane, 2540).
+-define(wxAuiManager_GetAllPanes, 2541).
+-define(wxAuiManager_GetArtProvider, 2542).
+-define(wxAuiManager_GetDockSizeConstraint, 2543).
+-define(wxAuiManager_GetFlags, 2544).
+-define(wxAuiManager_GetManagedWindow, 2545).
+-define(wxAuiManager_GetManager, 2546).
+-define(wxAuiManager_GetPane_1_1, 2547).
+-define(wxAuiManager_GetPane_1_0, 2548).
+-define(wxAuiManager_HideHint, 2549).
+-define(wxAuiManager_InsertPane, 2550).
+-define(wxAuiManager_LoadPaneInfo, 2551).
+-define(wxAuiManager_LoadPerspective, 2552).
+-define(wxAuiManager_SavePaneInfo, 2553).
+-define(wxAuiManager_SavePerspective, 2554).
+-define(wxAuiManager_SetArtProvider, 2555).
+-define(wxAuiManager_SetDockSizeConstraint, 2556).
+-define(wxAuiManager_SetFlags, 2557).
+-define(wxAuiManager_SetManagedWindow, 2558).
+-define(wxAuiManager_ShowHint, 2559).
+-define(wxAuiManager_UnInit, 2560).
+-define(wxAuiManager_Update, 2561).
+-define(wxAuiPaneInfo_new_0, 2562).
+-define(wxAuiPaneInfo_new_1, 2563).
+-define(wxAuiPaneInfo_destruct, 2564).
+-define(wxAuiPaneInfo_BestSize_1, 2565).
+-define(wxAuiPaneInfo_BestSize_2, 2566).
+-define(wxAuiPaneInfo_Bottom, 2567).
+-define(wxAuiPaneInfo_BottomDockable, 2568).
+-define(wxAuiPaneInfo_Caption, 2569).
+-define(wxAuiPaneInfo_CaptionVisible, 2570).
+-define(wxAuiPaneInfo_Centre, 2571).
+-define(wxAuiPaneInfo_CentrePane, 2572).
+-define(wxAuiPaneInfo_CloseButton, 2573).
+-define(wxAuiPaneInfo_DefaultPane, 2574).
+-define(wxAuiPaneInfo_DestroyOnClose, 2575).
+-define(wxAuiPaneInfo_Direction, 2576).
+-define(wxAuiPaneInfo_Dock, 2577).
+-define(wxAuiPaneInfo_Dockable, 2578).
+-define(wxAuiPaneInfo_Fixed, 2579).
+-define(wxAuiPaneInfo_Float, 2580).
+-define(wxAuiPaneInfo_Floatable, 2581).
+-define(wxAuiPaneInfo_FloatingPosition_1, 2582).
+-define(wxAuiPaneInfo_FloatingPosition_2, 2583).
+-define(wxAuiPaneInfo_FloatingSize_1, 2584).
+-define(wxAuiPaneInfo_FloatingSize_2, 2585).
+-define(wxAuiPaneInfo_Gripper, 2586).
+-define(wxAuiPaneInfo_GripperTop, 2587).
+-define(wxAuiPaneInfo_HasBorder, 2588).
+-define(wxAuiPaneInfo_HasCaption, 2589).
+-define(wxAuiPaneInfo_HasCloseButton, 2590).
+-define(wxAuiPaneInfo_HasFlag, 2591).
+-define(wxAuiPaneInfo_HasGripper, 2592).
+-define(wxAuiPaneInfo_HasGripperTop, 2593).
+-define(wxAuiPaneInfo_HasMaximizeButton, 2594).
+-define(wxAuiPaneInfo_HasMinimizeButton, 2595).
+-define(wxAuiPaneInfo_HasPinButton, 2596).
+-define(wxAuiPaneInfo_Hide, 2597).
+-define(wxAuiPaneInfo_IsBottomDockable, 2598).
+-define(wxAuiPaneInfo_IsDocked, 2599).
+-define(wxAuiPaneInfo_IsFixed, 2600).
+-define(wxAuiPaneInfo_IsFloatable, 2601).
+-define(wxAuiPaneInfo_IsFloating, 2602).
+-define(wxAuiPaneInfo_IsLeftDockable, 2603).
+-define(wxAuiPaneInfo_IsMovable, 2604).
+-define(wxAuiPaneInfo_IsOk, 2605).
+-define(wxAuiPaneInfo_IsResizable, 2606).
+-define(wxAuiPaneInfo_IsRightDockable, 2607).
+-define(wxAuiPaneInfo_IsShown, 2608).
+-define(wxAuiPaneInfo_IsToolbar, 2609).
+-define(wxAuiPaneInfo_IsTopDockable, 2610).
+-define(wxAuiPaneInfo_Layer, 2611).
+-define(wxAuiPaneInfo_Left, 2612).
+-define(wxAuiPaneInfo_LeftDockable, 2613).
+-define(wxAuiPaneInfo_MaxSize_1, 2614).
+-define(wxAuiPaneInfo_MaxSize_2, 2615).
+-define(wxAuiPaneInfo_MaximizeButton, 2616).
+-define(wxAuiPaneInfo_MinSize_1, 2617).
+-define(wxAuiPaneInfo_MinSize_2, 2618).
+-define(wxAuiPaneInfo_MinimizeButton, 2619).
+-define(wxAuiPaneInfo_Movable, 2620).
+-define(wxAuiPaneInfo_Name, 2621).
+-define(wxAuiPaneInfo_PaneBorder, 2622).
+-define(wxAuiPaneInfo_PinButton, 2623).
+-define(wxAuiPaneInfo_Position, 2624).
+-define(wxAuiPaneInfo_Resizable, 2625).
+-define(wxAuiPaneInfo_Right, 2626).
+-define(wxAuiPaneInfo_RightDockable, 2627).
+-define(wxAuiPaneInfo_Row, 2628).
+-define(wxAuiPaneInfo_SafeSet, 2629).
+-define(wxAuiPaneInfo_SetFlag, 2630).
+-define(wxAuiPaneInfo_Show, 2631).
+-define(wxAuiPaneInfo_ToolbarPane, 2632).
+-define(wxAuiPaneInfo_Top, 2633).
+-define(wxAuiPaneInfo_TopDockable, 2634).
+-define(wxAuiPaneInfo_Window, 2635).
+-define(wxAuiNotebook_new_0, 2636).
+-define(wxAuiNotebook_new_2, 2637).
+-define(wxAuiNotebook_AddPage, 2638).
+-define(wxAuiNotebook_Create, 2639).
+-define(wxAuiNotebook_DeletePage, 2640).
+-define(wxAuiNotebook_GetArtProvider, 2641).
+-define(wxAuiNotebook_GetPage, 2642).
+-define(wxAuiNotebook_GetPageBitmap, 2643).
+-define(wxAuiNotebook_GetPageCount, 2644).
+-define(wxAuiNotebook_GetPageIndex, 2645).
+-define(wxAuiNotebook_GetPageText, 2646).
+-define(wxAuiNotebook_GetSelection, 2647).
+-define(wxAuiNotebook_InsertPage, 2648).
+-define(wxAuiNotebook_RemovePage, 2649).
+-define(wxAuiNotebook_SetArtProvider, 2650).
+-define(wxAuiNotebook_SetFont, 2651).
+-define(wxAuiNotebook_SetPageBitmap, 2652).
+-define(wxAuiNotebook_SetPageText, 2653).
+-define(wxAuiNotebook_SetSelection, 2654).
+-define(wxAuiNotebook_SetTabCtrlHeight, 2655).
+-define(wxAuiNotebook_SetUniformBitmapSize, 2656).
+-define(wxAuiNotebook_destroy, 2657).
+-define(wxMDIParentFrame_new_0, 2658).
+-define(wxMDIParentFrame_new_4, 2659).
+-define(wxMDIParentFrame_destruct, 2660).
+-define(wxMDIParentFrame_ActivateNext, 2661).
+-define(wxMDIParentFrame_ActivatePrevious, 2662).
+-define(wxMDIParentFrame_ArrangeIcons, 2663).
+-define(wxMDIParentFrame_Cascade, 2664).
+-define(wxMDIParentFrame_Create, 2665).
+-define(wxMDIParentFrame_GetActiveChild, 2666).
+-define(wxMDIParentFrame_GetClientWindow, 2667).
+-define(wxMDIParentFrame_Tile, 2668).
+-define(wxMDIChildFrame_new_0, 2669).
+-define(wxMDIChildFrame_new_4, 2670).
+-define(wxMDIChildFrame_destruct, 2671).
+-define(wxMDIChildFrame_Activate, 2672).
+-define(wxMDIChildFrame_Create, 2673).
+-define(wxMDIChildFrame_Maximize, 2674).
+-define(wxMDIChildFrame_Restore, 2675).
+-define(wxMDIClientWindow_new_0, 2676).
+-define(wxMDIClientWindow_new_2, 2677).
+-define(wxMDIClientWindow_destruct, 2678).
+-define(wxMDIClientWindow_CreateClient, 2679).
+-define(wxLayoutAlgorithm_new, 2680).
+-define(wxLayoutAlgorithm_LayoutFrame, 2681).
+-define(wxLayoutAlgorithm_LayoutMDIFrame, 2682).
+-define(wxLayoutAlgorithm_LayoutWindow, 2683).
+-define(wxLayoutAlgorithm_destroy, 2684).
+-define(wxEvent_GetId, 2685).
+-define(wxEvent_GetSkipped, 2686).
+-define(wxEvent_GetTimestamp, 2687).
+-define(wxEvent_IsCommandEvent, 2688).
+-define(wxEvent_ResumePropagation, 2689).
+-define(wxEvent_ShouldPropagate, 2690).
+-define(wxEvent_Skip, 2691).
+-define(wxEvent_StopPropagation, 2692).
+-define(wxCommandEvent_getClientData, 2693).
+-define(wxCommandEvent_GetExtraLong, 2694).
+-define(wxCommandEvent_GetInt, 2695).
+-define(wxCommandEvent_GetSelection, 2696).
+-define(wxCommandEvent_GetString, 2697).
+-define(wxCommandEvent_IsChecked, 2698).
+-define(wxCommandEvent_IsSelection, 2699).
+-define(wxCommandEvent_SetInt, 2700).
+-define(wxCommandEvent_SetString, 2701).
+-define(wxScrollEvent_GetOrientation, 2702).
+-define(wxScrollEvent_GetPosition, 2703).
+-define(wxScrollWinEvent_GetOrientation, 2704).
+-define(wxScrollWinEvent_GetPosition, 2705).
+-define(wxMouseEvent_AltDown, 2706).
+-define(wxMouseEvent_Button, 2707).
+-define(wxMouseEvent_ButtonDClick, 2708).
+-define(wxMouseEvent_ButtonDown, 2709).
+-define(wxMouseEvent_ButtonUp, 2710).
+-define(wxMouseEvent_CmdDown, 2711).
+-define(wxMouseEvent_ControlDown, 2712).
+-define(wxMouseEvent_Dragging, 2713).
+-define(wxMouseEvent_Entering, 2714).
+-define(wxMouseEvent_GetButton, 2715).
+-define(wxMouseEvent_GetPosition, 2718).
+-define(wxMouseEvent_GetLogicalPosition, 2719).
+-define(wxMouseEvent_GetLinesPerAction, 2720).
+-define(wxMouseEvent_GetWheelRotation, 2721).
+-define(wxMouseEvent_GetWheelDelta, 2722).
+-define(wxMouseEvent_GetX, 2723).
+-define(wxMouseEvent_GetY, 2724).
+-define(wxMouseEvent_IsButton, 2725).
+-define(wxMouseEvent_IsPageScroll, 2726).
+-define(wxMouseEvent_Leaving, 2727).
+-define(wxMouseEvent_LeftDClick, 2728).
+-define(wxMouseEvent_LeftDown, 2729).
+-define(wxMouseEvent_LeftIsDown, 2730).
+-define(wxMouseEvent_LeftUp, 2731).
+-define(wxMouseEvent_MetaDown, 2732).
+-define(wxMouseEvent_MiddleDClick, 2733).
+-define(wxMouseEvent_MiddleDown, 2734).
+-define(wxMouseEvent_MiddleIsDown, 2735).
+-define(wxMouseEvent_MiddleUp, 2736).
+-define(wxMouseEvent_Moving, 2737).
+-define(wxMouseEvent_RightDClick, 2738).
+-define(wxMouseEvent_RightDown, 2739).
+-define(wxMouseEvent_RightIsDown, 2740).
+-define(wxMouseEvent_RightUp, 2741).
+-define(wxMouseEvent_ShiftDown, 2742).
+-define(wxSetCursorEvent_GetCursor, 2743).
+-define(wxSetCursorEvent_GetX, 2744).
+-define(wxSetCursorEvent_GetY, 2745).
+-define(wxSetCursorEvent_HasCursor, 2746).
+-define(wxSetCursorEvent_SetCursor, 2747).
+-define(wxKeyEvent_AltDown, 2748).
+-define(wxKeyEvent_CmdDown, 2749).
+-define(wxKeyEvent_ControlDown, 2750).
+-define(wxKeyEvent_GetKeyCode, 2751).
+-define(wxKeyEvent_GetModifiers, 2752).
+-define(wxKeyEvent_GetPosition, 2755).
+-define(wxKeyEvent_GetRawKeyCode, 2756).
+-define(wxKeyEvent_GetRawKeyFlags, 2757).
+-define(wxKeyEvent_GetUnicodeKey, 2758).
+-define(wxKeyEvent_GetX, 2759).
+-define(wxKeyEvent_GetY, 2760).
+-define(wxKeyEvent_HasModifiers, 2761).
+-define(wxKeyEvent_MetaDown, 2762).
+-define(wxKeyEvent_ShiftDown, 2763).
+-define(wxSizeEvent_GetSize, 2764).
+-define(wxMoveEvent_GetPosition, 2765).
+-define(wxEraseEvent_GetDC, 2766).
+-define(wxFocusEvent_GetWindow, 2767).
+-define(wxChildFocusEvent_GetWindow, 2768).
+-define(wxMenuEvent_GetMenu, 2769).
+-define(wxMenuEvent_GetMenuId, 2770).
+-define(wxMenuEvent_IsPopup, 2771).
+-define(wxCloseEvent_CanVeto, 2772).
+-define(wxCloseEvent_GetLoggingOff, 2773).
+-define(wxCloseEvent_SetCanVeto, 2774).
+-define(wxCloseEvent_SetLoggingOff, 2775).
+-define(wxCloseEvent_Veto, 2776).
+-define(wxShowEvent_SetShow, 2777).
+-define(wxShowEvent_GetShow, 2778).
+-define(wxIconizeEvent_Iconized, 2779).
+-define(wxJoystickEvent_ButtonDown, 2780).
+-define(wxJoystickEvent_ButtonIsDown, 2781).
+-define(wxJoystickEvent_ButtonUp, 2782).
+-define(wxJoystickEvent_GetButtonChange, 2783).
+-define(wxJoystickEvent_GetButtonState, 2784).
+-define(wxJoystickEvent_GetJoystick, 2785).
+-define(wxJoystickEvent_GetPosition, 2786).
+-define(wxJoystickEvent_GetZPosition, 2787).
+-define(wxJoystickEvent_IsButton, 2788).
+-define(wxJoystickEvent_IsMove, 2789).
+-define(wxJoystickEvent_IsZMove, 2790).
+-define(wxUpdateUIEvent_CanUpdate, 2791).
+-define(wxUpdateUIEvent_Check, 2792).
+-define(wxUpdateUIEvent_Enable, 2793).
+-define(wxUpdateUIEvent_Show, 2794).
+-define(wxUpdateUIEvent_GetChecked, 2795).
+-define(wxUpdateUIEvent_GetEnabled, 2796).
+-define(wxUpdateUIEvent_GetShown, 2797).
+-define(wxUpdateUIEvent_GetSetChecked, 2798).
+-define(wxUpdateUIEvent_GetSetEnabled, 2799).
+-define(wxUpdateUIEvent_GetSetShown, 2800).
+-define(wxUpdateUIEvent_GetSetText, 2801).
+-define(wxUpdateUIEvent_GetText, 2802).
+-define(wxUpdateUIEvent_GetMode, 2803).
+-define(wxUpdateUIEvent_GetUpdateInterval, 2804).
+-define(wxUpdateUIEvent_ResetUpdateTime, 2805).
+-define(wxUpdateUIEvent_SetMode, 2806).
+-define(wxUpdateUIEvent_SetText, 2807).
+-define(wxUpdateUIEvent_SetUpdateInterval, 2808).
+-define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2809).
+-define(wxPaletteChangedEvent_SetChangedWindow, 2810).
+-define(wxPaletteChangedEvent_GetChangedWindow, 2811).
+-define(wxQueryNewPaletteEvent_SetPaletteRealized, 2812).
+-define(wxQueryNewPaletteEvent_GetPaletteRealized, 2813).
+-define(wxNavigationKeyEvent_GetDirection, 2814).
+-define(wxNavigationKeyEvent_SetDirection, 2815).
+-define(wxNavigationKeyEvent_IsWindowChange, 2816).
+-define(wxNavigationKeyEvent_SetWindowChange, 2817).
+-define(wxNavigationKeyEvent_IsFromTab, 2818).
+-define(wxNavigationKeyEvent_SetFromTab, 2819).
+-define(wxNavigationKeyEvent_GetCurrentFocus, 2820).
+-define(wxNavigationKeyEvent_SetCurrentFocus, 2821).
+-define(wxHelpEvent_GetOrigin, 2822).
+-define(wxHelpEvent_GetPosition, 2823).
+-define(wxHelpEvent_SetOrigin, 2824).
+-define(wxHelpEvent_SetPosition, 2825).
+-define(wxContextMenuEvent_GetPosition, 2826).
+-define(wxContextMenuEvent_SetPosition, 2827).
+-define(wxIdleEvent_CanSend, 2828).
+-define(wxIdleEvent_GetMode, 2829).
+-define(wxIdleEvent_RequestMore, 2830).
+-define(wxIdleEvent_MoreRequested, 2831).
+-define(wxIdleEvent_SetMode, 2832).
+-define(wxGridEvent_AltDown, 2833).
+-define(wxGridEvent_ControlDown, 2834).
+-define(wxGridEvent_GetCol, 2835).
+-define(wxGridEvent_GetPosition, 2836).
+-define(wxGridEvent_GetRow, 2837).
+-define(wxGridEvent_MetaDown, 2838).
+-define(wxGridEvent_Selecting, 2839).
+-define(wxGridEvent_ShiftDown, 2840).
+-define(wxNotifyEvent_Allow, 2841).
+-define(wxNotifyEvent_IsAllowed, 2842).
+-define(wxNotifyEvent_Veto, 2843).
+-define(wxSashEvent_GetEdge, 2844).
+-define(wxSashEvent_GetDragRect, 2845).
+-define(wxSashEvent_GetDragStatus, 2846).
+-define(wxListEvent_GetCacheFrom, 2847).
+-define(wxListEvent_GetCacheTo, 2848).
+-define(wxListEvent_GetKeyCode, 2849).
+-define(wxListEvent_GetIndex, 2850).
+-define(wxListEvent_GetColumn, 2851).
+-define(wxListEvent_GetPoint, 2852).
+-define(wxListEvent_GetLabel, 2853).
+-define(wxListEvent_GetText, 2854).
+-define(wxListEvent_GetImage, 2855).
+-define(wxListEvent_GetData, 2856).
+-define(wxListEvent_GetMask, 2857).
+-define(wxListEvent_GetItem, 2858).
+-define(wxListEvent_IsEditCancelled, 2859).
+-define(wxDateEvent_GetDate, 2860).
+-define(wxCalendarEvent_GetWeekDay, 2861).
+-define(wxFileDirPickerEvent_GetPath, 2862).
+-define(wxColourPickerEvent_GetColour, 2863).
+-define(wxFontPickerEvent_GetFont, 2864).
+-define(wxStyledTextEvent_GetPosition, 2865).
+-define(wxStyledTextEvent_GetKey, 2866).
+-define(wxStyledTextEvent_GetModifiers, 2867).
+-define(wxStyledTextEvent_GetModificationType, 2868).
+-define(wxStyledTextEvent_GetText, 2869).
+-define(wxStyledTextEvent_GetLength, 2870).
+-define(wxStyledTextEvent_GetLinesAdded, 2871).
+-define(wxStyledTextEvent_GetLine, 2872).
+-define(wxStyledTextEvent_GetFoldLevelNow, 2873).
+-define(wxStyledTextEvent_GetFoldLevelPrev, 2874).
+-define(wxStyledTextEvent_GetMargin, 2875).
+-define(wxStyledTextEvent_GetMessage, 2876).
+-define(wxStyledTextEvent_GetWParam, 2877).
+-define(wxStyledTextEvent_GetLParam, 2878).
+-define(wxStyledTextEvent_GetListType, 2879).
+-define(wxStyledTextEvent_GetX, 2880).
+-define(wxStyledTextEvent_GetY, 2881).
+-define(wxStyledTextEvent_GetDragText, 2882).
+-define(wxStyledTextEvent_GetDragAllowMove, 2883).
+-define(wxStyledTextEvent_GetDragResult, 2884).
+-define(wxStyledTextEvent_GetShift, 2885).
+-define(wxStyledTextEvent_GetControl, 2886).
+-define(wxStyledTextEvent_GetAlt, 2887).
+-define(utils_wxGetKeyState, 2888).
+-define(utils_wxGetMousePosition, 2889).
+-define(utils_wxGetMouseState, 2890).
+-define(utils_wxSetDetectableAutoRepeat, 2891).
+-define(utils_wxBell, 2892).
+-define(utils_wxFindMenuItemId, 2893).
+-define(utils_wxGenericFindWindowAtPoint, 2894).
+-define(utils_wxFindWindowAtPoint, 2895).
+-define(utils_wxBeginBusyCursor, 2896).
+-define(utils_wxEndBusyCursor, 2897).
+-define(utils_wxIsBusy, 2898).
+-define(utils_wxShutdown, 2899).
+-define(utils_wxShell, 2900).
+-define(utils_wxLaunchDefaultBrowser, 2901).
+-define(utils_wxGetEmailAddress, 2902).
+-define(utils_wxGetUserId, 2903).
+-define(utils_wxGetHomeDir, 2904).
+-define(utils_wxNewId, 2905).
+-define(utils_wxRegisterId, 2906).
+-define(utils_wxGetCurrentId, 2907).
+-define(utils_wxGetOsDescription, 2908).
+-define(utils_wxIsPlatformLittleEndian, 2909).
+-define(utils_wxIsPlatform64Bit, 2910).
+-define(wxPrintout_new, 2911).
+-define(wxPrintout_destruct, 2912).
+-define(wxPrintout_GetDC, 2913).
+-define(wxPrintout_GetPageSizeMM, 2914).
+-define(wxPrintout_GetPageSizePixels, 2915).
+-define(wxPrintout_GetPaperRectPixels, 2916).
+-define(wxPrintout_GetPPIPrinter, 2917).
+-define(wxPrintout_GetPPIScreen, 2918).
+-define(wxPrintout_GetTitle, 2919).
+-define(wxPrintout_IsPreview, 2920).
+-define(wxPrintout_FitThisSizeToPaper, 2921).
+-define(wxPrintout_FitThisSizeToPage, 2922).
+-define(wxPrintout_FitThisSizeToPageMargins, 2923).
+-define(wxPrintout_MapScreenSizeToPaper, 2924).
+-define(wxPrintout_MapScreenSizeToPage, 2925).
+-define(wxPrintout_MapScreenSizeToPageMargins, 2926).
+-define(wxPrintout_MapScreenSizeToDevice, 2927).
+-define(wxPrintout_GetLogicalPaperRect, 2928).
+-define(wxPrintout_GetLogicalPageRect, 2929).
+-define(wxPrintout_GetLogicalPageMarginsRect, 2930).
+-define(wxPrintout_SetLogicalOrigin, 2931).
+-define(wxPrintout_OffsetLogicalOrigin, 2932).
+-define(wxStyledTextCtrl_new_2, 2933).
+-define(wxStyledTextCtrl_new_0, 2934).
+-define(wxStyledTextCtrl_destruct, 2935).
+-define(wxStyledTextCtrl_Create, 2936).
+-define(wxStyledTextCtrl_AddText, 2937).
+-define(wxStyledTextCtrl_AddStyledText, 2938).
+-define(wxStyledTextCtrl_InsertText, 2939).
+-define(wxStyledTextCtrl_ClearAll, 2940).
+-define(wxStyledTextCtrl_ClearDocumentStyle, 2941).
+-define(wxStyledTextCtrl_GetLength, 2942).
+-define(wxStyledTextCtrl_GetCharAt, 2943).
+-define(wxStyledTextCtrl_GetCurrentPos, 2944).
+-define(wxStyledTextCtrl_GetAnchor, 2945).
+-define(wxStyledTextCtrl_GetStyleAt, 2946).
+-define(wxStyledTextCtrl_Redo, 2947).
+-define(wxStyledTextCtrl_SetUndoCollection, 2948).
+-define(wxStyledTextCtrl_SelectAll, 2949).
+-define(wxStyledTextCtrl_SetSavePoint, 2950).
+-define(wxStyledTextCtrl_GetStyledText, 2951).
+-define(wxStyledTextCtrl_CanRedo, 2952).
+-define(wxStyledTextCtrl_MarkerLineFromHandle, 2953).
+-define(wxStyledTextCtrl_MarkerDeleteHandle, 2954).
+-define(wxStyledTextCtrl_GetUndoCollection, 2955).
+-define(wxStyledTextCtrl_GetViewWhiteSpace, 2956).
+-define(wxStyledTextCtrl_SetViewWhiteSpace, 2957).
+-define(wxStyledTextCtrl_PositionFromPoint, 2958).
+-define(wxStyledTextCtrl_PositionFromPointClose, 2959).
+-define(wxStyledTextCtrl_GotoLine, 2960).
+-define(wxStyledTextCtrl_GotoPos, 2961).
+-define(wxStyledTextCtrl_SetAnchor, 2962).
+-define(wxStyledTextCtrl_GetCurLine, 2963).
+-define(wxStyledTextCtrl_GetEndStyled, 2964).
+-define(wxStyledTextCtrl_ConvertEOLs, 2965).
+-define(wxStyledTextCtrl_GetEOLMode, 2966).
+-define(wxStyledTextCtrl_SetEOLMode, 2967).
+-define(wxStyledTextCtrl_StartStyling, 2968).
+-define(wxStyledTextCtrl_SetStyling, 2969).
+-define(wxStyledTextCtrl_GetBufferedDraw, 2970).
+-define(wxStyledTextCtrl_SetBufferedDraw, 2971).
+-define(wxStyledTextCtrl_SetTabWidth, 2972).
+-define(wxStyledTextCtrl_GetTabWidth, 2973).
+-define(wxStyledTextCtrl_SetCodePage, 2974).
+-define(wxStyledTextCtrl_MarkerDefine, 2975).
+-define(wxStyledTextCtrl_MarkerSetForeground, 2976).
+-define(wxStyledTextCtrl_MarkerSetBackground, 2977).
+-define(wxStyledTextCtrl_MarkerAdd, 2978).
+-define(wxStyledTextCtrl_MarkerDelete, 2979).
+-define(wxStyledTextCtrl_MarkerDeleteAll, 2980).
+-define(wxStyledTextCtrl_MarkerGet, 2981).
+-define(wxStyledTextCtrl_MarkerNext, 2982).
+-define(wxStyledTextCtrl_MarkerPrevious, 2983).
+-define(wxStyledTextCtrl_MarkerDefineBitmap, 2984).
+-define(wxStyledTextCtrl_MarkerAddSet, 2985).
+-define(wxStyledTextCtrl_MarkerSetAlpha, 2986).
+-define(wxStyledTextCtrl_SetMarginType, 2987).
+-define(wxStyledTextCtrl_GetMarginType, 2988).
+-define(wxStyledTextCtrl_SetMarginWidth, 2989).
+-define(wxStyledTextCtrl_GetMarginWidth, 2990).
+-define(wxStyledTextCtrl_SetMarginMask, 2991).
+-define(wxStyledTextCtrl_GetMarginMask, 2992).
+-define(wxStyledTextCtrl_SetMarginSensitive, 2993).
+-define(wxStyledTextCtrl_GetMarginSensitive, 2994).
+-define(wxStyledTextCtrl_StyleClearAll, 2995).
+-define(wxStyledTextCtrl_StyleSetForeground, 2996).
+-define(wxStyledTextCtrl_StyleSetBackground, 2997).
+-define(wxStyledTextCtrl_StyleSetBold, 2998).
+-define(wxStyledTextCtrl_StyleSetItalic, 2999).
+-define(wxStyledTextCtrl_StyleSetSize, 3000).
+-define(wxStyledTextCtrl_StyleSetFaceName, 3001).
+-define(wxStyledTextCtrl_StyleSetEOLFilled, 3002).
+-define(wxStyledTextCtrl_StyleResetDefault, 3003).
+-define(wxStyledTextCtrl_StyleSetUnderline, 3004).
+-define(wxStyledTextCtrl_StyleSetCase, 3005).
+-define(wxStyledTextCtrl_StyleSetHotSpot, 3006).
+-define(wxStyledTextCtrl_SetSelForeground, 3007).
+-define(wxStyledTextCtrl_SetSelBackground, 3008).
+-define(wxStyledTextCtrl_GetSelAlpha, 3009).
+-define(wxStyledTextCtrl_SetSelAlpha, 3010).
+-define(wxStyledTextCtrl_SetCaretForeground, 3011).
+-define(wxStyledTextCtrl_CmdKeyAssign, 3012).
+-define(wxStyledTextCtrl_CmdKeyClear, 3013).
+-define(wxStyledTextCtrl_CmdKeyClearAll, 3014).
+-define(wxStyledTextCtrl_SetStyleBytes, 3015).
+-define(wxStyledTextCtrl_StyleSetVisible, 3016).
+-define(wxStyledTextCtrl_GetCaretPeriod, 3017).
+-define(wxStyledTextCtrl_SetCaretPeriod, 3018).
+-define(wxStyledTextCtrl_SetWordChars, 3019).
+-define(wxStyledTextCtrl_BeginUndoAction, 3020).
+-define(wxStyledTextCtrl_EndUndoAction, 3021).
+-define(wxStyledTextCtrl_IndicatorSetStyle, 3022).
+-define(wxStyledTextCtrl_IndicatorGetStyle, 3023).
+-define(wxStyledTextCtrl_IndicatorSetForeground, 3024).
+-define(wxStyledTextCtrl_IndicatorGetForeground, 3025).
+-define(wxStyledTextCtrl_SetWhitespaceForeground, 3026).
+-define(wxStyledTextCtrl_SetWhitespaceBackground, 3027).
+-define(wxStyledTextCtrl_GetStyleBits, 3028).
+-define(wxStyledTextCtrl_SetLineState, 3029).
+-define(wxStyledTextCtrl_GetLineState, 3030).
+-define(wxStyledTextCtrl_GetMaxLineState, 3031).
+-define(wxStyledTextCtrl_GetCaretLineVisible, 3032).
+-define(wxStyledTextCtrl_SetCaretLineVisible, 3033).
+-define(wxStyledTextCtrl_GetCaretLineBackground, 3034).
+-define(wxStyledTextCtrl_SetCaretLineBackground, 3035).
+-define(wxStyledTextCtrl_AutoCompShow, 3036).
+-define(wxStyledTextCtrl_AutoCompCancel, 3037).
+-define(wxStyledTextCtrl_AutoCompActive, 3038).
+-define(wxStyledTextCtrl_AutoCompPosStart, 3039).
+-define(wxStyledTextCtrl_AutoCompComplete, 3040).
+-define(wxStyledTextCtrl_AutoCompStops, 3041).
+-define(wxStyledTextCtrl_AutoCompSetSeparator, 3042).
+-define(wxStyledTextCtrl_AutoCompGetSeparator, 3043).
+-define(wxStyledTextCtrl_AutoCompSelect, 3044).
+-define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3045).
+-define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3046).
+-define(wxStyledTextCtrl_AutoCompSetFillUps, 3047).
+-define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3048).
+-define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3049).
+-define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3050).
+-define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3051).
+-define(wxStyledTextCtrl_UserListShow, 3052).
+-define(wxStyledTextCtrl_AutoCompSetAutoHide, 3053).
+-define(wxStyledTextCtrl_AutoCompGetAutoHide, 3054).
+-define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3055).
+-define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3056).
+-define(wxStyledTextCtrl_RegisterImage, 3057).
+-define(wxStyledTextCtrl_ClearRegisteredImages, 3058).
+-define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3059).
+-define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3060).
+-define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3061).
+-define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3062).
+-define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3063).
+-define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3064).
+-define(wxStyledTextCtrl_SetIndent, 3065).
+-define(wxStyledTextCtrl_GetIndent, 3066).
+-define(wxStyledTextCtrl_SetUseTabs, 3067).
+-define(wxStyledTextCtrl_GetUseTabs, 3068).
+-define(wxStyledTextCtrl_SetLineIndentation, 3069).
+-define(wxStyledTextCtrl_GetLineIndentation, 3070).
+-define(wxStyledTextCtrl_GetLineIndentPosition, 3071).
+-define(wxStyledTextCtrl_GetColumn, 3072).
+-define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3073).
+-define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3074).
+-define(wxStyledTextCtrl_SetIndentationGuides, 3075).
+-define(wxStyledTextCtrl_GetIndentationGuides, 3076).
+-define(wxStyledTextCtrl_SetHighlightGuide, 3077).
+-define(wxStyledTextCtrl_GetHighlightGuide, 3078).
+-define(wxStyledTextCtrl_GetLineEndPosition, 3079).
+-define(wxStyledTextCtrl_GetCodePage, 3080).
+-define(wxStyledTextCtrl_GetCaretForeground, 3081).
+-define(wxStyledTextCtrl_GetReadOnly, 3082).
+-define(wxStyledTextCtrl_SetCurrentPos, 3083).
+-define(wxStyledTextCtrl_SetSelectionStart, 3084).
+-define(wxStyledTextCtrl_GetSelectionStart, 3085).
+-define(wxStyledTextCtrl_SetSelectionEnd, 3086).
+-define(wxStyledTextCtrl_GetSelectionEnd, 3087).
+-define(wxStyledTextCtrl_SetPrintMagnification, 3088).
+-define(wxStyledTextCtrl_GetPrintMagnification, 3089).
+-define(wxStyledTextCtrl_SetPrintColourMode, 3090).
+-define(wxStyledTextCtrl_GetPrintColourMode, 3091).
+-define(wxStyledTextCtrl_FindText, 3092).
+-define(wxStyledTextCtrl_FormatRange, 3093).
+-define(wxStyledTextCtrl_GetFirstVisibleLine, 3094).
+-define(wxStyledTextCtrl_GetLine, 3095).
+-define(wxStyledTextCtrl_GetLineCount, 3096).
+-define(wxStyledTextCtrl_SetMarginLeft, 3097).
+-define(wxStyledTextCtrl_GetMarginLeft, 3098).
+-define(wxStyledTextCtrl_SetMarginRight, 3099).
+-define(wxStyledTextCtrl_GetMarginRight, 3100).
+-define(wxStyledTextCtrl_GetModify, 3101).
+-define(wxStyledTextCtrl_SetSelection, 3102).
+-define(wxStyledTextCtrl_GetSelectedText, 3103).
+-define(wxStyledTextCtrl_GetTextRange, 3104).
+-define(wxStyledTextCtrl_HideSelection, 3105).
+-define(wxStyledTextCtrl_LineFromPosition, 3106).
+-define(wxStyledTextCtrl_PositionFromLine, 3107).
+-define(wxStyledTextCtrl_LineScroll, 3108).
+-define(wxStyledTextCtrl_EnsureCaretVisible, 3109).
+-define(wxStyledTextCtrl_ReplaceSelection, 3110).
+-define(wxStyledTextCtrl_SetReadOnly, 3111).
+-define(wxStyledTextCtrl_CanPaste, 3112).
+-define(wxStyledTextCtrl_CanUndo, 3113).
+-define(wxStyledTextCtrl_EmptyUndoBuffer, 3114).
+-define(wxStyledTextCtrl_Undo, 3115).
+-define(wxStyledTextCtrl_Cut, 3116).
+-define(wxStyledTextCtrl_Copy, 3117).
+-define(wxStyledTextCtrl_Paste, 3118).
+-define(wxStyledTextCtrl_Clear, 3119).
+-define(wxStyledTextCtrl_SetText, 3120).
+-define(wxStyledTextCtrl_GetText, 3121).
+-define(wxStyledTextCtrl_GetTextLength, 3122).
+-define(wxStyledTextCtrl_GetOvertype, 3123).
+-define(wxStyledTextCtrl_SetCaretWidth, 3124).
+-define(wxStyledTextCtrl_GetCaretWidth, 3125).
+-define(wxStyledTextCtrl_SetTargetStart, 3126).
+-define(wxStyledTextCtrl_GetTargetStart, 3127).
+-define(wxStyledTextCtrl_SetTargetEnd, 3128).
+-define(wxStyledTextCtrl_GetTargetEnd, 3129).
+-define(wxStyledTextCtrl_ReplaceTarget, 3130).
+-define(wxStyledTextCtrl_SearchInTarget, 3131).
+-define(wxStyledTextCtrl_SetSearchFlags, 3132).
+-define(wxStyledTextCtrl_GetSearchFlags, 3133).
+-define(wxStyledTextCtrl_CallTipShow, 3134).
+-define(wxStyledTextCtrl_CallTipCancel, 3135).
+-define(wxStyledTextCtrl_CallTipActive, 3136).
+-define(wxStyledTextCtrl_CallTipPosAtStart, 3137).
+-define(wxStyledTextCtrl_CallTipSetHighlight, 3138).
+-define(wxStyledTextCtrl_CallTipSetBackground, 3139).
+-define(wxStyledTextCtrl_CallTipSetForeground, 3140).
+-define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3141).
+-define(wxStyledTextCtrl_CallTipUseStyle, 3142).
+-define(wxStyledTextCtrl_VisibleFromDocLine, 3143).
+-define(wxStyledTextCtrl_DocLineFromVisible, 3144).
+-define(wxStyledTextCtrl_WrapCount, 3145).
+-define(wxStyledTextCtrl_SetFoldLevel, 3146).
+-define(wxStyledTextCtrl_GetFoldLevel, 3147).
+-define(wxStyledTextCtrl_GetLastChild, 3148).
+-define(wxStyledTextCtrl_GetFoldParent, 3149).
+-define(wxStyledTextCtrl_ShowLines, 3150).
+-define(wxStyledTextCtrl_HideLines, 3151).
+-define(wxStyledTextCtrl_GetLineVisible, 3152).
+-define(wxStyledTextCtrl_SetFoldExpanded, 3153).
+-define(wxStyledTextCtrl_GetFoldExpanded, 3154).
+-define(wxStyledTextCtrl_ToggleFold, 3155).
+-define(wxStyledTextCtrl_EnsureVisible, 3156).
+-define(wxStyledTextCtrl_SetFoldFlags, 3157).
+-define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3158).
+-define(wxStyledTextCtrl_SetTabIndents, 3159).
+-define(wxStyledTextCtrl_GetTabIndents, 3160).
+-define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3161).
+-define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3162).
+-define(wxStyledTextCtrl_SetMouseDwellTime, 3163).
+-define(wxStyledTextCtrl_GetMouseDwellTime, 3164).
+-define(wxStyledTextCtrl_WordStartPosition, 3165).
+-define(wxStyledTextCtrl_WordEndPosition, 3166).
+-define(wxStyledTextCtrl_SetWrapMode, 3167).
+-define(wxStyledTextCtrl_GetWrapMode, 3168).
+-define(wxStyledTextCtrl_SetWrapVisualFlags, 3169).
+-define(wxStyledTextCtrl_GetWrapVisualFlags, 3170).
+-define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3171).
+-define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3172).
+-define(wxStyledTextCtrl_SetWrapStartIndent, 3173).
+-define(wxStyledTextCtrl_GetWrapStartIndent, 3174).
+-define(wxStyledTextCtrl_SetLayoutCache, 3175).
+-define(wxStyledTextCtrl_GetLayoutCache, 3176).
+-define(wxStyledTextCtrl_SetScrollWidth, 3177).
+-define(wxStyledTextCtrl_GetScrollWidth, 3178).
+-define(wxStyledTextCtrl_TextWidth, 3179).
+-define(wxStyledTextCtrl_GetEndAtLastLine, 3180).
+-define(wxStyledTextCtrl_TextHeight, 3181).
+-define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3182).
+-define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3183).
+-define(wxStyledTextCtrl_AppendText, 3184).
+-define(wxStyledTextCtrl_GetTwoPhaseDraw, 3185).
+-define(wxStyledTextCtrl_SetTwoPhaseDraw, 3186).
+-define(wxStyledTextCtrl_TargetFromSelection, 3187).
+-define(wxStyledTextCtrl_LinesJoin, 3188).
+-define(wxStyledTextCtrl_LinesSplit, 3189).
+-define(wxStyledTextCtrl_SetFoldMarginColour, 3190).
+-define(wxStyledTextCtrl_SetFoldMarginHiColour, 3191).
+-define(wxStyledTextCtrl_LineDown, 3192).
+-define(wxStyledTextCtrl_LineDownExtend, 3193).
+-define(wxStyledTextCtrl_LineUp, 3194).
+-define(wxStyledTextCtrl_LineUpExtend, 3195).
+-define(wxStyledTextCtrl_CharLeft, 3196).
+-define(wxStyledTextCtrl_CharLeftExtend, 3197).
+-define(wxStyledTextCtrl_CharRight, 3198).
+-define(wxStyledTextCtrl_CharRightExtend, 3199).
+-define(wxStyledTextCtrl_WordLeft, 3200).
+-define(wxStyledTextCtrl_WordLeftExtend, 3201).
+-define(wxStyledTextCtrl_WordRight, 3202).
+-define(wxStyledTextCtrl_WordRightExtend, 3203).
+-define(wxStyledTextCtrl_Home, 3204).
+-define(wxStyledTextCtrl_HomeExtend, 3205).
+-define(wxStyledTextCtrl_LineEnd, 3206).
+-define(wxStyledTextCtrl_LineEndExtend, 3207).
+-define(wxStyledTextCtrl_DocumentStart, 3208).
+-define(wxStyledTextCtrl_DocumentStartExtend, 3209).
+-define(wxStyledTextCtrl_DocumentEnd, 3210).
+-define(wxStyledTextCtrl_DocumentEndExtend, 3211).
+-define(wxStyledTextCtrl_PageUp, 3212).
+-define(wxStyledTextCtrl_PageUpExtend, 3213).
+-define(wxStyledTextCtrl_PageDown, 3214).
+-define(wxStyledTextCtrl_PageDownExtend, 3215).
+-define(wxStyledTextCtrl_EditToggleOvertype, 3216).
+-define(wxStyledTextCtrl_Cancel, 3217).
+-define(wxStyledTextCtrl_DeleteBack, 3218).
+-define(wxStyledTextCtrl_Tab, 3219).
+-define(wxStyledTextCtrl_BackTab, 3220).
+-define(wxStyledTextCtrl_NewLine, 3221).
+-define(wxStyledTextCtrl_FormFeed, 3222).
+-define(wxStyledTextCtrl_VCHome, 3223).
+-define(wxStyledTextCtrl_VCHomeExtend, 3224).
+-define(wxStyledTextCtrl_ZoomIn, 3225).
+-define(wxStyledTextCtrl_ZoomOut, 3226).
+-define(wxStyledTextCtrl_DelWordLeft, 3227).
+-define(wxStyledTextCtrl_DelWordRight, 3228).
+-define(wxStyledTextCtrl_LineCut, 3229).
+-define(wxStyledTextCtrl_LineDelete, 3230).
+-define(wxStyledTextCtrl_LineTranspose, 3231).
+-define(wxStyledTextCtrl_LineDuplicate, 3232).
+-define(wxStyledTextCtrl_LowerCase, 3233).
+-define(wxStyledTextCtrl_UpperCase, 3234).
+-define(wxStyledTextCtrl_LineScrollDown, 3235).
+-define(wxStyledTextCtrl_LineScrollUp, 3236).
+-define(wxStyledTextCtrl_DeleteBackNotLine, 3237).
+-define(wxStyledTextCtrl_HomeDisplay, 3238).
+-define(wxStyledTextCtrl_HomeDisplayExtend, 3239).
+-define(wxStyledTextCtrl_LineEndDisplay, 3240).
+-define(wxStyledTextCtrl_LineEndDisplayExtend, 3241).
+-define(wxStyledTextCtrl_HomeWrapExtend, 3242).
+-define(wxStyledTextCtrl_LineEndWrap, 3243).
+-define(wxStyledTextCtrl_LineEndWrapExtend, 3244).
+-define(wxStyledTextCtrl_VCHomeWrap, 3245).
+-define(wxStyledTextCtrl_VCHomeWrapExtend, 3246).
+-define(wxStyledTextCtrl_LineCopy, 3247).
+-define(wxStyledTextCtrl_MoveCaretInsideView, 3248).
+-define(wxStyledTextCtrl_LineLength, 3249).
+-define(wxStyledTextCtrl_BraceHighlight, 3250).
+-define(wxStyledTextCtrl_BraceBadLight, 3251).
+-define(wxStyledTextCtrl_BraceMatch, 3252).
+-define(wxStyledTextCtrl_GetViewEOL, 3253).
+-define(wxStyledTextCtrl_SetViewEOL, 3254).
+-define(wxStyledTextCtrl_SetModEventMask, 3255).
+-define(wxStyledTextCtrl_GetEdgeColumn, 3256).
+-define(wxStyledTextCtrl_SetEdgeColumn, 3257).
+-define(wxStyledTextCtrl_GetEdgeMode, 3258).
+-define(wxStyledTextCtrl_GetEdgeColour, 3259).
+-define(wxStyledTextCtrl_SetEdgeColour, 3260).
+-define(wxStyledTextCtrl_SearchAnchor, 3261).
+-define(wxStyledTextCtrl_SearchNext, 3262).
+-define(wxStyledTextCtrl_SearchPrev, 3263).
+-define(wxStyledTextCtrl_LinesOnScreen, 3264).
+-define(wxStyledTextCtrl_UsePopUp, 3265).
+-define(wxStyledTextCtrl_SelectionIsRectangle, 3266).
+-define(wxStyledTextCtrl_SetZoom, 3267).
+-define(wxStyledTextCtrl_GetZoom, 3268).
+-define(wxStyledTextCtrl_GetModEventMask, 3269).
+-define(wxStyledTextCtrl_SetSTCFocus, 3270).
+-define(wxStyledTextCtrl_GetSTCFocus, 3271).
+-define(wxStyledTextCtrl_SetStatus, 3272).
+-define(wxStyledTextCtrl_GetStatus, 3273).
+-define(wxStyledTextCtrl_SetMouseDownCaptures, 3274).
+-define(wxStyledTextCtrl_GetMouseDownCaptures, 3275).
+-define(wxStyledTextCtrl_SetSTCCursor, 3276).
+-define(wxStyledTextCtrl_GetSTCCursor, 3277).
+-define(wxStyledTextCtrl_SetControlCharSymbol, 3278).
+-define(wxStyledTextCtrl_GetControlCharSymbol, 3279).
+-define(wxStyledTextCtrl_WordPartLeft, 3280).
+-define(wxStyledTextCtrl_WordPartLeftExtend, 3281).
+-define(wxStyledTextCtrl_WordPartRight, 3282).
+-define(wxStyledTextCtrl_WordPartRightExtend, 3283).
+-define(wxStyledTextCtrl_SetVisiblePolicy, 3284).
+-define(wxStyledTextCtrl_DelLineLeft, 3285).
+-define(wxStyledTextCtrl_DelLineRight, 3286).
+-define(wxStyledTextCtrl_GetXOffset, 3287).
+-define(wxStyledTextCtrl_ChooseCaretX, 3288).
+-define(wxStyledTextCtrl_SetXCaretPolicy, 3289).
+-define(wxStyledTextCtrl_SetYCaretPolicy, 3290).
+-define(wxStyledTextCtrl_GetPrintWrapMode, 3291).
+-define(wxStyledTextCtrl_SetHotspotActiveForeground, 3292).
+-define(wxStyledTextCtrl_SetHotspotActiveBackground, 3293).
+-define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3294).
+-define(wxStyledTextCtrl_SetHotspotSingleLine, 3295).
+-define(wxStyledTextCtrl_ParaDownExtend, 3296).
+-define(wxStyledTextCtrl_ParaUp, 3297).
+-define(wxStyledTextCtrl_ParaUpExtend, 3298).
+-define(wxStyledTextCtrl_PositionBefore, 3299).
+-define(wxStyledTextCtrl_PositionAfter, 3300).
+-define(wxStyledTextCtrl_CopyRange, 3301).
+-define(wxStyledTextCtrl_CopyText, 3302).
+-define(wxStyledTextCtrl_SetSelectionMode, 3303).
+-define(wxStyledTextCtrl_GetSelectionMode, 3304).
+-define(wxStyledTextCtrl_LineDownRectExtend, 3305).
+-define(wxStyledTextCtrl_LineUpRectExtend, 3306).
+-define(wxStyledTextCtrl_CharLeftRectExtend, 3307).
+-define(wxStyledTextCtrl_CharRightRectExtend, 3308).
+-define(wxStyledTextCtrl_HomeRectExtend, 3309).
+-define(wxStyledTextCtrl_VCHomeRectExtend, 3310).
+-define(wxStyledTextCtrl_LineEndRectExtend, 3311).
+-define(wxStyledTextCtrl_PageUpRectExtend, 3312).
+-define(wxStyledTextCtrl_PageDownRectExtend, 3313).
+-define(wxStyledTextCtrl_StutteredPageUp, 3314).
+-define(wxStyledTextCtrl_StutteredPageUpExtend, 3315).
+-define(wxStyledTextCtrl_StutteredPageDown, 3316).
+-define(wxStyledTextCtrl_StutteredPageDownExtend, 3317).
+-define(wxStyledTextCtrl_WordLeftEnd, 3318).
+-define(wxStyledTextCtrl_WordLeftEndExtend, 3319).
+-define(wxStyledTextCtrl_WordRightEnd, 3320).
+-define(wxStyledTextCtrl_WordRightEndExtend, 3321).
+-define(wxStyledTextCtrl_SetWhitespaceChars, 3322).
+-define(wxStyledTextCtrl_SetCharsDefault, 3323).
+-define(wxStyledTextCtrl_AutoCompGetCurrent, 3324).
+-define(wxStyledTextCtrl_Allocate, 3325).
+-define(wxStyledTextCtrl_FindColumn, 3326).
+-define(wxStyledTextCtrl_GetCaretSticky, 3327).
+-define(wxStyledTextCtrl_SetCaretSticky, 3328).
+-define(wxStyledTextCtrl_ToggleCaretSticky, 3329).
+-define(wxStyledTextCtrl_SetPasteConvertEndings, 3330).
+-define(wxStyledTextCtrl_GetPasteConvertEndings, 3331).
+-define(wxStyledTextCtrl_SelectionDuplicate, 3332).
+-define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3333).
+-define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3334).
+-define(wxStyledTextCtrl_StartRecord, 3335).
+-define(wxStyledTextCtrl_StopRecord, 3336).
+-define(wxStyledTextCtrl_SetLexer, 3337).
+-define(wxStyledTextCtrl_GetLexer, 3338).
+-define(wxStyledTextCtrl_Colourise, 3339).
+-define(wxStyledTextCtrl_SetProperty, 3340).
+-define(wxStyledTextCtrl_SetKeyWords, 3341).
+-define(wxStyledTextCtrl_SetLexerLanguage, 3342).
+-define(wxStyledTextCtrl_GetProperty, 3343).
+-define(wxStyledTextCtrl_GetStyleBitsNeeded, 3344).
+-define(wxStyledTextCtrl_GetCurrentLine, 3345).
+-define(wxStyledTextCtrl_StyleSetSpec, 3346).
+-define(wxStyledTextCtrl_StyleSetFont, 3347).
+-define(wxStyledTextCtrl_StyleSetFontAttr, 3348).
+-define(wxStyledTextCtrl_StyleSetCharacterSet, 3349).
+-define(wxStyledTextCtrl_StyleSetFontEncoding, 3350).
+-define(wxStyledTextCtrl_CmdKeyExecute, 3351).
+-define(wxStyledTextCtrl_SetMargins, 3352).
+-define(wxStyledTextCtrl_GetSelection, 3353).
+-define(wxStyledTextCtrl_PointFromPosition, 3354).
+-define(wxStyledTextCtrl_ScrollToLine, 3355).
+-define(wxStyledTextCtrl_ScrollToColumn, 3356).
+-define(wxStyledTextCtrl_SendMsg, 3357).
+-define(wxStyledTextCtrl_SetVScrollBar, 3358).
+-define(wxStyledTextCtrl_SetHScrollBar, 3359).
+-define(wxStyledTextCtrl_GetLastKeydownProcessed, 3360).
+-define(wxStyledTextCtrl_SetLastKeydownProcessed, 3361).
+-define(wxStyledTextCtrl_SaveFile, 3362).
+-define(wxStyledTextCtrl_LoadFile, 3363).
+-define(wxStyledTextCtrl_DoDragOver, 3364).
+-define(wxStyledTextCtrl_DoDropText, 3365).
+-define(wxStyledTextCtrl_GetUseAntiAliasing, 3366).
+-define(wxStyledTextCtrl_AddTextRaw, 3367).
+-define(wxStyledTextCtrl_InsertTextRaw, 3368).
+-define(wxStyledTextCtrl_GetCurLineRaw, 3369).
+-define(wxStyledTextCtrl_GetLineRaw, 3370).
+-define(wxStyledTextCtrl_GetSelectedTextRaw, 3371).
+-define(wxStyledTextCtrl_GetTextRangeRaw, 3372).
+-define(wxStyledTextCtrl_SetTextRaw, 3373).
+-define(wxStyledTextCtrl_GetTextRaw, 3374).
+-define(wxStyledTextCtrl_AppendTextRaw, 3375).
+-define(wxArtProvider_GetBitmap, 3376).
+-define(wxArtProvider_GetIcon, 3377).
+-define(wxTreeEvent_GetKeyCode, 3378).
+-define(wxTreeEvent_GetItem, 3379).
+-define(wxTreeEvent_GetKeyEvent, 3380).
+-define(wxTreeEvent_GetLabel, 3381).
+-define(wxTreeEvent_GetOldItem, 3382).
+-define(wxTreeEvent_GetPoint, 3383).
+-define(wxTreeEvent_IsEditCancelled, 3384).
+-define(wxTreeEvent_SetToolTip, 3385).
+-define(wxNotebookEvent_GetOldSelection, 3386).
+-define(wxNotebookEvent_GetSelection, 3387).
+-define(wxNotebookEvent_SetOldSelection, 3388).
+-define(wxNotebookEvent_SetSelection, 3389).
+-define(wxFileDataObject_new, 3390).
+-define(wxFileDataObject_AddFile, 3391).
+-define(wxFileDataObject_GetFilenames, 3392).
+-define(wxFileDataObject_destroy, 3393).
+-define(wxTextDataObject_new, 3394).
+-define(wxTextDataObject_GetTextLength, 3395).
+-define(wxTextDataObject_GetText, 3396).
+-define(wxTextDataObject_SetText, 3397).
+-define(wxTextDataObject_destroy, 3398).
+-define(wxBitmapDataObject_new_1_1, 3399).
+-define(wxBitmapDataObject_new_1_0, 3400).
+-define(wxBitmapDataObject_GetBitmap, 3401).
+-define(wxBitmapDataObject_SetBitmap, 3402).
+-define(wxBitmapDataObject_destroy, 3403).
+-define(wxClipboard_new, 3405).
+-define(wxClipboard_destruct, 3406).
+-define(wxClipboard_AddData, 3407).
+-define(wxClipboard_Clear, 3408).
+-define(wxClipboard_Close, 3409).
+-define(wxClipboard_Flush, 3410).
+-define(wxClipboard_GetData, 3411).
+-define(wxClipboard_IsOpened, 3412).
+-define(wxClipboard_Open, 3413).
+-define(wxClipboard_SetData, 3414).
+-define(wxClipboard_UsePrimarySelection, 3416).
+-define(wxClipboard_IsSupported, 3417).
+-define(wxClipboard_Get, 3418).
+-define(wxSpinEvent_GetPosition, 3419).
+-define(wxSpinEvent_SetPosition, 3420).
+-define(wxSplitterWindow_new_0, 3421).
+-define(wxSplitterWindow_new_2, 3422).
+-define(wxSplitterWindow_destruct, 3423).
+-define(wxSplitterWindow_Create, 3424).
+-define(wxSplitterWindow_GetMinimumPaneSize, 3425).
+-define(wxSplitterWindow_GetSashGravity, 3426).
+-define(wxSplitterWindow_GetSashPosition, 3427).
+-define(wxSplitterWindow_GetSplitMode, 3428).
+-define(wxSplitterWindow_GetWindow1, 3429).
+-define(wxSplitterWindow_GetWindow2, 3430).
+-define(wxSplitterWindow_Initialize, 3431).
+-define(wxSplitterWindow_IsSplit, 3432).
+-define(wxSplitterWindow_ReplaceWindow, 3433).
+-define(wxSplitterWindow_SetSashGravity, 3434).
+-define(wxSplitterWindow_SetSashPosition, 3435).
+-define(wxSplitterWindow_SetSashSize, 3436).
+-define(wxSplitterWindow_SetMinimumPaneSize, 3437).
+-define(wxSplitterWindow_SetSplitMode, 3438).
+-define(wxSplitterWindow_SplitHorizontally, 3439).
+-define(wxSplitterWindow_SplitVertically, 3440).
+-define(wxSplitterWindow_Unsplit, 3441).
+-define(wxSplitterWindow_UpdateSize, 3442).
+-define(wxSplitterEvent_GetSashPosition, 3443).
+-define(wxSplitterEvent_GetX, 3444).
+-define(wxSplitterEvent_GetY, 3445).
+-define(wxSplitterEvent_GetWindowBeingRemoved, 3446).
+-define(wxSplitterEvent_SetSashPosition, 3447).
+-define(wxHtmlWindow_new_0, 3448).
+-define(wxHtmlWindow_new_2, 3449).
+-define(wxHtmlWindow_AppendToPage, 3450).
+-define(wxHtmlWindow_GetOpenedAnchor, 3451).
+-define(wxHtmlWindow_GetOpenedPage, 3452).
+-define(wxHtmlWindow_GetOpenedPageTitle, 3453).
+-define(wxHtmlWindow_GetRelatedFrame, 3454).
+-define(wxHtmlWindow_HistoryBack, 3455).
+-define(wxHtmlWindow_HistoryCanBack, 3456).
+-define(wxHtmlWindow_HistoryCanForward, 3457).
+-define(wxHtmlWindow_HistoryClear, 3458).
+-define(wxHtmlWindow_HistoryForward, 3459).
+-define(wxHtmlWindow_LoadFile, 3460).
+-define(wxHtmlWindow_LoadPage, 3461).
+-define(wxHtmlWindow_SelectAll, 3462).
+-define(wxHtmlWindow_SelectionToText, 3463).
+-define(wxHtmlWindow_SelectLine, 3464).
+-define(wxHtmlWindow_SelectWord, 3465).
+-define(wxHtmlWindow_SetBorders, 3466).
+-define(wxHtmlWindow_SetFonts, 3467).
+-define(wxHtmlWindow_SetPage, 3468).
+-define(wxHtmlWindow_SetRelatedFrame, 3469).
+-define(wxHtmlWindow_SetRelatedStatusBar, 3470).
+-define(wxHtmlWindow_ToText, 3471).
+-define(wxHtmlWindow_destroy, 3472).
+-define(wxHtmlLinkEvent_GetLinkInfo, 3473).
+-define(wxAuiNotebookEvent_SetSelection, 3474).
+-define(wxAuiNotebookEvent_GetSelection, 3475).
+-define(wxAuiNotebookEvent_SetOldSelection, 3476).
+-define(wxAuiNotebookEvent_GetOldSelection, 3477).
+-define(wxAuiNotebookEvent_SetDragSource, 3478).
+-define(wxAuiNotebookEvent_GetDragSource, 3479).
+-define(wxAuiManagerEvent_SetManager, 3480).
+-define(wxAuiManagerEvent_GetManager, 3481).
+-define(wxAuiManagerEvent_SetPane, 3482).
+-define(wxAuiManagerEvent_GetPane, 3483).
+-define(wxAuiManagerEvent_SetButton, 3484).
+-define(wxAuiManagerEvent_GetButton, 3485).
+-define(wxAuiManagerEvent_SetDC, 3486).
+-define(wxAuiManagerEvent_GetDC, 3487).
+-define(wxAuiManagerEvent_Veto, 3488).
+-define(wxAuiManagerEvent_GetVeto, 3489).
+-define(wxAuiManagerEvent_SetCanVeto, 3490).
+-define(wxAuiManagerEvent_CanVeto, 3491).
+-define(wxLogNull_new, 3492).
+-define(wxLogNull_destroy, 3493).