wxLua 2.8.7.0 Reference Manual for wxWidgets 2.8.7

Classes

Class Name In wxWidgets Manual Wrapped by wxLua Notes
wxANIHandler   X  
wxAboutDialogInfo X X  
wxAcceleratorEntry X X  
wxAcceleratorTable X X  
wxAccessible X   MS Windows only and disabled by default in wxWidgets
wxActivateEvent X X  
wxActiveXContainer X    
wxActiveXEvent X    
wxAnimation X X  
wxAnimationCtrl X X  
wxApp X X  
wxAppTraits X   Most functions are available elsewhere
wxArchiveClassFactory X    
wxArchiveEntry X    
wxArchiveFSHandler   X  
wxArchiveInputStream X    
wxArchiveIterator X    
wxArchiveNotifier X    
wxArchiveOutputStream X    
wxArray X   Not a real class, see implementations (wxArrayInt)
wxArrayInt   X Interchangeable with a numeric indexed Lua table
wxArrayString X X Interchangeable with a numeric indexed Lua table
wxArrayVideoModes   X  
wxArtProvider X X  
wxAuiDefaultDockArt   X  
wxAuiDefaultTabArt   X  
wxAuiDockArt X X  
wxAuiDockInfo   X  
wxAuiDockUIPart   X  
wxAuiFloatingFrame   X  
wxAuiMDIChildFrame   X  
wxAuiMDIClientWindow   X  
wxAuiMDIParentFrame   X  
wxAuiManager X X  
wxAuiManagerEvent   X  
wxAuiNotebook X X  
wxAuiNotebookEvent   X  
wxAuiNotebookPage   X  
wxAuiNotebookPageArray   X  
wxAuiPaneButton   X  
wxAuiPaneInfo X X  
wxAuiPaneInfoArray   X  
wxAuiSimpleTabArt   X  
wxAuiTabArt X X  
wxAuiTabContainerButton   X  
wxAuiTabCtrl   X  
wxAutoBufferedPaintDC X X  
wxAutomationObject X    
wxBMPHandler   X  
wxBestHelpController   X  
wxBitmap X X  
wxBitmapButton X X  
wxBitmapComboBox X X  
wxBitmapDataObject X X  
wxBitmapHandler X   Base class for bitmap loaders, not needed
wxBookCtrlBase   X  
wxBookCtrlBaseEvent   X  
wxBoxSizer X X  
wxBrush X X  
wxBrushList X X  
wxBufferedDC X X  
wxBufferedInputStream X    
wxBufferedOutputStream X    
wxBufferedPaintDC X X  
wxBusyCursor X X  
wxBusyInfo X X  
wxButton X X  
wxCSConv X   Lua uses ANSI 8-bit strings
wxCURHandler   X  
wxCalculateLayoutEvent X X  
wxCalendarCtrl X X  
wxCalendarDateAttr X X  
wxCalendarEvent X X  
wxCaret X X  
wxCaretSuspend   X  
wxCheckBox X X  
wxCheckListBox X X  
wxChildFocusEvent X X  
wxChoice X X  
wxChoicebook X X  
wxChoicebookEvent   X  
wxClassInfo X X  
wxClient X    
wxClientDC X X  
wxClientData X X  
wxClientDataContainer X X  
wxClipboard X X  
wxClipboardTextEvent X X  
wxCloseEvent X X  
wxCmdLineParser X   Easier to implement in Lua
wxCollapsiblePane X X  
wxCollapsiblePaneEvent X X  
wxColour X X  
wxColourData X X  
wxColourDatabase X X  
wxColourDialog X X  
wxColourPickerCtrl X X  
wxColourPickerEvent X X  
wxComboBox X X  
wxComboCtrl X    
wxComboPopup X    
wxCommand X X  
wxCommandEvent X X  
wxCommandProcessor X X  
wxCondition X   For threading in C
wxConfig   X  
wxConfigBase X X  
wxConfigPathChanger   X  
wxConnection X    
wxContextHelp X X  
wxContextHelpButton X X  
wxContextMenuEvent X X  
wxControl X X  
wxControlWithItems X X  
wxCountingOutputStream X    
wxCriticalSection X X  
wxCriticalSectionLocker X X  
wxCursor X X  
wxCustomDataObject X    
wxDC X X  
wxDCClipper X X  
wxDDEClient X    
wxDDEConnection X    
wxDDEServer X    
wxDataFormat X X  
wxDataInputStream X X  
wxDataObject X X  
wxDataObjectComposite X X  
wxDataObjectSimple X X  
wxDataOutputStream X X  
wxDataViewBitmapRenderer X    
wxDataViewColumn X    
wxDataViewCtrl X    
wxDataViewCustomRenderer X    
wxDataViewDateRenderer X    
wxDataViewEvent X    
wxDataViewListModel X    
wxDataViewListModelNotifier X    
wxDataViewModel X    
wxDataViewProgressRenderer X    
wxDataViewRenderer X    
wxDataViewSortedListModel X    
wxDataViewTextRenderer X    
wxDataViewToggleRenderer X    
wxDatagramSocket X    
wxDateEvent X X  
wxDatePickerCtrl X X  
wxDateSpan X X  
wxDateTime X X  
wxDateTimeArray   X  
wxDateTimeHolidayAuthority X X  
wxDateTimeWorkDays X X  
wxDb X   Deprecated and will not be in wxWidgets 3.0
wxDbColDataPtr X   Deprecated and will not be in wxWidgets 3.0
wxDbColDef X   Deprecated and will not be in wxWidgets 3.0
wxDbColFor X   Deprecated and will not be in wxWidgets 3.0
wxDbColInf X   Deprecated and will not be in wxWidgets 3.0
wxDbConnectInf X   Deprecated and will not be in wxWidgets 3.0
wxDbGridColInfo X   Deprecated and will not be in wxWidgets 3.0
wxDbGridTableBase X   Deprecated and will not be in wxWidgets 3.0
wxDbIdxDef X   Deprecated and will not be in wxWidgets 3.0
wxDbInf X   Deprecated and will not be in wxWidgets 3.0
wxDbTable X   Deprecated and will not be in wxWidgets 3.0
wxDbTableInf X   Deprecated and will not be in wxWidgets 3.0
wxDebugContext X    
wxDebugReport X    
wxDebugReportCompress X    
wxDebugReportPreview X    
wxDebugReportPreviewStd X    
wxDebugReportUpload X    
wxDebugStreamBuf X    
wxDelegateRendererNative X    
wxDialUpEvent X    
wxDialUpManager X    
wxDialog X X  
wxDir X X  
wxDirDialog X X  
wxDirPickerCtrl X X  
wxDirTraverser X   Use wxDir::GetFirst() and GetNext()
wxDisplay X X  
wxDisplayChangedEvent   X  
wxDllLoader X   Deprecated since version 2.4, see wxDynamicLibrary
wxDocChildFrame X X  
wxDocMDIChildFrame X X  
wxDocMDIParentFrame X X  
wxDocManager X X  
wxDocParentFrame X X  
wxDocTemplate X X  
wxDocument X X  
wxDragImage X    
wxDropFilesEvent X X  
wxDropSource X X  
wxDropTarget X X  
wxDynamicLibrary X X  
wxDynamicLibraryDetails X X  
wxDynamicLibraryDetailsArray   X  
wxEffects   X  
wxEncodingConverter X   Lua uses ANSI 8-bit strings
wxEraseEvent X X  
wxEvent X X  
wxEvtHandler X X  
wxExtHelpController   X  
wxFFile X    
wxFFileInputStream X    
wxFFileOutputStream X    
wxFFileStream X    
wxFSFile X X  
wxFTP X X  
wxFile X X  
wxFileConfig X X  
wxFileDataObject X X  
wxFileDialog X X  
wxFileDirPickerCtrlBase   X  
wxFileDirPickerEvent X X  
wxFileDropTarget X    
wxFileHistory X X  
wxFileInputStream X X  
wxFileName X X  
wxFileOutputStream X X  
wxFilePickerCtrl X X  
wxFileStream X    
wxFileSystem X X  
wxFileSystemHandler X X  
wxFileType X X  
wxFileType::MessageParameters   X  
wxFileTypeInfo   X  
wxFilterClassFactory X    
wxFilterFSHandler   X  
wxFilterInputStream X    
wxFilterOutputStream X    
wxFindDialogEvent X X  
wxFindReplaceData X X  
wxFindReplaceDialog X X  
wxFlexGridSizer X X  
wxFocusEvent X X  
wxFont X X  
wxFontData X X  
wxFontDialog X X  
wxFontEnumerator X X  
wxFontList X X  
wxFontMapper X X  
wxFontPickerCtrl X X  
wxFontPickerEvent X X  
wxFrame X X  
wxGBPosition X X  
wxGBSizerItem X X  
wxGBSpan X X  
wxGDIObject X X  
wxGIFHandler   X  
wxGLCanvas X X  
wxGLContext X X  
wxGauge X X  
wxGenericDirCtrl X X  
wxGenericValidator X X  
wxGraphicsBrush X    
wxGraphicsContext X    
wxGraphicsFont X    
wxGraphicsMatrix X    
wxGraphicsObject X    
wxGraphicsPath X    
wxGraphicsPen X    
wxGraphicsRenderer X    
wxGrid X X  
wxGridBagSizer X X  
wxGridCellAttr X X  
wxGridCellAttrProvider   X  
wxGridCellAutoWrapStringEditor   X  
wxGridCellAutoWrapStringRenderer   X  
wxGridCellBoolEditor X X  
wxGridCellBoolRenderer X X  
wxGridCellChoiceEditor X X  
wxGridCellCoords   X  
wxGridCellDateTimeRenderer   X  
wxGridCellEditor X X  
wxGridCellEnumEditor   X  
wxGridCellEnumRenderer   X  
wxGridCellFloatEditor X X  
wxGridCellFloatRenderer X X  
wxGridCellNumberEditor X X  
wxGridCellNumberRenderer X X  
wxGridCellRenderer X X  
wxGridCellStringRenderer X X  
wxGridCellTextEditor X X  
wxGridCellWorker   X  
wxGridEditorCreatedEvent X X  
wxGridEvent X X  
wxGridRangeSelectEvent X X  
wxGridSizeEvent X X  
wxGridSizer X X  
wxGridStringTable   X  
wxGridTableBase X X  
wxGridTableMessage   X  
wxHTTP X X  
wxHashMap X   Lua tables are hash tables
wxHashSet X   Lua tables are hash tables
wxHashTable X   Lua tables are hash tables
wxHeaderButtonParams   X  
wxHelpController X X  
wxHelpControllerBase   X  
wxHelpControllerHelpProvider X X  
wxHelpEvent X X  
wxHelpProvider X X  
wxHtmlCell X X  
wxHtmlCellEvent X X  
wxHtmlColourCell X X  
wxHtmlContainerCell X X  
wxHtmlDCRenderer X X  
wxHtmlEasyPrinting X X  
wxHtmlFilter X    
wxHtmlFontCell   X  
wxHtmlHelpController X X  
wxHtmlHelpData X X  
wxHtmlHelpDialog X    
wxHtmlHelpFrame X    
wxHtmlHelpWindow X    
wxHtmlLinkEvent X    
wxHtmlLinkInfo X X  
wxHtmlListBox X    
wxHtmlModalHelp X    
wxHtmlParser X X  
wxHtmlPrintout X X  
wxHtmlTag X X  
wxHtmlTagHandler X    
wxHtmlTagsModule X    
wxHtmlWidgetCell X X  
wxHtmlWinParser X X  
wxHtmlWinTagHandler X    
wxHtmlWindow X X  
wxHtmlWindowInterface   X  
wxHyperlinkCtrl X X  
wxHyperlinkEvent X X  
wxICOHandler   X  
wxIFFHandler   X  
wxIPV4address X X  
wxIPaddress X X  
wxIcon X X  
wxIconBundle X X  
wxIconLocation X X  
wxIconizeEvent X X  
wxIdleEvent X X  
wxImage X X  
wxImageHandler X X  
wxImageHistogram   X  
wxImageHistogram::iterator   X  
wxImageHistogramEntry   X  
wxImageList X X  
wxIndividualLayoutConstraint X X  
wxInitDialogEvent X X  
wxInputStream X X  
wxInternetFSHandler   X  
wxJPEGHandler   X  
wxJoystick X X  
wxJoystickEvent X X  
wxKeyEvent X X  
wxLanguageInfo   X  
wxLayoutAlgorithm X X  
wxLayoutConstraints X X  
wxList X X  
wxListBox X X  
wxListCtrl X X  
wxListEvent X X  
wxListItem X X  
wxListItemAttr X X  
wxListView X X  
wxListbook X X  
wxListbookEvent   X  
wxLocalFSHandler   X  
wxLocale X X  
wxLog X X  
wxLogBuffer   X  
wxLogChain X X  
wxLogGui X X  
wxLogNull X X  
wxLogPassThrough X X  
wxLogStderr X    
wxLogStream X    
wxLogTextCtrl X X  
wxLogWindow X X  
wxLongLong X X  
wxLuaArtProvider   X  
wxLuaDebuggerEvent   X  
wxLuaDebuggerServer   X  
wxLuaGridTableBase   X  
wxLuaHtmlWinTagEvent   X  
wxLuaHtmlWindow   X  
wxLuaObject   X  
wxLuaPrintout   X  
wxLuaState   X  
wxLuaTreeItemData   X  
wxMBConv X   Lua uses ANSI 8-bit strings
wxMBConvFile X   Lua uses ANSI 8-bit strings
wxMBConvUTF16 X   Lua uses ANSI 8-bit strings
wxMBConvUTF32 X   Lua uses ANSI 8-bit strings
wxMBConvUTF7 X   Lua uses ANSI 8-bit strings
wxMBConvUTF8 X   Lua uses ANSI 8-bit strings
wxMDIChildFrame X X  
wxMDIClientWindow X X  
wxMDIParentFrame X X  
wxMask X X  
wxMaximizeEvent X X  
wxMediaCtrl X X  
wxMediaEvent X X  
wxMemoryBuffer X    
wxMemoryConfig   X  
wxMemoryDC X X  
wxMemoryFSHandler X X  
wxMemoryInputStream X X  
wxMemoryOutputStream X    
wxMenu X X  
wxMenuBar X X  
wxMenuEvent X X  
wxMenuItem X X  
wxMenuItemList   X  
wxMessageDialog X X  
wxMetafile X X  
wxMetafileDC X X  
wxMimeTypesManager X X  
wxMiniFrame X X  
wxMirrorDC X X  
wxModule X   Useable in C++ only
wxMouseCaptureChangedEvent X X  
wxMouseCaptureLostEvent X X  
wxMouseEvent X X  
wxMouseState   X  
wxMoveEvent X X  
wxMultiChoiceDialog X X  
wxMutex X   For threading in C
wxMutexLocker X   For threading in C
wxNativeFontInfo   X  
wxNavigationKeyEvent   X  
wxNode X X  
wxNotebook X X  
wxNotebookEvent X X  
wxNotebookSizer X X  
wxNotifyEvent X X  
wxObject X X  
wxObjectRefData X X  
wxOutputStream X X  
wxOwnerDrawnComboBox X    
wxPCXHandler   X  
wxPNGHandler   X  
wxPNMHandler   X  
wxPageSetupDialog X X  
wxPageSetupDialogData X X  
wxPaintDC X X  
wxPaintEvent X X  
wxPalette X X  
wxPaletteChangedEvent   X  
wxPanel X X  
wxPasswordEntryDialog X X  
wxPathList X X  
wxPen X X  
wxPenList X X  
wxPickerBase X X  
wxPlatformInfo X X  
wxPoint X X  
wxPoint2DDouble   X  
wxPoint2DInt   X  
wxPostScriptDC X X  
wxPowerEvent X X  
wxPreviewCanvas X X  
wxPreviewControlBar X X  
wxPreviewFrame X X  
wxPrintData X X  
wxPrintDialog X X  
wxPrintDialogData X X  
wxPrintPreview X X  
wxPrinter X X  
wxPrinterDC X X  
wxPrintout X X  
wxProcess X X  
wxProcessEvent X X  
wxProgressDialog X X  
wxPropagateOnce   X  
wxPropagationDisabler   X  
wxPropertySheetDialog X    
wxProtocol X X  
wxQuantize X X  
wxQueryLayoutInfoEvent X X  
wxQueryNewPaletteEvent   X  
wxRadioBox X X  
wxRadioButton X X  
wxRealPoint X   Not used anywhere in wxWidgets
wxRect X X  
wxRect2DDouble   X  
wxRect2DInt   X  
wxRecursionGuard X   Easier to implement in Lua
wxRecursionGuardFlag X   Easier to implement in Lua
wxRegEx X X  
wxRegKey X    
wxRegion X X  
wxRegionIterator X X  
wxRendererNative X X  
wxRendererVersion X X  
wxRichTextAttr X    
wxRichTextBuffer X    
wxRichTextCharacterStyleDefinition X    
wxRichTextCtrl X    
wxRichTextEvent X    
wxRichTextFileHandler X    
wxRichTextFormattingDialog X    
wxRichTextFormattingDialogFactory X    
wxRichTextHTMLHandler X    
wxRichTextHeaderFooterData X    
wxRichTextListStyleDefinition X    
wxRichTextParagraphStyleDefinition X    
wxRichTextPrinting X    
wxRichTextPrintout X    
wxRichTextRange X    
wxRichTextStyleComboCtrl X    
wxRichTextStyleDefinition X    
wxRichTextStyleListBox X    
wxRichTextStyleListCtrl X    
wxRichTextStyleOrganiserDialog X    
wxRichTextStyleSheet X    
wxRichTextXMLHandler X    
wxSashEvent X X  
wxSashLayoutWindow X X  
wxSashWindow X X  
wxScopedArray X   Useable in C++ only (unnecessary in Lua)
wxScopedPtr X   Useable in C++ only (unnecessary in Lua)
wxScopedTiedPtr X   Useable in C++ only (unnecessary in Lua)
wxScreenDC X X  
wxScrollBar X X  
wxScrollEvent X X  
wxScrollWinEvent X X  
wxScrolledWindow X X  
wxSearchCtrl X    
wxSemaphore X   For threading in C
wxServer X    
wxSetCursorEvent X X  
wxShowEvent   X  
wxSimpleHelpProvider X X  
wxSimpleHtmlListBox X X  
wxSingleChoiceDialog X X  
wxSingleInstanceChecker X X  
wxSize X X  
wxSizeEvent X X  
wxSizer X X  
wxSizerFlags X X  
wxSizerItem X X  
wxSlider X X  
wxSockAddress X X  
wxSocketBase X X  
wxSocketClient X X  
wxSocketEvent X X  
wxSocketInputStream X    
wxSocketOutputStream X    
wxSocketServer X X  
wxSortedArrayString   X Interchangeable with a numeric indexed Lua table
wxSound X X  
wxSpinButton X X  
wxSpinCtrl X X  
wxSpinEvent X X  
wxSplashScreen X X  
wxSplashScreenWindow   X  
wxSplitterEvent X X  
wxSplitterRenderParams X X  
wxSplitterWindow X X  
wxStackFrame X    
wxStackWalker X    
wxStandardPaths X X  
wxStaticBitmap X X  
wxStaticBox X X  
wxStaticBoxSizer X X  
wxStaticLine X X  
wxStaticText X X  
wxStatusBar X X  
wxStdDialogButtonSizer X X  
wxStockGDI   X  
wxStopWatch X X  
wxStreamBase X X  
wxStreamBuffer X    
wxStreamToTextRedirector X    
wxString X X Interchangeable with a Lua string
wxStringBuffer X   Useable in C++ only (unnecessary in Lua)
wxStringBufferLength X   Useable in C++ only (unnecessary in Lua)
wxStringClientData X X  
wxStringInputStream X    
wxStringOutputStream X    
wxStringTokenizer X X  
wxStyledTextCtrl   X  
wxStyledTextEvent   X  
wxSymbolPickerDialog X    
wxSysColourChangedEvent X X  
wxSystemOptions X X  
wxSystemSettings X X  
wxTCPClient X    
wxTCPConnection X    
wxTCPServer X    
wxTGAHandler   X  
wxTIFFHandler   X  
wxTabCtrl   X  
wxTabEvent   X  
wxTarClassFactory X    
wxTarEntry X    
wxTarInputStream X    
wxTarOutputStream X    
wxTaskBarIcon X X  
wxTaskBarIconEvent   X  
wxTempFile X X  
wxTempFileOutputStream X    
wxTextAttr X X  
wxTextAttrEx X    
wxTextCtrl X X  
wxTextDataObject X X  
wxTextDropTarget X    
wxTextEntryDialog X X  
wxTextFile X    
wxTextInputStream X    
wxTextOutputStream X    
wxTextValidator X X  
wxThread X    
wxThreadHelper X    
wxTimeSpan X X  
wxTimer X X  
wxTimerEvent X X  
wxTipProvider X    
wxTipWindow X    
wxToggleButton X X  
wxToolBar X X  
wxToolBarBase   X  
wxToolBarSimple   X  
wxToolBarTool   X  
wxToolBarToolBase   X  
wxToolTip X X  
wxToolbook X X  
wxToolbookEvent   X  
wxTopLevelWindow X X  
wxTreeCtrl X X  
wxTreeEvent X X  
wxTreeItemData X X  
wxTreeItemId X X  
wxTreebook X X  
wxTreebookEvent X X  
wxULongLong   X  
wxURI X X  
wxURL X X  
wxURLDataObject X X  
wxUpdateUIEvent X X  
wxVListBox X    
wxVScrolledWindow X    
wxValidator X X  
wxVariant X   Unnecessary in Lua
wxVariantData X   Unnecessary in Lua
wxVideoMode   X  
wxView X X  
wxVisualAttributes   X  
wxWave   X  
wxWinHelpController   X  
wxWindow X X  
wxWindowCreateEvent X X  
wxWindowDC X X  
wxWindowDestroyEvent X X  
wxWindowDisabler X X  
wxWindowList   X  
wxWindowUpdateLocker X X  
wxWizard X X  
wxWizardEvent X X  
wxWizardPage X X  
wxWizardPageSimple X X  
wxXPMHandler   X  
wxXmlDocument X X  
wxXmlNode X X  
wxXmlProperty X X  
wxXmlResource X X  
wxXmlResourceHandler X    
wxZipClassFactory X    
wxZipEntry X    
wxZipInputStream X    
wxZipNotifier X    
wxZipOutputStream X    
wxZlibInputStream X    
wxZlibOutputStream X    



Enums

Propagation_state
wxAlignment
wxAnimationType
wxArchitecture
wxAuiButtonId
wxAuiDockUIPart::dummy
wxAuiManagerDock
wxAuiManagerOption
wxAuiNotebookOption
wxAuiPaneButtonState
wxAuiPaneDockArtGradients
wxAuiPaneDockArtSetting
wxAuiPaneInfo::wxAuiPaneState
wxAuiPaneInsertLevel
wxBackgroundStyle
wxBatteryState
wxBitmapType
wxBorder
wxCalendarDateBorder
wxCalendarHitTestResult
wxCheckBoxState
wxConfigBase::EntryType
wxDLFlags
wxDataFormatId
wxDataObject::Direction
wxDateTime::Calendar
wxDateTime::Country
wxDateTime::Month
wxDateTime::TZ
wxDateTime::WeekDay
wxDirection
wxDragResult
wxDuplexMode
wxDynamicLibraryCategory
wxEOL
wxEdge
wxEndianness
wxFTP::TransferMode
wxFile::OpenMode
wxFile::dummy
wxFileKind
wxFindReplaceDialogStyles
wxFindReplaceFlags
wxFlexSizerGrowMode
wxFontEncoding
wxFontFamily
wxFontStyle
wxFontWeight
wxGrid::wxGridSelectionModes
wxGridCellAttr::wxAttrKind
wxGridTableRequest
wxHeaderSortIconType
wxHelpEvent::Origin
wxHelpSearchMode
wxHotkeyModifier
wxHtmlWindowInterface::HTMLCursor
wxIdleMode
wxItemKind
wxKeyCode
wxKeyType
wxKillError
wxKillFlags
wxLanguage
wxLayoutAlignment
wxLayoutDirection
wxLayoutOrientation
wxListColumnFormat
wxLocaleCategory
wxLocaleInfo
wxLocaleInitFlags
wxLuaMethod_Type
wxLuaObject_Type
wxMediaCtrlPlayerControls
wxMediaState
wxNavigationKeyEvent::dummy
wxOperatingSystemId
wxOrientation
wxOutCode
wxPaperSize
wxPathFormat
wxPathNormalize
wxPluginCategory
wxPortId
wxPowerType
wxPrintBin
wxPrintMode
wxPrintQuality
wxPrinterError
wxProtocolError
wxRegionContain
wxRegionOp
wxRelationship
wxRendererVersion::dummy
wxSashDragStatus
wxSashEdgePosition
wxSeekMode
wxShutdownFlags
wxSignal
wxSocketError
wxSocketEventFlags
wxSocketFlags
wxSocketNotify
wxSocketType
wxStandardPaths::ResourceCat
wxStockCursor
wxStockGDI::Item
wxStreamError
wxStretch
wxStringTokenizerMode
wxSystemColour
wxSystemFeature
wxSystemFont
wxSystemMetric
wxSystemScreenType
wxTextAttrAlignment
wxTextCtrlHitTestResult
wxToolBarToolStyle
wxTreeItemIcon
wxTreeItemIdValue
wxURIFieldType
wxURIFlags
wxURIHostType
wxURLError
wxUpdateUI
wxUpdateUIMode
wxWindowVariant
wxXmlNodeType
wxXmlResourceFlags


Colours used to denote types

Comments - //
Block Comments - /* ... */
Enums - %enum
Defines - %define [_string] [_object] [_pointer]
Events - %define_event
Functions - %function
Classes - %class
Class Members - %member
Renamed Functions - %rename
Overridden Functions - %override
Operator Functions - %operator


Interface files

wxwidgets/wxbase_base.i
wxwidgets/wxbase_config.i
wxwidgets/wxbase_data.i
wxwidgets/wxbase_datetime.i
wxwidgets/wxbase_file.i
wxwidgets/wxcore_appframe.i
wxwidgets/wxcore_clipdrag.i
wxwidgets/wxcore_controls.i
wxwidgets/wxcore_core.i
wxwidgets/wxcore_defsutils.i
wxwidgets/wxcore_dialogs.i
wxwidgets/wxcore_event.i
wxwidgets/wxcore_gdi.i
wxwidgets/wxcore_geometry.i
wxwidgets/wxcore_help.i
wxwidgets/wxcore_image.i
wxwidgets/wxcore_mdi.i
wxwidgets/wxcore_menutool.i
wxwidgets/wxcore_picker.i
wxwidgets/wxcore_print.i
wxwidgets/wxcore_sizer.i
wxwidgets/wxcore_windows.i
wxwidgets/wxadv_adv.i
wxwidgets/wxadv_grid.i
wxwidgets/wxnet_net.i
wxwidgets/wxmedia_media.i
wxwidgets/wxgl_gl.i
wxwidgets/wxxml_xml.i
wxwidgets/wxxrc_xrc.i
wxwidgets/wxaui_aui.i
wxwidgets/wxhtml_html.i
wxwidgets/wxstc_stc.i
wxlua/wxlua.i
wxluasocket/wxluasocket.i


wxwidgets/wxbase_base.i - Lua table = 'wx'


// ===========================================================================
// Purpose: Various wxBase classes
// Author: Ray Gilbert, John Labenski
// Created: July 2004
// Copyright: (c) Ray Gilbert
// Licence: wxWidgets licence
// wxWidgets: Updated to 2.8.4
// ===========================================================================

// ---------------------------------------------------------------------------
// wxWidgets version defines

%define wxMAJOR_VERSION
%define wxMINOR_VERSION
%define wxRELEASE_NUMBER
%define wxSUBRELEASE_NUMBER
%define_string wxVERSION_STRING

%function bool wxCHECK_VERSION(int major, int minor, int release) // actually a define
%function bool wxCHECK_VERSION_FULL(int major, int minor, int release, int subrel) // actually a define

%define wxABI_VERSION

// ---------------------------------------------------------------------------
// wxWidgets platform defines

%__WINDOWS__ %define __WINDOWS__ 1
%__WIN16__ %define __WIN16__ 1
%__WIN32__ %define __WIN32__ 1
%__WIN95__ %define __WIN95__ 1
%__WXBASE__ %define __WXBASE__ 1
%__WXCOCOA__ %define __WXCOCOA__ 1
%__WXWINCE__ %define __WXWINCE__ 1
%__WXGTK__ %define __WXGTK__ 1
%__WXGTK12__ %define __WXGTK12__ 1
%__WXGTK20__ %define __WXGTK20__ 1
%__WXMOTIF__ %define __WXMOTIF__ 1
%__WXMOTIF20__ %define __WXMOTIF20__ 1
%__WXMAC__ %define __WXMAC__ 1
%__WXMAC_CLASSIC__ %define __WXMAC_CLASSIC__ 1
%__WXMAC_CARBON__ %define __WXMAC_CARBON__ 1
%__WXMAC_OSX__ %define __WXMAC_OSX__ 1
%__WXMGL__ %define __WXMGL__ 1
%__WXMSW__ %define __WXMSW__ 1
%__WXOS2__ %define __WXOS2__ 1
%__WXOSX__ %define __WXOSX__ 1
%__WXPALMOS__ %define __WXPALMOS__ 1
%__WXPM__ %define __WXPM__ 1
%__WXSTUBS__ %define __WXSTUBS__ 1
%__WXXT__ %define __WXXT__ 1
%__WXX11__ %define __WXX11__ 1
%__WXWINE__ %define __WXWINE__ 1
%__WXUNIVERSAL__ %define __WXUNIVERSAL__ 1
%__X__ %define __X__ 1

// ---------------------------------------------------------------------------

%if wxUSE_ON_FATAL_EXCEPTION
%function bool wxHandleFatalExceptions(bool doIt = true)
%endif // wxUSE_ON_FATAL_EXCEPTION

// ---------------------------------------------------------------------------
// Network, user, and OS functions

%if !%wxchkver_2_8
%enum
wxUNKNOWN_PLATFORM
wxCURSES
wxXVIEW_X
wxMOTIF_X
wxCOSE_X
wxNEXTSTEP
wxMAC
wxMAC_DARWIN
wxBEOS
wxGTK
wxGTK_WIN32
wxGTK_OS2
wxGTK_BEOS
wxGEOS
wxOS2_PM
wxWINDOWS
wxMICROWINDOWS
wxPENWINDOWS
wxWINDOWS_NT
wxWIN32S
wxWIN95
wxWIN386
wxWINDOWS_CE
wxWINDOWS_POCKETPC
wxWINDOWS_SMARTPHONE
wxMGL_UNIX
wxMGL_X
wxMGL_WIN32
wxMGL_OS2
wxMGL_DOS
wxWINDOWS_OS2
wxUNIX
wxX11
wxPALMOS
wxDOS
%endenum
%endif // !%wxchkver_2_8

%function wxString wxGetEmailAddress()
%function wxLongLong wxGetFreeMemory()
%function wxString wxGetFullHostName()
%function wxString wxGetHomeDir()
%function wxString wxGetHostName()
%function wxString wxGetOsDescription()
// %override [int version, int major, int minor] wxGetOsVersion()
// int wxGetOsVersion(int *major = NULL, int *minor = NULL)
%function int wxGetOsVersion()

%function wxString wxGetUserHome(const wxString& user = "")
%function wxString wxGetUserId()
%function wxString wxGetUserName()

// ---------------------------------------------------------------------------
// Environmental access functions

%function bool wxGetEnv(const wxString& var, wxString *value)
%function bool wxSetEnv(const wxString& var, const wxString& value)
%function bool wxUnsetEnv(const wxString& var)


// ---------------------------------------------------------------------------
// wxSystemOptions

%if wxLUA_USE_wxSystemOptions

%include "wx/sysopt.h"

%class %noclassinfo wxSystemOptions, wxObject
//wxSystemOptions() // No constructor, all member functions static

static wxString GetOption(const wxString& name) const
static int GetOptionInt(const wxString& name) const
static bool HasOption(const wxString& name) const
static bool IsFalse(const wxString& name) const

%if wxUSE_SYSTEM_OPTIONS
static void SetOption(const wxString& name, const wxString& value)
static void SetOption(const wxString& name, int value)
%endif //wxUSE_SYSTEM_OPTIONS
%endclass

%endif //wxLUA_USE_wxSystemOptions


// ---------------------------------------------------------------------------
// wxPlatformInfo

%enum wxOperatingSystemId
wxOS_UNKNOWN // returned on error

wxOS_MAC_OS // Apple Mac OS 8/9/X with Mac paths
wxOS_MAC_OSX_DARWIN // Apple Mac OS X with Unix paths
wxOS_MAC // wxOS_MAC_OS|wxOS_MAC_OSX_DARWIN,

wxOS_WINDOWS_9X // Windows 9x family (95/98/ME)
wxOS_WINDOWS_NT // Windows NT family (NT/2000/XP)
wxOS_WINDOWS_MICRO // MicroWindows
wxOS_WINDOWS_CE // Windows CE (Window Mobile)
wxOS_WINDOWS // wxOS_WINDOWS_9X|wxOS_WINDOWS_NT|wxOS_WINDOWS_MICRO|wxOS_WINDOWS_CE,

wxOS_UNIX_LINUX // Linux
wxOS_UNIX_FREEBSD // FreeBSD
wxOS_UNIX_OPENBSD // OpenBSD
wxOS_UNIX_NETBSD // NetBSD
wxOS_UNIX_SOLARIS // SunOS
wxOS_UNIX_AIX // AIX
wxOS_UNIX_HPUX // HP/UX
wxOS_UNIX // wxOS_UNIX_LINUX|wxOS_UNIX_FREEBSD|wxOS_UNIX_OPENBSD|wxOS_UNIX_NETBSD|wxOS_UNIX_SOLARIS|wxOS_UNIX_AIX|wxOS_UNIX_HPUX,

wxOS_DOS // Microsoft DOS
wxOS_OS2 // OS/2
%endenum

%enum wxPortId
wxPORT_UNKNOWN // returned on error

wxPORT_BASE // wxBase, no native toolkit used

wxPORT_MSW // wxMSW, native toolkit is Windows API
wxPORT_MOTIF // wxMotif, using [Open]Motif or Lesstif
wxPORT_GTK // wxGTK, using GTK+ 1.x, 2.x, GPE or Maemo
wxPORT_MGL // wxMGL, using wxUniversal
wxPORT_X11 // wxX11, using wxUniversal
wxPORT_PM // wxOS2, using OS/2 Presentation Manager
wxPORT_OS2 // wxOS2, using OS/2 Presentation Manager
wxPORT_MAC // wxMac, using Carbon or Classic Mac API
wxPORT_COCOA // wxCocoa, using Cocoa NextStep/Mac API
wxPORT_WINCE // wxWinCE, toolkit is WinCE SDK API
wxPORT_PALMOS // wxPalmOS, toolkit is PalmOS API
wxPORT_DFB // wxDFB, using wxUniversal
%endenum

%enum wxArchitecture
wxARCH_INVALID // returned on error

wxARCH_32 // 32 bit
wxARCH_64

wxARCH_MAX
%endenum

%enum wxEndianness
wxENDIAN_INVALID // returned on error

wxENDIAN_BIG // 4321
wxENDIAN_LITTLE // 1234
wxENDIAN_PDP // 3412

wxENDIAN_MAX
%endenum

%class %noclassinfo wxPlatformInfo
// No constructor, use static Get() function
//wxPlatformInfo();
//wxPlatformInfo(wxPortId pid, int tkMajor = -1, int tkMinor = -1, wxOperatingSystemId id = wxOS_UNKNOWN, int osMajor = -1, int osMinor = -1, wxArchitecture arch = wxARCH_INVALID, wxEndianness endian = wxENDIAN_INVALID, bool usingUniversal = false)

// Gets a wxPlatformInfo already initialized with the values for
// the currently running platform.
//static const wxPlatformInfo& Get();
static const wxPlatformInfo& Get()

static wxOperatingSystemId GetOperatingSystemId(const wxString &name);
static wxPortId GetPortId(const wxString &portname);

static wxArchitecture GetArch(const wxString &arch);
static wxEndianness GetEndianness(const wxString &end);

static wxString GetOperatingSystemFamilyName(wxOperatingSystemId os);
static wxString GetOperatingSystemIdName(wxOperatingSystemId os);
static wxString GetPortIdName(wxPortId port, bool usingUniversal);
static wxString GetPortIdShortName(wxPortId port, bool usingUniversal);

static wxString GetArchName(wxArchitecture arch);
static wxString GetEndiannessName(wxEndianness end);

int GetOSMajorVersion() const
int GetOSMinorVersion() const

bool CheckOSVersion(int major, int minor) const

int GetToolkitMajorVersion() const
int GetToolkitMinorVersion() const

bool CheckToolkitVersion(int major, int minor) const
bool IsUsingUniversalWidgets() const

wxOperatingSystemId GetOperatingSystemId() const
wxPortId GetPortId() const
wxArchitecture GetArchitecture() const
wxEndianness GetEndianness() const

wxString GetOperatingSystemFamilyName() const
wxString GetOperatingSystemIdName() const
wxString GetPortIdName() const
wxString GetPortIdShortName() const
wxString GetArchName() const
wxString GetEndiannessName() const

void SetOSVersion(int major, int minor)
void SetToolkitVersion(int major, int minor)
void SetOperatingSystemId(wxOperatingSystemId n)
void SetPortId(wxPortId n)
void SetArchitecture(wxArchitecture n)
void SetEndianness(wxEndianness n)

bool IsOk() const

//bool operator==(const wxPlatformInfo &t) const; // we only use the wxWidget's wxPlatformInfo
//bool operator!=(const wxPlatformInfo &t) const
%endclass


// ---------------------------------------------------------------------------
// wxSingleInstanceChecker

%if wxUSE_SNGLINST_CHECKER

%include "wx/snglinst.h"

%class %delete %noclassinfo %encapsulate wxSingleInstanceChecker
wxSingleInstanceChecker() // default ctor, use Create() after it
// like Create() but no error checking (dangerous!)
//wxSingleInstanceChecker(const wxString& name, const wxString& path = "")

// name must be given and be as unique as possible, it is used as the mutex
// name under Win32 and the lock file name under Unix -
// wxTheApp->GetAppName() may be a good value for this parameter
//
// path is optional and is ignored under Win32 and used as the directory to
// create the lock file in under Unix (default is wxGetHomeDir())
//
// returns false if initialization failed, it doesn't mean that another
// instance is running - use IsAnotherRunning() to check it
bool Create(const wxString& name, const wxString& path = "")

bool IsAnotherRunning() const // is another copy of this program already running?

%endclass

%endif // wxUSE_SNGLINST_CHECKER


// ---------------------------------------------------------------------------
// wxLog - See GUI log bindings in wxcore_core.i

%if wxLUA_USE_wxLog && wxUSE_LOG

%include "wx/log.h"

// These functions are in log.h
%function unsigned long wxSysErrorCode()
%function wxString wxSysErrorMsg(unsigned long nErrCode = 0)

%function void wxSafeShowMessage(const wxString& title, const wxString& text)

// All of the wxLogXXX functions take only a single string,
// use string.format(...) to format the string in Lua.

// C++ Func: void wxLogError(const char *formatString, ...)
%function void wxLogError(const wxString& message)
// C++ Func: void wxLogFatalError(const char *formatString, ...)
%function void wxLogFatalError(const wxString& message)
// C++ Func: void wxLogWarning(const char *formatString, ...)
%function void wxLogWarning(const wxString& message)
// C++ Func: void wxLogMessage(const char *formatString, ...)
%function void wxLogMessage(const wxString& message)
// C++ Func: void wxLogVerbose(const char *formatString, ...)
%function void wxLogVerbose(const wxString& message)
// C++ Func: void wxLogStatus(wxFrame *frame, const char *formatString, ...)
// void wxLogStatus(const char *formatString, ...) // this just uses the toplevel frame, use wx.NULL for the frame
// IN wxCore %function void wxLogStatus(wxFrame *frame, const wxString& message)

// C++ Func: void wxLogSysError(const char *formatString, ...)
%function void wxLogSysError(const wxString& message)
// C++ Func: void wxLogDebug(const char *formatString, ...)
%function void wxLogDebug(const wxString& message)
// C++ Func: void wxLogTrace(const char *mask, const char *formatString, ...)
%function void wxLogTrace(const wxString& mask, const wxString& message)
// void wxLogTrace(const char *formatString, ...)
// void wxLogTrace(wxTraceMask mask, const char *formatString, ...) - deprecated

%typedef wxTraceMask unsigned long
%typedef wxLogLevel unsigned long

%enum // wxLogLevel - uses these enums
wxLOG_FatalError, // program can't continue, abort immediately
wxLOG_Error, // a serious error, user must be informed about it
wxLOG_Warning, // user is normally informed about it but may be ignored
wxLOG_Message, // normal message (i.e. normal output of a non GUI app)
wxLOG_Status, // informational: might go to the status line of GUI app
wxLOG_Info, // informational message (a.k.a. 'Verbose')
wxLOG_Debug, // never shown to the user, disabled in release mode
wxLOG_Trace, // trace messages are also only enabled in debug mode
wxLOG_Progress, // used for progress indicator (not yet)

wxLOG_User, // user defined levels start here
wxLOG_Max
%endenum

// symbolic trace masks - wxLogTrace("foo", "some trace message...") will be
// discarded unless the string "foo" has been added to the list of allowed
// ones with AddTraceMask()
%define_string wxTRACE_MemAlloc //wxT("memalloc") // trace memory allocation (new/delete)
%define_string wxTRACE_Messages //wxT("messages") // trace window messages/X callbacks
%define_string wxTRACE_ResAlloc //wxT("resalloc") // trace GDI resource allocation
%define_string wxTRACE_RefCount //wxT("refcount") // trace various ref counting operations
%msw %define_string wxTRACE_OleCalls //wxT("ole") // OLE interface calls

%class %delete %noclassinfo %encapsulate wxLog
//wxLog() - No constructor, a base class, use one of the derived classes.

static bool IsEnabled()
static bool EnableLogging(bool doIt = true)
virtual void Flush()
static void FlushActive()
// Don't delete the active target until you set a new one or set it to wx.NULL
// Note, a new wxLog is created unless DontCreateOnDemand() is called.
static wxLog *GetActiveTarget()
// When you create a new wxLog and call "oldLog = SetActiveTarget(MyLog)"
// the returned oldLog will be garbage collected or you can delete() the
// oldLog unless you want to reuse it by calling "myLog = SetActiveTarget(oldLog)"
// which releases myLog to be garbage collected or delete()ed by you.
// Basicly, wxWidgets 'owns' the log you pass to SetActiveTarget() and
// wxLua 'owns' the returned log.
static %gc wxLog *SetActiveTarget(%ungc wxLog *pLogger)
static void Suspend()
static void Resume()
static void SetVerbose(bool bVerbose = true)
static void SetLogLevel(wxLogLevel logLevel)
static void DontCreateOnDemand()
%wxchkver_2_8 static void SetRepetitionCounting(bool bRepetCounting = true)
%wxchkver_2_8 static bool GetRepetitionCounting()
static void SetTraceMask(wxTraceMask ulMask)
static void AddTraceMask(const wxString& str)
static void RemoveTraceMask(const wxString& str)
static void ClearTraceMasks()
static const wxArrayString GetTraceMasks()

// %override static void wxLog::SetTimestamp(const wxString& ts)
// Allows an input of "nil" or no value to disable time stamping.
// C++ Func: static void wxLog::SetTimestamp(const wxChar* ts)
static void SetTimestamp(const wxString& ts)

static bool GetVerbose()
static wxTraceMask GetTraceMask()
static bool IsAllowedTraceMask(const wxString& mask)
static wxLogLevel GetLogLevel()
static wxString GetTimestamp()
%endclass

// ---------------------------------------------------------------------------
// wxLogBuffer

%class %delete %noclassinfo %encapsulate wxLogBuffer, wxLog
wxLogBuffer()

const wxString& GetBuffer() const // get the string contents with all messages logged
%endclass

// ---------------------------------------------------------------------------
// wxLogChain

%class %delete %noclassinfo %encapsulate wxLogChain, wxLog
wxLogChain(wxLog *logger)

void SetLog(wxLog *logger) // change the new log target
// this can be used to temporarily disable (and then reenable) passing
// messages to the old logger (by default we do pass them)
void PassMessages(bool bDoPass)
// are we passing the messages to the previous log target?
bool IsPassingMessages() const
// return the previous log target (may be NULL)
wxLog *GetOldLog() const
%endclass

// ---------------------------------------------------------------------------
// wxLogNull

%class %delete %noclassinfo %encapsulate wxLogNull, wxLog
// NOTE: ALWAYS delete() this when done since Lua's gc may not delete it soon enough
wxLogNull()

%endclass

// ---------------------------------------------------------------------------
// wxLogPassThrough - a chain log target which uses itself as the new logger

%class %delete %noclassinfo %encapsulate wxLogPassThrough, wxLogChain
wxLogPassThrough()

%endclass

// ---------------------------------------------------------------------------
// wxLogStderr - FIXME need to implement FILE*

/*
%class %delete %noclassinfo %encapsulate wxLogStderr, wxLog
wxLogStderr(FILE *fp = (FILE *) NULL) // redirect log output to a FILE

%endclass
*/


// ---------------------------------------------------------------------------
// wxLogStream - FIXME need to implement wxSTD ostream* (just use wxLogBuffer)

/*
%if wxUSE_STD_IOSTREAM

%class %delete %noclassinfo %encapsulate wxLogStream, wxLog
wxLogStream(wxSTD ostream *ostr = NULL); // redirect log output to an ostream

%endclass

%endif // wxUSE_STD_IOSTREAM
*/


%endif // wxLUA_USE_wxLog && wxUSE_LOG

// ---------------------------------------------------------------------------
// wxDynamicLibrary - No a lot you can do with this, but it might make
// testing or debugging a C++ program easier to test thing
// out in wxLua first.

%if // wxLUA_USE_wxDynamicLibrary && wxUSE_DYNLIB_CLASS

%include "wx/dynlib.h"

%enum wxDLFlags
wxDL_LAZY // resolve undefined symbols at first use
// (only works on some Unix versions)
wxDL_NOW // resolve undefined symbols on load
// (default, always the case under Win32)
wxDL_GLOBAL // export extern symbols to subsequently
// loaded li